Hi huggingface Community
I have a problem with the DeBERTa model.
I do:
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained(“microsoft/deberta-v2-xxlarge”)
model = AutoModel.from_pretrained(“microsoft/deberta-v2-xxlarge”)
But always the same error occurs:
config_class = CONFIG_MAPPING[config_dict[“model_type”]]
KeyError: ‘deberta-v2’
Can somebody help me, please.
Appreciate it!