ValueError while importing model to Kaggle Notebooks

#7
by AtishDipankar - opened

Why do I get the following while importing the model?

ValueError: The checkpoint you are trying to load has model type recurrent_gemma but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.

I upgraded transformers to 4.39.3 through !pip install -U transformers

Hi @AtishDipankar
For reccurent-gemma so far you need to install transformers from source: pip install -U git+https://github.com/huggingface/transformers

Google org

Hi @AtishDipankar ,

Transformers are supporting to recurrent-gemma model. Could you please try and let me know if you have any concerns. Kindly find this gist file for reference.

Thank you.

Sign up or log in to comment