notebooks
notebooks copied to clipboard
Add tokenizer to language modelling Trainer examples
trafficstars
What does this PR do?
Propagates a fix for the MLM and CLM examples first reported in the course in https://github.com/huggingface/course/pull/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.
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB