getting "The checkpoint you are trying to load has model type `t5gemma2` but Transformers does not recognize this architecture" error

#2
by sarathl - opened

trying to access the model using the code given in the model card but getting the mentioned error

processor = AutoProcessor.from_pretrained("google/t5gemma-2-270m-270m")
model = AutoModelForSeq2SeqLM.from_pretrained("google/t5gemma-2-270m-270m")

image

pip install transformers==5.0.0rc1

thanks.
please update the model card too

Sign up or log in to comment