ValueError: Unrecognized model identifier
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?
2023-08-10T08:18:32Z
In case any has the same issue:The problem apparently was that when I installedtransformerswith conda, the version 2.1.1 was installed. I removed the package and installed it with pip and no problem