The checkpoint you are trying to load has model type `gemma2` but Transformers does not recognize this architecture
Gemma2 has released but I can’t load this model although upgrade transformer to 4.42.3
2024-07-03T08:33:54Z
I’m facing the same issue
2024-07-03T08:42:39Z
Fixed the issue by uninstalling and then reinstalling. didn’t work with just pip install --upgrade transformers
2024-07-16T20:33:16Z
Did anyone find an answer?
2024-07-17T01:03:56Z
This worked for me too, thanks!. Exact commands for anyone confused:pip uninstall transformers
pip install transformers --no-cache
2024-09-11T19:31:30Z
cstuart1310:pip install transformers --no-cacheThis dosent work for me while trying this notebook:Transformers-Tutorials/Grounding DINO/GroundingDINO_with_Segment_Anything.ipynb at master · NielsRogge/Transformers-Tutorials · GitHub
2024-10-06T09:15:03Z
try thispip install git+https://github.com/huggingface/transformers.git