When I learned 《Getting Started with Google BERT》, the code  run in Google colab shows errors.
codes and errors are as follows:
the problem corresponds to chapter 3.4.1 in 《Getting Started with Google BERT》.
is there any solutions to this problem, please help~
             
            
              
              
              
            
            
           
          
            
            
              Can you provide a link to the chapter so we can update it?
datasets.load_dataset should be used instead of nlp.load_dataset, as the nlp package is outdated.
             
            
              
              
              
            
            
           
          
            
            
              code in book 《Getting Started with Google BERT》 is in page 108.
in GITHUB is chapter3, the file name is 3.06 Text-classification -checkpoint.
get the suggestion, thank you.