huggingface / notebooks

Notebooks using the Hugging Face libraries 🤗
Apache License 2.0
3.44k stars 1.46k forks source link

Incorrect variable name `tokenized_dataset` in Chapter 7 section 6 of course #489

Closed jpodivin closed 2 months ago

jpodivin commented 2 months ago

Second portion of the chapter, which focuses on accelerate library, uses tokenized_dataset variable. However this variable doesn't exist, leading to error if person following the guide attempts to execute the cell.

It is most likely that the variable tokenized_datasets was intended instead.

https://github.com/huggingface/notebooks/blob/main/course/en/chapter7/section6_pt.ipynb

jpodivin commented 2 months ago

Closing in favor of https://github.com/huggingface/course/issues/702 in course repo.