Fix code to comport with newer Transformers library
#41
by
ctranslate2-4you
- opened
This fixes the multiple warnings and notices that the current source code gives due to not being updated for newer Transformers versions. I realize that you guys have released a new model that is "HF compatible," but unless/until it's added to Transformers 4.49, this should resolve all issues. Plus, I'd like to test the new model before switching to it. I noticed some errors in OCR when comparing to this original model so...here's to hoping you guys work out the bugs.
Same issue.