AI4Bharat / IndicTrans2

Translation models for 22 scheduled languages of India
https://ai4bharat.iitm.ac.in/indic-trans2
MIT License
214 stars 59 forks source link

error in ctranslate #61

Closed pr509 closed 5 months ago

pr509 commented 5 months ago

ctranslate2_translate_lines translations = self.translator.translate_batch( RuntimeError: No position encodings are defined for positions >= 210, but got position 210

i am getting this error when trying to do translation with the ctranslate model.

PranjalChitale commented 5 months ago

Please refer https://github.com/OpenNMT/CTranslate2/issues/1157