Hi there,
Please, I need help! I really don’t understand why I’m getting this error. It happens when I try to load an AutoModel either with the model name or the model path. Any of this cases throws the error:
model = AutoModel.from_pretrained("thenlper/gte-large")
model = AutoModel.from_pretrained("intfloat/multilingual-e5-large")
model = AutoModel.from_pretrained('./local_directory_multilingual-e5-large/')
The most strange thing is that until one hour ago, everything was working fine. Yesterday I downloaded the multilingual e5 model and saved it locally. When trying to load it again, the error happens.
ValueError: Unrecognized model identifier in intfloat/multilingual-e5-large. Should contains one of 'bert', 'openai-gpt', 'gpt2', 'transfo-xl', 'xlnet', 'xlm', 'roberta', 'ctrl`
I’m completely lost with this. Any help?