Gemma2 has released but I can’t load this model although upgrade transformer to 4.42.3
I’m facing the same issue
1 Like
Fixed the issue by uninstalling and then reinstalling. didn’t work with just pip install --upgrade transformers
1 Like
Did anyone find an answer?
This worked for me too, thanks!. Exact commands for anyone confused:
pip uninstall transformers
pip install transformers --no-cache
1 Like
This dosent work for me while trying this notebook: Transformers-Tutorials/Grounding DINO/GroundingDINO_with_Segment_Anything.ipynb at master · NielsRogge/Transformers-Tutorials · GitHub
try this
pip install git+https://github.com/huggingface/transformers.git
1 Like
did not work for me
Try this.
pip uninstall transformers
pip install git+https://github.com/huggingface/transformers.git
In Colab
!pip uninstall transformers
!pip install git+https://github.com/huggingface/transformers.git