We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from transformers import AutoConfig kwargs = {'_from_auto': True} pretrained_model_name_or_path = 'M-CLIP/XLM-Roberta-Large-Vit-L-14' config = AutoConfig.from_pretrained(pretrained_model_name_or_path, **kwargs)
Hi, I installed required transformers==4.8.1, and run the above code to get following error.
config = AutoConfig.from_pretrained(pretrained_model_name_or_path, **kwargs) File "/anaconda3/lib/python3.9/site-packages/transformers/models/auto/configuration_auto.py", line 448, in from_pretrained config_class = CONFIG_MAPPING[config_dict["model_type"]] KeyError: 'M-CLIP'
seems like model_type 'M-CLIP' is not in the CONFIG_MAPPING, can anyone help to figure it out?
The text was updated successfully, but these errors were encountered:
Have you found a solution to this problem? I'm running into the same issue
Sorry, something went wrong.
Hi, I'm having the same issue. Does anyone know a solution?
No branches or pull requests
Hi, I installed required transformers==4.8.1, and run the above code to get following error.
seems like model_type 'M-CLIP' is not in the CONFIG_MAPPING, can anyone help to figure it out?
The text was updated successfully, but these errors were encountered: