• Sylvain Gugger's avatar
    Docstring check (#26052) · 03af4c42
    Sylvain Gugger authored
    
    
    * 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: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
    
    * Update utils/check_docstrings.py
    
    Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
    
    * Update src/transformers/utils/quantization_config.py
    
    Co-authored-by: Arthur <48595927+ArthurZucker...
    03af4c42