# "deberta-v2-xxlarge"-Model not working!

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdeberta-v2-xxlarge-model-not-working%2F3918%3E%5C
**Category:** Models\
**Created:** [February 24, 2021, 8:54am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdeberta-v2-xxlarge-model-not-working%2F3918 "2021-02-24T08:54:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kinimod23](https://avatars.discourse-cdn.com/v4/letter/k/5f9b8f/32.png) [@kinimod23](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fkinimod23)%5C
**Post date:** [February 24, 2021, 8:54am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdeberta-v2-xxlarge-model-not-working%2F3918%2F1 "2021-02-24T08:54:41Z")

</div>

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! 🙂

---

<div class="post-metadata">

**Author:** ![Ben](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@Ben](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FBen)%5C
**Post date:** [March 5, 2021, 4:43pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdeberta-v2-xxlarge-model-not-working%2F3918%2F2 "2021-03-05T16:43:24Z")

</div>

Experiencing the same issue - figured it out by any chance?

---

<div class="post-metadata">

**Author:** ![ngoquanghuy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ngoquanghuy/32/17235_2.png) [@ngoquanghuy](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fngoquanghuy)%5C
**Post date:** [March 10, 2021, 8:11am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdeberta-v2-xxlarge-model-not-working%2F3918%2F3 "2021-03-10T08:11:31Z")

</div>

I think deberta-v2-xxlarge and deberta-v2-xlarge are not available in this latest release!
