notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

Add tokenizer to language modelling Trainer examples

Open lewtun opened this issue 2 years ago • 1 comments
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.

lewtun avatar Dec 28 '22 06:12 lewtun

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB