Unable to create pickle file of model with Transformer

Hi dipesh_pal

It sounds like you are trained your model on colab and are now running it locally, this equates to deploying your model in another environment. If there are differences between 1 or more library versions such as pytorch etc on your local environment and colab you will get strange errors.

You might try going to this thread Deployment Platform: Render ✅ and searching for pip list you will find on this thread how many people overcome difficulties deploying their models elsewhere.

I use colab and have found it very reliable if learn.export() is not working then there is probably a problem in your code elsewhere.

Cheers mrfabulous1 :smiley::smiley: