* update feature extractor params
* update attention mask handling
* fix doc and pipeline test
* add warning when skipping test
* add whisper translation and transcription test
* fix build doc test
* Correct whisper processor
* make fix copies
* remove sample docstring as it does not fit whisper model
* Update src/transformers/models/whisper/modeling_whisper.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* fix, doctests are passing
* Nit
* last nit
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Improve error messaging for ASR pipeline.
- Raise error early (in `_sanitize`) so users don't waste time trying to
run queries with invalid params.
- Fix the error was after using `config.inputs_to_logits_ratio` so our
check was masked by the failing property does not exist.
- Added some manual check on s2t for the error message.
No non ctc model seems to be used by the default runner (they are all
skipped).
* Removing pdb.
* Stop the early error it doesn't really work :(.
* GPTTOkenizer dependency removed from deberta class
Fixup
made the Deberta Tokenizer fast independent of GPT-2 tokenizer
Copied annotation added
Done the dependency removal
* Added some missing copied statement
* Added some copied statements
* add suport for non fast tf bert tokenizer
* add tests for non fast tf bert tokenizer
* fix fast bert tf tokenizer flag
* double tokenizers list on tf tokenizers test to aovid breaking zip on test output equivalence
* reformat code with black to comply with code quality checks
* trigger ci
* fix BLOOM ONNX config
- `value` params have `seq_len` as their 2nd axe as opposed to other models which have it as 3rd
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
* [Doctest] Add `configuration_bigbird_pegasus.py` and `configuration_big_bird`
[Doctest] Re-style `configuration_big_bird.py`
* [Doctest] One python instruction per line
* [Doctest] Fix styling
* [Doctest] More styling fixes
* Added type hints for TF: XLNet
* Added type hints for TF: XLNet
* Added type hints for TF: XLNet
* Added type hints for TF: XLNet
* Added type hints for TF: XLNet
* Added type hints for TF: XLNet
* Add type hints for XLnet (TF)
* Added type hints for XLnet (TF)
* Update src/transformers/models/xlnet/modeling_tf_xlnet.py
* yoso config for doctest
* Revert "yoso config for doctest"
This reverts commit eae128d6f1.
* add configurations.blenderbot.py for doctests
* add configuration.blenderbot for doctest
* Added (with random weights) in the comment before model initialization line
* Added configuration_bert_generation.py to utils/documentation_tests.txt
Co-authored-by: vishwaspai <vishwas.pai@emplay.net>