1. 02 Aug, 2023 1 commit
    • Patrick von Platen's avatar
      [MMS] Fix mms (#25267) · b28ebb26
      Patrick von Platen authored
      * [MMS] Fix mms
      
      * [MMS] Fix mms
      
      * fix mms loading
      
      * Apply suggestions from code review
      
      * make style
      
      * Update tests/models/wav2vec2/test_modeling_wav2vec2.py
      b28ebb26
  2. 27 Jun, 2023 1 commit
  3. 20 Jun, 2023 1 commit
  4. 12 Jun, 2023 1 commit
  5. 07 Jun, 2023 1 commit
  6. 02 Jun, 2023 1 commit
  7. 21 Mar, 2023 1 commit
  8. 01 Mar, 2023 1 commit
    • Arthur's avatar
      prepare for "__floordiv__ is deprecated and its behavior will change in a... · 44e3e3fb
      Arthur authored
      prepare for "__floordiv__ is deprecated  and its behavior will change in a future version of pytorch" (#20211)
      
      * rounding_mode = "floor"  instead of // to prevent behavioral change
      
      * add other TODO
      
      * use `torch_int_div` from pytrch_utils
      
      * same for tests
      
      * fix copies
      
      * style
      
      * use relative imports when needed
      
      * Co-authored-by: sgugger <sylvain.gugger@gmail.com>
      44e3e3fb
  9. 28 Feb, 2023 1 commit
    • Yih-Dar's avatar
      馃敟Rework pipeline testing by removing `PipelineTestCaseMeta` 馃殌 (#21516) · 871c31a6
      Yih-Dar authored
      
      
      * Add PipelineTesterMixin
      
      * remove class PipelineTestCaseMeta
      
      * move validate_test_components
      
      * Add for ViT
      
      * Add to SPECIAL_MODULE_TO_TEST_MAP
      
      * style and quality
      
      * Add feature-extraction
      
      * update
      
      * raise instead of skip
      
      * add tiny_model_summary.json
      
      * more explicit
      
      * skip tasks not in mapping
      
      * add availability check
      
      * Add Copyright
      
      * A way to diable irrelevant tests
      
      * update with main
      
      * remove disable_irrelevant_tests
      
      * skip tests
      
      * better skip message
      
      * better skip message
      
      * Add all pipeline task tests
      
      * revert
      
      * Import PipelineTesterMixin
      
      * subclass test classes with PipelineTesterMixin
      
      * Add pipieline_model_mapping
      
      * Fix import after adding pipieline_model_mapping
      
      * Fix style and quality after adding pipieline_model_mapping
      
      * Fix one more import after adding pipieline_model_mapping
      
      * Fix style and quality after adding pipieline_model_mapping
      
      * Fix test issues
      
      * Fix import requirements
      
      * Fix mapping for MobileViTModelTest
      
      * Update
      
      * Better skip message
      
      * pipieline_model_mapping could not be None
      
      * Remove some PipelineTesterMixin
      
      * Fix typo
      
      * revert tests_fetcher.py
      
      * update
      
      * rename
      
      * revert
      
      * Remove PipelineTestCaseMeta from ZeroShotAudioClassificationPipelineTests
      
      * style and quality
      
      * test fetcher for all pipeline/model tests
      
      ---------
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      871c31a6
  10. 13 Feb, 2023 1 commit
  11. 06 Feb, 2023 1 commit
    • Sylvain Gugger's avatar
      Update quality tooling for formatting (#21480) · 6f79d264
      Sylvain Gugger authored
      * Result of black 23.1
      
      * Update target to Python 3.7
      
      * Switch flake8 to ruff
      
      * Configure isort
      
      * Configure isort
      
      * Apply isort with line limit
      
      * Put the right black version
      
      * adapt black in check copies
      
      * Fix copies
      6f79d264
  12. 27 Dec, 2022 1 commit
  13. 27 Oct, 2022 1 commit
  14. 18 Oct, 2022 1 commit
  15. 16 Sep, 2022 1 commit
  16. 12 May, 2022 1 commit
  17. 03 May, 2022 1 commit
    • Yih-Dar's avatar
      Move test model folders (#17034) · 19420fd9
      Yih-Dar authored
      
      
      * move test model folders (TODO: fix imports and others)
      
      * fix (potentially partially) imports (in model test modules)
      
      * fix (potentially partially) imports (in tokenization test modules)
      
      * fix (potentially partially) imports (in feature extraction test modules)
      
      * fix import utils.test_modeling_tf_core
      
      * fix path ../fixtures/
      
      * fix imports about generation.test_generation_flax_utils
      
      * fix more imports
      
      * fix fixture path
      
      * fix get_test_dir
      
      * update module_to_test_file
      
      * fix get_tests_dir from wrong transformers.utils
      
      * update config.yml (CircleCI)
      
      * fix style
      
      * remove missing imports
      
      * update new model script
      
      * update check_repo
      
      * update SPECIAL_MODULE_TO_TEST_MAP
      
      * fix style
      
      * add __init__
      
      * update self-scheduled
      
      * fix add_new_model scripts
      
      * check one way to get location back
      
      * python setup.py build install
      
      * fix import in test auto
      
      * update self-scheduled.yml
      
      * update slack notification script
      
      * Add comments about artifact names
      
      * fix for yolos
      Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
      19420fd9
  18. 29 Apr, 2022 1 commit
  19. 19 Apr, 2022 1 commit
  20. 11 Apr, 2022 1 commit
  21. 23 Feb, 2022 1 commit
  22. 07 Feb, 2022 1 commit
  23. 31 Jan, 2022 1 commit
  24. 18 Jan, 2022 1 commit
  25. 16 Jan, 2022 1 commit
  26. 28 Dec, 2021 1 commit
    • Patrick von Platen's avatar
      [Wav2Vec2] Rename model's feature extractor to feature encoder (#14959) · 600496fa
      Patrick von Platen authored
      * rename classes
      
      * clean up more namings
      
      * remove bogus file
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * replace more names
      
      * more regex replace
      
      * make style
      
      * correct
      
      * correct more
      
      * make style
      
      * finish
      
      * correct more in wav2vec2
      
      * make style
      
      * improve freeze_extractor
      
      * add aliases
      
      * add tf aliases
      600496fa
  27. 23 Dec, 2021 1 commit
  28. 17 Dec, 2021 1 commit
  29. 16 Dec, 2021 2 commits
    • Lysandre Debut's avatar
      Remove datasets requirement (#14795) · d194d639
      Lysandre Debut authored
      d194d639
    • Anton Lozhkov's avatar
      Add Speaker Diarization and Verification heads (#14723) · 48463ebb
      Anton Lozhkov authored
      * Models
      
      * Squashed commit of the following:
      
      commit 72278e1e931a16d0879acc77f65762f3364833d0
      Author: anton-l <aglozhkov@gmail.com>
      Date:   Fri Dec 10 21:45:08 2021 +0300
      
      * Add unispeech heads
      
      * Add sd/sv automodels
      
      * Docs cleanup
      
      * Fix docstrings
      
      * rename xvector classes
      
      * examples
      
      * Tests cleanup
      
      * Style
      
      * Better checkpoints for tests
      
      * leftover docs
      
      * apply review suggestions
      
      * Style + init tests
      
      * Update unispeech-sat tdnn downsampling
      48463ebb
  30. 08 Dec, 2021 1 commit
  31. 02 Dec, 2021 1 commit
    • Nik's avatar
      fix #14524 (IndexError when mask prob is too low) (#14525) · 6645eb61
      Nik authored
      * fix #14524 (IndexError when mask prob is too low)
      
      * fix formatting
      
      * correct documentation, add option for setting min_num_masks
      
      * change the semantic meaning of `mask_prob` in _compute_mask_indices
      
      With this commit the meaing of `mask_prob` actually adhered to the probability for each
      vector to be the start of a masked span of length.
      
      * fix check_copies test
      
      * fix documentation to semantic meaning of `upper bound of overall masking percentage`, revert changes to _compute_mask_indices
      
      * fix typo
      6645eb61
  32. 17 Nov, 2021 1 commit
  33. 16 Nov, 2021 1 commit
  34. 25 Oct, 2021 1 commit
  35. 18 Oct, 2021 1 commit
  36. 14 Oct, 2021 1 commit
  37. 12 Oct, 2021 1 commit
  38. 11 Oct, 2021 1 commit
    • Patrick von Platen's avatar
      [Speech Examples] Add pytorch speech pretraining (#13877) · d45fc7da
      Patrick von Platen authored
      * adapt wav2vec2
      
      * add example
      
      * add files
      
      * adapt
      
      * remove bogus file
      
      * Apply suggestions from code review
      
      * adapt files more
      
      * upload changes
      
      * del old files
      
      * up
      
      * up
      
      * up
      
      * up
      
      * up
      
      * correct gradient checkpoitning
      
      * add readme
      
      * finish
      
      * finish
      
      * up
      
      * more fixes
      
      * up
      
      * up
      
      * add demo run to readme
      
      * up
      d45fc7da
  39. 07 Oct, 2021 1 commit