Hi experts,
I downloaded this upgraded lab files as usual by clicking on:
“Lab Files → Download all files”
link near top right corner and saved as Files.zip.
I unzipped Files.zip to a local folder and fired up jupyter-lab in the folder <…>/Files/tf/W4A3_UGL.
But running the very first notebook cell fails to find datasets module and manually searching
all the files to no avail too.
from datasets import load_from_disk
# Load a dataset and print the first example in the training set
babi_dataset = load_from_disk('data/')
print(babi_dataset['train'][0])
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 1
----> 1 from datasets import load_from_disk
3 # Load a dataset and print the first example in the training set
4 babi_dataset = load_from_disk('data/')
ModuleNotFoundError: No module named 'datasets'
Is datasets module meant to be included? Can someone please help as I intend to go through all
the labs & assignments over again running then locally.
Thanks,
MCW