Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
|
Currently, a lot of tests fail because of rate limits. Checked with everything before the rates change so should hopefully be good 🤞 Edit: works now |
|
Any way you could fix all conflicts before review? 😬 Sorry, this is the cost of such big PRs, any other PR anywhere is likely to create conflicts 🥲 |
|
@Cyrilvallez no worries, getting used to it 😅 resolved the conflicts and updated the recent new models as well |
|
[For maintainers] Suggested jobs to run (before merge) run-slow: albert, align, altclip, audio_spectrogram_transformer, autoformer, bark, bart |
Cyrilvallez
left a comment
There was a problem hiding this comment.
Very very nice PR! Very happy to remove it and simplify a lot all these old models!! 🤗🤗🧹🧹
| # check if head_mask has a correct number of layers specified if desired | ||
| if head_mask is not None: | ||
| assert head_mask.size()[0] == (len(self.layers)), ( | ||
| f"The head_mask should be specified for {len(self.layers)} layers, but it is for {head_mask.size()[0]}." | ||
| ) |
There was a problem hiding this comment.
Oh wow, did not know that some qwen models got head_mask...
There was a problem hiding this comment.
Me neither, I suspect(ed) some inheritance from whisper 😢
* first attempt at removing * copies * last bits in core * quick fixes * tests purge * docs and examples * some fixes * more * another round of cleanups * fix * fix a bunch of models * fix dummy bert * fix * fix new model * fix signature change * fix * fix style/copies * new models * fix copies didnt find that damn * test * this shouldnt have happened during model addition
* first attempt at removing * copies * last bits in core * quick fixes * tests purge * docs and examples * some fixes * more * another round of cleanups * fix * fix a bunch of models * fix dummy bert * fix * fix new model * fix signature change * fix * fix style/copies * new models * fix copies didnt find that damn * test * this shouldnt have happened during model addition
* first attempt at removing * copies * last bits in core * quick fixes * tests purge * docs and examples * some fixes * more * another round of cleanups * fix * fix a bunch of models * fix dummy bert * fix * fix new model * fix signature change * fix * fix style/copies * new models * fix copies didnt find that damn * test * this shouldnt have happened during model addition
* first attempt at removing * copies * last bits in core * quick fixes * tests purge * docs and examples * some fixes * more * another round of cleanups * fix * fix a bunch of models * fix dummy bert * fix * fix new model * fix signature change * fix * fix style/copies * new models * fix copies didnt find that damn * test * this shouldnt have happened during model addition
As per title, time to deprecate this
This includes anything in the docs, tests, and modeling
xxx head maskxxx_headmaskingxxx_head_mask