-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Only apply activation if transformer block is used in DIETClassifier #5626
Conversation
I think @Ghostvv wanted to place the call to the activation inside DIET conditioned on usage of transformer and not place it inside transformer? |
yes, let's keep transformer a "classic" transformer |
9d1802c
to
b22d618
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚡
@tabergma this update requires retraining the model |
True. I guess it is already released 🙈 |
that is a bit dangerous, since prediction might go haywire, because technically models can be loaded |
any suggestion on how to solve that? |
can we update docs and rerelease? |
Proposed changes:
Only apply activation if transformer block is used in DIETClassifier
Status (please check what you already did):
black
(please check Readme for instructions)