Closed zhubarb closed 3 months ago
It is a versioning error as expected. Tensorflow 15.0 messes everything up. Not the first time it is getting in my way(!).
Replace the import with
!pip install transformers==4.33.0
!pip install datasets
!pip install tensorflow==2.14.0
And the notebook runs without errors.
I tried running the tflite conversion notebook under
/models
in colab. It all runs OK until the final cell:Here, I get the error. To reproduce, you can run the notebook front to back in colab, and you should see the error. Any ideas why this is happening? Is it a version issue. What were the original package versions for
!pip install transformers !pip install datasets
?