Hello.
I am getting an error in the “Trainer - a PyTorch optimized training loop” section of the " Quick tour" page (Quick tour) for the code that is given as an example.
“NameError: name ‘dataset’ is not defined”
Please list the missing lines of code that define the dataset listed in this “Trainer - a PyTorch optimized training loop” section.
I am assuming it would include a “dataset = load_dataset” line and a “from datasets import load_dataset” line.
But I am not sure how to write these lines out in full or what other lines the example might be missing to get the code working in full.