SIGN IN SIGN UP

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

0 0 0 Python

Docstring check (#26052)

* Fix number of minimal calls to the Hub with peft integration

* Alternate design

* And this way?

* Revert

* Nits to fix

* Add util

* Print when changes are made

* Add list to ignore

* Add more rules

* Manual fixes

* deal with kwargs

* deal with enum defaults

* avoid many digits for floats

* Manual fixes

* Fix regex

* Fix regex

* Auto fix

* Style

* Apply script

* Add ignored list

* Add check that templates are filled

* Adding to CI checks

* Add back semi-fix

* Ignore more objects

* More auto-fixes

* Ignore missing objects

* Remove temp semi-fix

* Fixes

* Update src/transformers/models/pvt/configuration_pvt.py

Co-authored-by: Arthur <[email protected]>

* Update utils/check_docstrings.py

Co-authored-by: Arthur <[email protected]>

* Update src/transformers/utils/quantization_config.py

Co-authored-by: Arthur <[email protected]>

* Deal with float defaults

* Fix small defaults

* Address review comment

* Treat

* Post-rebase cleanup

* Address review comment

* Update src/transformers/models/deprecated/mctct/configuration_mctct.py

Co-authored-by: Lysandre Debut <[email protected]>

* Address review comment

---------

Co-authored-by: Arthur <[email protected]>
Co-authored-by: Lysandre Debut <[email protected]>
S
Sylvain Gugger committed
03af4c42a624ea44b3325ff78151f499392dd617
Parent: 122b265
Committed by GitHub <[email protected]> on 10/4/2023, 1:13:37 PM