"model_type": "translation" from config.json

#1
by mahmutc - opened

hi I guess there is something wrong with this config.

from transformers import pipeline
translator = pipeline("translation", model = "HariSekhar/Eng_Marathi_translation")

gives the following error:

ValueError: The checkpoint you are trying to load has model type `translation` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.

Sign up or log in to comment