1. 03 Feb, 2022 1 commit
  2. 02 Feb, 2022 1 commit
    • Ayush Chaurasia's avatar
      Add W&B backend for hyperparameter sweep (#14582) · c74f3d4c
      Ayush Chaurasia authored
      # Add support for W&B hyperparameter sweep
      This PR:
      * allows using wandb for running hyperparameter search.
      * The runs are visualized on W&B sweeps dashboard
      * This supports runnning sweeps on parallel devices, all reporting to the same central dashboard.
      
      ### Usage
      **To run new a hyperparameter search:**
      ```
      trainer.hyperparameter_search(
          backend="wandb", 
          project="transformers_sweep", # name of the project
          n_trials=5,
          metric="eval/loss", # metric to be optimized, default 'eval/loss'. A warning is raised if the passed metric is not found
      )
      ```
      This outputs a sweep id. Eg. `my_project/sweep_id`
      
      **To run sweeps on parallel devices:**
      Just pass sweep id which you want to run parallel
      ```
      trainer.hyperparameter_search(
          backend="wandb", 
          sweep_id = "my_project/sweep_id"
      )
      ```
      c74f3d4c
  3. 27 Jan, 2022 1 commit
    • Patrick von Platen's avatar
      [DocTests Speech] Add doc tests for all speech models (#15031) · 9f831bde
      Patrick von Platen authored
      * fix_torch_device_generate_test
      
      * remove @
      
      * doc tests
      
      * up
      
      * up
      
      * fix doctests
      
      * adapt files
      
      * finish refactor
      
      * up
      
      * save intermediate
      
      * add more logic
      
      * new change
      
      * improve
      
      * next try
      
      * next try
      
      * next try
      
      * next try
      
      * fix final spaces
      
      * fix final spaces
      
      * improve
      
      * renaming
      
      * correct more bugs
      
      * finish wavlm
      
      * add comment
      
      * run on test runner
      
      * finish all speech models
      
      * adapt
      
      * finish
      9f831bde
  4. 24 Jan, 2022 3 commits
    • Sylvain Gugger's avatar
      Try without bad instruction · e65bfc09
      Sylvain Gugger authored
      e65bfc09
    • Sylvain Gugger's avatar
      Add model like (#14992) · 81156d20
      Sylvain Gugger authored
      
      
      * Add new model like command
      
      * Bad doc-styler
      
      * black and doc-styler, stop fighting!
      
      * black and doc-styler, stop fighting!
      
      * At last
      
      * Clean up
      
      * Typo
      
      * Bad doc-styler
      
      * Bad doc-styler
      
      * All good maybe?
      
      * Use constants
      
      * Add doc and type hints
      
      * More cleaning
      
      * Add doc
      
      * Fix Copied from
      
      * Doc template
      
      * Use typing.Pattern instead
      
      * Framework-specific files
      
      * Fixes
      
      * Select frameworks clean model init
      
      * Deal with frameworks in main init
      
      * fixes
      
      * Last fix
      
      * Prompt user for info
      
      * Delete exemple config
      
      * Last fixes
      
      * Add test config
      
      * Fix bug with model_type included in each other
      
      * Fixes
      
      * More fixes
      
      * More fixes
      
      * Adapt config
      
      * Remove print statements
      
      * Will fix tokenization later, leave it broken for now
      
      * Add test
      
      * Quality
      
      * Try this way
      
      * Debug
      
      * Maybe by setting the path?
      
      * Let's try another way
      
      * It should go better when actually passing the arg...
      
      * Remove debug statements and style
      
      * Fix config
      
      * Add tests
      
      * Test require the three backends
      
      * intermediate commit
      
      * Revamp pattern replacements and start work on feature extractors
      
      * Adapt model info
      
      * Finalize code for processors
      
      * Fix in main init additions
      
      * Finish questionnaire for processing classes
      
      * Fix file name
      
      * Fix for real
      
      * Fix patterns
      
      * Style
      
      * Remove needless warnings
      
      * Copied from should work now.
      
      * Include Copied form in blocks
      
      * Add test
      
      * More fixes and tests
      
      * Apply suggestions from code review
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * Address review comment
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      81156d20
    • Patrick von Platen's avatar
      [PyTorch-nightly-test] Fix Wav2Vec2 LM & Phoneme tests (#15272) · b7cb126c
      Patrick von Platen authored
      * [PyTorch-nightly-test] Fix Wav2Vec2 LM & Phoneme tests
      
      * Update .github/workflows/self-nightly-scheduled.yml
      
      * change lines
      
      * Apply suggestions from code review
      b7cb126c
  5. 20 Jan, 2022 1 commit
  6. 19 Jan, 2022 2 commits
  7. 14 Jan, 2022 1 commit
  8. 13 Jan, 2022 1 commit
  9. 11 Jan, 2022 1 commit
  10. 10 Jan, 2022 1 commit
  11. 06 Jan, 2022 1 commit
  12. 03 Jan, 2022 1 commit
  13. 21 Dec, 2021 1 commit
  14. 17 Dec, 2021 1 commit
  15. 16 Dec, 2021 1 commit
  16. 15 Dec, 2021 1 commit
  17. 13 Dec, 2021 5 commits
  18. 12 Dec, 2021 1 commit
  19. 10 Dec, 2021 3 commits
  20. 09 Dec, 2021 1 commit
  21. 08 Dec, 2021 2 commits
  22. 06 Dec, 2021 2 commits
  23. 03 Dec, 2021 2 commits
  24. 02 Dec, 2021 1 commit
  25. 01 Dec, 2021 1 commit
    • Sylvain Gugger's avatar
      Doc new front (#14590) · 4df7d05a
      Sylvain Gugger authored
      
      
      * Convert PretrainedConfig doc to Markdown
      
      * Use syntax
      
      * Add necessary doc files (#14496)
      
      * Doc fixes (#14499)
      
      * Fixes for the new front
      
      * Convert DETR file for table
      
      * Title is needed
      
      * Simplify a bit
      
      * Even simpler
      
      * Remove imports
      
      * Fix typo in toctree (#14516)
      
      * Fix checkpoints badge
      
      * Update versions.yml format (#14517)
      
      * Doc new front github actions (#14512)
      
      * Doc new front github actions
      
      * Fix docstring
      
      * Fix feature extraction utils import (#14515)
      
      * Address Julien's comments
      
      * Push to doc-builder
      
      * Ready for merge
      
      * Remove old build and deploy
      
      * Doc misc fixes (#14583)
      
      * Rm versions.yml from doc
      
      * Fix converting.rst
      
      * Rm pretrained_models from toctree
      
      * Fix index links (#14567)
      
      * Fix links in README
      
      * Localized READMEs
      
      * Fix copy script
      
      * Fix find doc script
      
      * Update README_ko.md
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      
      * Adapt build command to new CLI tools (#14578)
      
      * Fix typo
      
      * Fix doc interlinks (#14589)
      
      * Convert PretrainedConfig doc to Markdown
      
      * Use syntax
      
      * Rm pattern <[a-z]+(.html).*>
      
      * Rm huggingface.co/transformers/master
      
      * Rm .html
      
      * Rm .html from index.mdx
      
      * Rm .html from model_summary.rst
      
      * Update index.mdx rm html
      
      * Update remove .html
      
      * Fix inner doc links
      
      * Fix interlink in preprocssing.rst
      
      * Update pr_checks
      Co-authored-by: default avatarSylvain Gugger <sylvain.gugger@gmail.com>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Convert PretrainedConfig doc to Markdown
      
      * Use syntax
      
      * Add necessary doc files (#14496)
      
      * Doc fixes (#14499)
      
      * Fixes for the new front
      
      * Convert DETR file for table
      
      * Title is needed
      
      * Simplify a bit
      
      * Even simpler
      
      * Remove imports
      
      * Fix checkpoints badge
      
      * Fix typo in toctree (#14516)
      
      * Update versions.yml format (#14517)
      
      * Doc new front github actions (#14512)
      
      * Doc new front github actions
      
      * Fix docstring
      
      * Fix feature extraction utils import (#14515)
      
      * Address Julien's comments
      
      * Push to doc-builder
      
      * Ready for merge
      
      * Remove old build and deploy
      
      * Doc misc fixes (#14583)
      
      * Rm versions.yml from doc
      
      * Fix converting.rst
      
      * Rm pretrained_models from toctree
      
      * Fix index links (#14567)
      
      * Fix links in README
      
      * Localized READMEs
      
      * Fix copy script
      
      * Fix find doc script
      
      * Update README_ko.md
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      
      * Adapt build command to new CLI tools (#14578)
      
      * Fix typo
      
      * Fix doc interlinks (#14589)
      
      * Convert PretrainedConfig doc to Markdown
      
      * Use syntax
      
      * Rm pattern <[a-z]+(.html).*>
      
      * Rm huggingface.co/transformers/master
      
      * Rm .html
      
      * Rm .html from index.mdx
      
      * Rm .html from model_summary.rst
      
      * Update index.mdx rm html
      
      * Update remove .html
      
      * Fix inner doc links
      
      * Fix interlink in preprocssing.rst
      
      * Update pr_checks
      Co-authored-by: default avatarSylvain Gugger <sylvain.gugger@gmail.com>
      Co-authored-by: default avatarSylvain Gugger <35901082+sgugger@users.noreply.github.com>
      
      * Styling
      Co-authored-by: default avatarMishig Davaadorj <mishig.davaadorj@coloradocollege.edu>
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      Co-authored-by: default avatarJulien Chaumond <julien@huggingface.co>
      4df7d05a
  26. 25 Nov, 2021 1 commit
  27. 24 Nov, 2021 1 commit
  28. 27 Oct, 2021 1 commit