AttributeError: 'Maira2ForConditionalGeneration' object has no attribute 'model'

#19
by manglu3935 - opened

how to solve?

Use the correct version of transformers library mentioned in the readme card of the Maira-2 model.
transformers>=4.48.0,<4.52

Sign up or log in to comment