# Error when trying Deberta for tensorflow version, Can't import the model

**URL:** <https://discuss.huggingface.co/t/error-when-trying-deberta-for-tensorflow-version-cant-import-the-model/10844>\
**Category:** 🤗Transformers\
**Created:** [October 17, 2021, 11:08am UTC](https://discuss.huggingface.co/t/error-when-trying-deberta-for-tensorflow-version-cant-import-the-model/10844 "2021-10-17T11:08:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![temperance90](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@temperance90](https://discuss.huggingface.co/u/temperance90)\
**Post date:** [October 17, 2021, 11:08am UTC](https://discuss.huggingface.co/t/error-when-trying-deberta-for-tensorflow-version-cant-import-the-model/10844/1 "2021-10-17T11:08:28Z")

</div>

i found that Deberta is available on tensorflow. i want to try the example for TFDebertaForSequenceClassification but i got error which said like this

 ![Screenshot_154](https://us1.discourse-cdn.com/hellohellohello/original/2X/a/a9cff93ce0a39407429a7ab6c2566416f20266f7.png)  
transformers version= 4.5.1

---

<div class="post-metadata">

**Author:** ![sgugger](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sgugger/32/2291_2.png) [@sgugger](https://discuss.huggingface.co/u/sgugger)\
**Post date:** [October 18, 2021, 1:01am UTC](https://discuss.huggingface.co/t/error-when-trying-deberta-for-tensorflow-version-cant-import-the-model/10844/2 "2021-10-18T01:01:25Z")

</div>

The TensorFlow Deberta model was added more recently, so you will need to update your version of Transformers.

---

<div class="post-metadata">

**Author:** ![temperance90](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@temperance90](https://discuss.huggingface.co/u/temperance90)\
**Post date:** [October 28, 2021, 5:06pm UTC](https://discuss.huggingface.co/t/error-when-trying-deberta-for-tensorflow-version-cant-import-the-model/10844/3 "2021-10-28T17:06:26Z")

</div>

Thank You, it is working now
