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

Fix TF Flaubert and XLM #9661

Merged
merged 3 commits into from
Jan 19, 2021
Merged

Fix TF Flaubert and XLM #9661

merged 3 commits into from
Jan 19, 2021

Conversation

jplu
Copy link
Contributor

@jplu jplu commented Jan 18, 2021

What does this PR do?

By doing some experiments on Flaubert and XLM I realized that building a model with a None argument forces this value to be None when served. Then to fix this issue, the build takes a proper input without a None value.

@jplu
Copy link
Contributor Author

jplu commented Jan 18, 2021

I'm checking what is going wrong as the tests of equivalence should not fail.

@jplu
Copy link
Contributor Author

jplu commented Jan 18, 2021

Ok, now it works 👍

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.

LGTM, thanks for fixing @jplu!

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

@jplu jplu merged commit fa876ae into huggingface:master Jan 19, 2021
@jplu jplu deleted the fix-flaubert-xlm branch January 19, 2021 17:03
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.

4 participants