Error when loading the model via transformers

#1
by zzh99 - opened

Hi. I encounter this error when load BioLORD-2023-C via AutoModel.from_pretrained('FremyCompany/BioLORD-2023-C'):
"ValueError: Unrecognized model in FremyCompany/BioLORD-2023-C. Should have a model_type key in its config.json".

Is there something wrong with the config files you uploaded to huggingface?

My sincerest excuses, I had seemingly uploaded the sentence_transformers wrapper around the transformers model, which caused the loading issue.

I have now removed the wrapper, leaving only the content of the 0_Transformer folder, which should enable you to use the model normally using the transformers library like advertised.

Thank you for reporting this!
François

FremyCompany changed discussion status to closed

Sign up or log in to comment