Looks like you don’t have the counter.pkl file on your local machine. Did you run the initializing code bit at the top of the Colab notebooks that are linked in the course?
I run that code all the time as I try to get the code to run locally in Visual Studio Code and counter.pkl is missing. fastbook.setup_book is not adding it?
The imdb.tgz doesn’t have the imdb_tok directory in it. This makes me think that the code may be saving the pickle file somewhere else?