Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HuggingFace version #2

Closed
ManuelFay opened this issue Mar 29, 2022 · 14 comments
Closed

HuggingFace version #2

ManuelFay opened this issue Mar 29, 2022 · 14 comments

Comments

@ManuelFay
Copy link

Hello, amazing job !

I love the paradigm of decoupling the LM and the Layout model at first, before fine-tuning with joint training ! I've managed to port my LayoutXLM code to your framework almost plug and play, and was wondering if you were planning to open an official model implementation on the HuggingFace transformers library ?
As is, except for a few tweaks due to version changes, and perhaps a processor object wrapping the tokenizer not much is required, so I was wondering if you had plans to do so ?
Cheers and again, great work !
Best,
Manuel

@jpWang
Copy link
Owner

jpWang commented Mar 30, 2022

Hi Manuel,
thanks for your attention and recognition of our work.
So far, we don't have an urgent plan to do it. However, if this work gets more attention, or after we further improve this research, we will put it on the agenda.

@bilelomrani1
Copy link

That would be awesome! Looking forward to hearing more about your research.

@jpWang
Copy link
Owner

jpWang commented Jun 10, 2022

@ManuelFay Hi Manuel,
Recently I noticed that you have successfully made our LiLT models available on HuggingFace (For example, https://huggingface.co/manu/lilt-infoxlm-base). Thanks for your kind help and efforts ! 😃

@jpWang jpWang pinned this issue Jun 10, 2022
@vibeeshan025
Copy link

Any Idea of simple inference code for using the fine-tuned model.

@NielsRogge
Copy link

Hi folks (cc @jpWang),

Happy to share that I've got a working HuggingFace implementation. I'm able to reproduce the results (F1 of 88% on FUNSD). The model is here: https://huggingface.co/nielsr/lilt-roberta-en-base-finetuned-funsd

I'll open a PR soon :)

@vishal-nayak1
Copy link

@NielsRogge (cc @jpWang) Hi, Are you planning to add this model to transformer library?It would be really great full.

@jpWang
Copy link
Owner

jpWang commented Oct 3, 2022

Hi folks (cc @jpWang),

Happy to share that I've got a working HuggingFace implementation. I'm able to reproduce the results (F1 of 88% on FUNSD). The model is here: https://huggingface.co/nielsr/lilt-roberta-en-base-finetuned-funsd

I'll open a PR soon :)

Hi,
thanks for your great effort. Contact me if any problem encountered :)

@NielsRogge
Copy link

Hi @jpWang,

I've opened a PR here to add LiLT to 🤗 Transformers: huggingface/transformers#19450.

Would you like to create an organization for the company/research institute you're part of, such that we transfer the weigths there?

@jpWang
Copy link
Owner

jpWang commented Oct 10, 2022

Hi @jpWang,

I've opened a PR here to add LiLT to 🤗 Transformers: huggingface/transformers#19450.

Would you like to create an organization for the company/research institute you're part of, such that we transfer the weigths there?

Hi @NielsRogge ,
I have joined the organization of our Lab: https://github.com/SCUT-DLVCLab. Is this ok? :)

@NielsRogge
Copy link

Hi,

What's the URL of the HuggingFace organization? I can't seem to find SCUT-DLVCLab on hf.co.

@jpWang
Copy link
Owner

jpWang commented Oct 10, 2022

Hi, I just created our organization: https://huggingface.co/SCUT-DLVCLab.

@NielsRogge
Copy link

Thanks a lot! Now 2 checkpoints are transferred there.

Could you give me your email address, such that I can set up a Slack channel? I'd like to discuss some things related to LiLT.

@jpWang
Copy link
Owner

jpWang commented Oct 10, 2022

My email is scutjpwang@foxmail.com. Thanks for your effort :)

@jpWang
Copy link
Owner

jpWang commented Oct 13, 2022

Hi folks,
Happy to share that LiLT has been added to HuggingFace/transformers library:https://huggingface.co/docs/transformers/main/en/model_doc/lilt !
Thank @NielsRogge for his great efforts!

@jpWang jpWang unpinned this issue Oct 13, 2022
@jpWang jpWang closed this as completed Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants