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

**URL:** <https://discuss.huggingface.co/t/deberta-v2-xxlarge-model-not-working/3918>\
**Category:** Models\
**Created:** [February 24, 2021, 8:54am UTC](https://discuss.huggingface.co/t/deberta-v2-xxlarge-model-not-working/3918 "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](https://discuss.huggingface.co/u/kinimod23)\
**Post date:** [February 24, 2021, 8:54am UTC](https://discuss.huggingface.co/t/deberta-v2-xxlarge-model-not-working/3918/1 "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](https://discuss.huggingface.co/u/Ben)\
**Post date:** [March 5, 2021, 4:43pm UTC](https://discuss.huggingface.co/t/deberta-v2-xxlarge-model-not-working/3918/2 "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](https://discuss.huggingface.co/u/ngoquanghuy)\
**Post date:** [March 10, 2021, 8:11am UTC](https://discuss.huggingface.co/t/deberta-v2-xxlarge-model-not-working/3918/3 "2021-03-10T08:11:31Z")

</div>

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