Skip to content

Add tokenizer to language modelling Trainer examples#293

Open
lewtun wants to merge 1 commit intomainfrom
fix-mlm-transformers
Open

Add tokenizer to language modelling Trainer examples#293
lewtun wants to merge 1 commit intomainfrom
fix-mlm-transformers

Conversation

@lewtun
Copy link
Copy Markdown
Member

@lewtun lewtun commented Dec 28, 2022

What does this PR do?

Propagates a fix for the MLM and CLM examples first reported in the course in huggingface/course#432

tl;dr we were missing the tokenizer in the Trainer, so the resulting models on the Hub couldn't be loaded.

Who can review?

Feel free to tag members/contributors who may be interested in your PR.

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Copy Markdown
Contributor

@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.

Thnaks for fixing!

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.

3 participants