Config Error

#14
by Kush0610 - opened

While running the model using the library cadence-punctuation or transformers, I am getting the error Gemma3PunctutationConfig has no attribute 'id2label'. This is a common issue for Gemma models and the solution is to usually switch from AutoModel to Gemma3ForConditionalGeneration and use the lates version of transformers but even that doesn't work because of modelling differences. Can the authors help here?

This a library versioning issue where it works with transformers==4.51.3 but not the latest version of transformers. The package needs to enforce that version during installation because it right now downloads the latest version.

Kush0610 changed discussion status to closed

Sign up or log in to comment