Unable to import transformers using my jupyter notebook

The APIs of all the packages we use are not stable over time. Most of the notebooks in the course were last updated in a major way in April of 2021. There is no guarantee that they will work with the current version of TF/Keras or any of the other packages. If you want to work in your local environment, you have a fundamental choice to make:

  1. Duplicate the versions of all the packages using something like Conda.
  2. Solve each compatibility problem as you encounter it.

If you want to explore the “duplicate versions” strategy, there are no official instructions, but here’s a thread that has lots of useful information to get you started down that long and winding road.