Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BetterTransformers Support For DeBERTaV3 #487

Closed
serdarildercaglar opened this issue Nov 18, 2022 · 3 comments
Closed

BetterTransformers Support For DeBERTaV3 #487

serdarildercaglar opened this issue Nov 18, 2022 · 3 comments

Comments

@serdarildercaglar
Copy link

Feature request

Hello, I often use libraries developed by Huggingface in my projects.
I follow your innovations and I want to implement them in my projects. BetterTransformers intrigued me and I want to try it with Debertav3. When I tried BetterTransformer with DeBERTaV3, It gave NotImplementedError: The Better Transformers implementation for the model DebertaV2ForTokenClassification has not been implemented yet. Please open an issue requesting the addition of this model with its BetterTransformer implementation.
When can you provide BetterTransformer support for Debertav3?

You are doing great work, thank you

Motivation

I look forward to trying Better Transformer and seeing results.

Your contribution

Thanks for all

@younesbelkada
Copy link
Contributor

younesbelkada commented Nov 18, 2022

Hi @forrestfaraday
Thank you very much for your message and your interest in BetterTransformer integration! 🎉
Unfortunately DeBERTa uses a special type of attention mechanism, which is not currently supported :/ Check out the specific conditions on the documentation here. Is there any other architecture you might be interested in? We are also planning to open "Good first issues" for contributing in BetterTransformer in case you are interested

cc @michaelbenayoun @fxmarty

#488

@serdarildercaglar
Copy link
Author

Thank you for your attention to my issue. Recently I have focused on BetterTransformer and optimum[ONNX] specifically to speed up deberta models.
I sincerely support your work.
Your success makes it easy for us to do our job.
Best wishes

@younesbelkada
Copy link
Contributor

Thank you very much for your words @forrestfaraday !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants