fix the generationmixin class inheritance issue

#42
by ctranslate2-4you - opened

Transformers 4.45+ is different...Here's how another repository fixed the issue:

https://huggingface.co/microsoft/Florence-2-large/commit/f92844072980ab91bc708ae2fc8c1227318023a4#d2h-487071

Sign up or log in to comment