The tutorial here has a bug: A full training - Hugging Face NLP Course
The last line references “training_function”. But the training_function is not defined in the notebook.
This is the last cell:
from accelerate import notebook_launcher
notebook_launcher(training_function)