-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
Community contribution - BetterTransformer
integration for more models!
#20372
Community contribution - BetterTransformer
integration for more models!
#20372
Comments
It's not on your list, but would you complain if I did this for DebertaV2Model? |
It is not in the list because |
Yes I second what @michaelbenayoun said, please see related: huggingface/optimum#487 |
makes a lot of sense - sorry I should have thought about that a bit harder before posting! |
I noticed that Better Transformers for the T5 model has not been implemented yet. Will it be implemented in the future (if possible)? Thanks. |
Hi @GenVr |
Hi :) I would like to work on the implementation for RemBertLayer. What are the next steps in getting started? Thank you! |
Hey @RJZauner ! |
Hi @younesbelkada, I would like to work on the easiest of the models mentioned above. Which one do you recommend? What I said might sound a bit weird but I want to tackle a simple one since I'm not very familiar with these models 🙏 |
Hello, I would like to tackle the implementation for TapasLayer. May I ask you how I can start the further steps? Thank you for your time. |
Hi @shogohida and @JuheonChu , You can read this page for learning how to contribute. You can then open a PR with your code, and ask questions there, we will be glad to help! Also @shogohida, I think they are all similar in terms of difficulty, so do not block on that, maybe choose a model with the modality the most familiar to you. |
Seconding what @michaelbenayoun said, feel free to check some example PRs huggingface/optimum#508 or huggingface/optimum#494 for reference! |
Thanks guys for your replies! I will take RocBERT then! |
Thanks @michaelbenayoun ! I will take TapasLayer ! |
Hi! Thank you so much for opening this issue.
|
Hello @younesbelkada, I would like to take DetrLayer. Nice tutorial btw 😀 |
Hi @blakechi ! |
Hi @ravenouse ! |
Thank you for the info! |
Hello @michaelbenayoun and @younesbelkada ! First time contributing for me :) I would like to handle the implementation for Speech2Text What are the first steps ? Create a PR ? Thanks in advance. |
Hello, I am absolutely sure that they will give you a better suggestion than what I have. |
Hello @JuheonChu :) I am definitely have a look at it ! thanks |
Hi @lucaspct, Yes the first steps would be to read the guide explaining how to contribute to |
Hi @younesbelkada @michaelbenayoun I'd love to take on the RoFormer model if it isn't claimed yet. Will open a PR after I read through the guide! |
I would like to take a crack at the ProphetNet encoder if it has not been claimed yet |
Hi @HVjay, Hi @mszsorondo, |
Hi @HVjay , Actually there is already someone working on Detr, check: huggingface/optimum#684 |
Hi @younesbelkada , could I pick up RoFormer ? |
@sushmanthreddy are you doing Detr anymore...? if doing please tell |
@younesbelkada Hi 👋 could I take |
@younesbelkada Hello, I would love to contribute to this issue. I am new to contributing in transformers. Can you please tell me which of the model layers are vacant I would like to take one up :) |
@younesbelkada I would like to work on Detr. @mszsorondo Are you still working on it? There has not been any activity on your PR since Jan 8. I can pull from your PR and fix the failing tests. |
@awinml I actaully submitted the pr for Detr Model
|
@dewasahu2003 No problem. Its always better to inform the original author and pull from their PR so they get due credit. Hence the question was aimed at @mszsorondo. |
@younesbelkada Hey 👋 I have submitted the pr for |
Hi, @younesbelkada I'd like to work on |
Go for it! Sorry for the delay |
Hi @younesbelkada, @michaelbenayoun, and @fxmarty, I would like to work on Speech2TextLayer. What are the next steps in getting started? Thank you! |
Hi! @younesbelkada @michaelbenayoun @fxmarty |
Hello @younesbelkada @fxmarty and @michaelbenayoun |
Hello @younesbelkada @fxmarty and @michaelbenayoun |
@younesbelkada is there anything I can help with in this issue? |
@younesbelkada please could you update the original list of pending items? |
Is splade possible? |
Hi @younesbelkada ! I'm new to the Open Source community but have good experience with torch, transformers, numpy, etc. can I be assigned the RoFormer task, I'd like to give it a shot! |
Hi @younesbelkada, |
Hi everyone, |
Hi @younesbelkada, @michaelbenayoun, and @fxmarty |
BetterTransformer
integration for more models!BetterTransformer
API provides faster inference on CPU & GPU through a simple interface!Models can benefit from very interesting speedups using a one liner and by making sure to install the latest version of PyTorch. A complete guideline on how to convert a new model has been created on the BetterTransformer documentation!
Here is a list of models that could be potentially supported, pick one of the architecture below and let's discuss about the conversion!
Text models 🖊️ :
Bettertransformer
support for FSMT optimum#494MobileBERT
support forBetterTransformer
optimum#506MBart
support forBetterTransformer
optimum#516 @ravenouseVision models 📷 :
BetterTransformer
support for ViLT architecture optimum#508Audio models 🔉 :
ASTLayer
support forBetterTransformer
optimum#548Let us also know if you think that some architectures can be supported that we missed. Note that for encoder-decoder based models below, we expect to convert the encoder only.
Support for decoder-based models coming soon!
cc @michaelbenayoun @fxmarty
huggingface/optimum#488
The text was updated successfully, but these errors were encountered: