# Cannot initialize deberta-v3-base tokenizer

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcannot-initialize-deberta-v3-base-tokenizer%2F15322%3E%5C
**Category:** 🤗Tokenizers\
**Created:** [March 3, 2022, 7:14pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcannot-initialize-deberta-v3-base-tokenizer%2F15322 "2022-03-03T19:14:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MagicFlute](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/magicflute/32/4164_2.png) [@MagicFlute](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FMagicFlute)%5C
**Post date:** [March 3, 2022, 7:14pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcannot-initialize-deberta-v3-base-tokenizer%2F15322%2F1 "2022-03-03T19:14:04Z")

</div>

when calling

`tokenizer = AutoTokenizer.from_pretrained("microsoft/deberta-v3-base")`

I get a `ValueError: This tokenizer cannot be instantiated. Please make sure you have `sentencepiece` installed in order to use this tokenizer.`  
Tried conda` install -c conda-forge transformers[sentencepiece]` as well as `conda install -c conda-forge sentencepiece` to no result

---

<div class="post-metadata">

**Author:** ![simonschoe](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/simonschoe/32/20951_2.png) [@simonschoe](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsimonschoe)%5C
**Post date:** [September 21, 2022, 12:08pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcannot-initialize-deberta-v3-base-tokenizer%2F15322%2F2 "2022-09-21T12:08:23Z")

</div>

Running `pip install sentencepiece` and restarting the kernel should do the trick. 😉

---

<div class="post-metadata">

**Author:** ![carlosaguayo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/carlosaguayo/32/31818_2.png) [@carlosaguayo](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fcarlosaguayo)%5C
**Post date:** [October 9, 2022, 4:05pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcannot-initialize-deberta-v3-base-tokenizer%2F15322%2F3 "2022-10-09T16:05:52Z")

</div>

> [@simonschoe](#):
>
> `pip install sentencepiece`

Thank you!
