1. 01 Mar, 2022 1 commit
  2. 24 Feb, 2022 1 commit
  3. 23 Feb, 2022 9 commits
  4. 16 Feb, 2022 1 commit
  5. 09 Feb, 2022 1 commit
  6. 03 Feb, 2022 1 commit
  7. 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
  8. 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
  9. 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
  10. 20 Jan, 2022 1 commit
  11. 19 Jan, 2022 2 commits
  12. 14 Jan, 2022 1 commit
  13. 13 Jan, 2022 1 commit
  14. 11 Jan, 2022 1 commit
  15. 06 Jan, 2022 1 commit
  16. 03 Jan, 2022 1 commit
  17. 21 Dec, 2021 1 commit
  18. 17 Dec, 2021 1 commit
  19. 16 Dec, 2021 1 commit
  20. 15 Dec, 2021 1 commit
  21. 13 Dec, 2021 5 commits
  22. 10 Dec, 2021 3 commits
  23. 09 Dec, 2021 1 commit