Lab1 is not working

Solution

Step 1
Restart Kernel
Step 2 - update Dataset version
%pip install \ transformers==4.27.2 \ datasets==2.17.0 --quiet
Also run
%pip install -U datasets

This solved the problem for me.

1 Like