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

Add TAPAS MLM-only models #13408

Merged

Conversation

NielsRogge
Copy link
Contributor

@NielsRogge NielsRogge commented Sep 3, 2021

What does this PR do?

As requested by #12916, I've converted the TAPAS checkpoints which were pre-trained on masked language modeling (MLM) only. TapasForMaskedLM was previously defined, but there were no actual checkpoints available with the language modeling head. They're available now on the hub:

It also cleans up the conversion script of TAPAS a bit.

Fixes #12916

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super cool, thanks for adding @NielsRogge!

@pafitis
Copy link

pafitis commented Sep 3, 2021

Thanks for this @NielsRogge !

@kamalkraj kamalkraj mentioned this pull request Sep 6, 2021
5 tasks
@NielsRogge NielsRogge merged commit 5642a55 into huggingface:master Sep 6, 2021
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

Successfully merging this pull request may close these issues.

fill-mask pipeline with tables (TapasForMaskedLM) fails DataFrame type assertion
3 participants