1. 17 Jun, 2024 1 commit
    • Albert Villanova del Moral's avatar
      Pass datasets trust_remote_code (#31406) · a14b055b
      Albert Villanova del Moral authored
      * Pass datasets trust_remote_code
      
      * Pass trust_remote_code in more tests
      
      * Add trust_remote_dataset_code arg to some tests
      
      * Revert "Temporarily pin datasets upper version to fix CI"
      
      This reverts commit b7672826.
      
      * Pass trust_remote_code in librispeech_asr_dummy docstrings
      
      * Revert "Pin datasets<2.20.0 for examples"
      
      This reverts commit 833fc17a.
      
      * Pass trust_remote_code to all examples
      
      * Revert "Add trust_remote_dataset_code arg to some tests" to research_projects
      
      * Pass trust_remote_code to tests
      
      * Pass trust_remote_code to docstrings
      
      * Fix flax examples tests requirements
      
      * Pass trust_remote_dataset_code arg to tests
      
      * Replace trust_remote_dataset_code with trust_remote_code in one example
      
      * Fix duplicate trust_remote_code
      
      * Replace args.trust_remote_dataset_code with args.trust_remote_code
      
      * Replace trust_remote_dataset_code with trust_remote_code in parser
      
      * Replace trust_remote_dataset_code with trust_remote_code in dataclasses
      
      * Replace trust_remote_dataset_code with trust_remote_code arg
      a14b055b
  2. 31 May, 2024 1 commit
  3. 08 May, 2024 1 commit
    • Pavel Iakubovskii's avatar
      Add examples for detection models finetuning (#30422) · 998dbe06
      Pavel Iakubovskii authored
      
      
      * Training script for object detection
      
      * Evaluation script for object detection
      
      * Training script for object detection with eval loop outside trainer
      
      * Trainer DETR finetuning
      
      * No trainer DETR finetuning
      
      * Eval script
      
      * Refine object detection example with trainer
      
      * Remove commented code and enable telemetry
      
      * No trainer example
      
      * Add requirements for object detection examples
      
      * Add test for trainer example
      
      * Readme draft
      
      * Fix uploading to HUB
      
      * Readme improvements
      
      * Update eval script
      
      * Adding tests for object-detection examples
      
      * Add object-detection example
      
      * Add object-detection resources to docs
      
      * Update README with custom dataset instructions
      
      * Update year
      
      * Replace valid with validation
      
      * Update instructions for custom dataset
      
      * Remove eval script
      
      * Remove use_auth_token
      
      * Add copied from and telemetry
      
      * Fixup
      
      * Update readme
      
      * Fix id2label
      
      * Fix links in docs
      
      * Update examples/pytorch/object-detection/run_object_detection.py
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      
      * Update examples/pytorch/object-detection/run_object_detection.py
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      
      * Move description to the top
      
      * Fix Trainer example
      
      * Update no trainer example
      
      * Update albumentations version
      
      ---------
      Co-authored-by: default avatarNielsRogge <48327001+NielsRogge@users.noreply.github.com>
      998dbe06
  4. 17 Apr, 2024 1 commit
  5. 16 Feb, 2024 1 commit
  6. 16 Jan, 2024 1 commit
  7. 15 Nov, 2023 1 commit
  8. 30 Oct, 2023 1 commit
  9. 20 Jul, 2023 1 commit
  10. 14 Jun, 2023 1 commit
    • Patrick von Platen's avatar
      Add MMS CTC Fine-Tuning (#24281) · 1609a436
      Patrick von Platen authored
      * Add mms ctc fine tuning
      
      * make style
      
      * More fixes that are needed
      
      * make fix-copies
      
      * make draft for README
      
      * add new file
      
      * move to new file
      
      * make style
      
      * make style
      
      * add quick test
      
      * make style
      
      * make style
      1609a436
  11. 31 May, 2023 2 commits
  12. 27 Apr, 2022 1 commit
    • NielsRogge's avatar
      Add semantic script, trainer (#16834) · 479fdc49
      NielsRogge authored
      * Add first draft
      
      * Improve script and README
      
      * Improve README
      
      * Apply suggestions from code review
      
      * Improve script, add link to resulting model
      
      * Add corresponding test
      
      * Adjust learning rate
      479fdc49
  13. 11 Apr, 2022 1 commit
  14. 23 Mar, 2022 1 commit
    • Sylvain Gugger's avatar
      Reorganize file utils (#16264) · 4975002d
      Sylvain Gugger authored
      * Split file_utils in several submodules
      
      * Fixes
      
      * Add back more objects
      
      * More fixes
      
      * Who exactly decided to import that from there?
      
      * Second suggestion to code with code review
      
      * Revert wront move
      
      * Fix imports
      
      * Adapt all imports
      
      * Adapt all imports everywhere
      
      * Revert this import, will fix in a separate commit
      4975002d
  15. 23 Feb, 2022 1 commit
  16. 21 Jan, 2022 3 commits
  17. 28 Dec, 2021 1 commit
  18. 22 Dec, 2021 1 commit
  19. 21 Dec, 2021 1 commit
  20. 22 Nov, 2021 1 commit
  21. 09 Nov, 2021 1 commit
  22. 25 Oct, 2021 1 commit
    • karthikrangasai's avatar
      Supporting Seq2Seq model for question answering task (#13432) · 1b871e09
      karthikrangasai authored
      * Add seq2seq example for QnA on SQuAD Dataset.
      
      * Changes from review - Fixing styling mistakes.
      
      * Added how to example in README, simplified the access to dataset's preprocess function.
      
      * Added tests for the seq2seq QA example.
      
      * Change dataset column name to fix tests.
      
      * Fix test command mistake.
      
      * Add missing argument 'ignore_pad_token_for_loss' from DataTrainingArguments.
      
      * Add missing argument 'num_beams' from DataTrainingArguments.
      
      * Fix processing of output predicted token ids so that tokenizer decode gets appropriate input. Updated assertion conditions on the tests.
      1b871e09
  23. 20 Oct, 2021 1 commit
  24. 17 Oct, 2021 1 commit
  25. 14 Oct, 2021 3 commits
  26. 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
  27. 01 Oct, 2021 1 commit
  28. 24 Sep, 2021 1 commit
  29. 07 Sep, 2021 1 commit
  30. 06 Sep, 2021 1 commit
  31. 02 Sep, 2021 1 commit
    • Nathan Raw's avatar
      Add PyTorch image classification example (#13134) · 76c4d8bf
      Nathan Raw authored
      *  add pytorch image classification example
      
      * 🔥 remove utils.py
      
      * 💄 fix flake8 style issues
      
      * 🔥 remove unnecessary line
      
      *  limit dataset sizes
      
      * 📌 update reqs
      
      * 🎨 restructure - use datasets lib
      
      * 🎨 import transforms directly
      
      * 📝 add comments
      
      * 💄 style
      
      * 🔥 remove flag
      
      * 📌 update requirement warning
      
      * 📝 add vision README.md
      
      * 📝 update README.md
      
      * 📝 update README.md
      
      * 🎨 add image-classification tag to model card
      
      * 🚚 rename vision ️ image-classification
      
      * 📝 update image-classification README.md
      76c4d8bf
  32. 08 Jun, 2021 1 commit
  33. 05 May, 2021 1 commit
  34. 04 May, 2021 1 commit
    • Sylvain Gugger's avatar
      Reproducible checkpoint (#11582) · 6b241e0e
      Sylvain Gugger authored
      * Set generator in dataloader
      
      * Use generator in all random samplers
      
      * Checkpoint all RNG states
      
      * Final version
      
      * Quality
      
      * Test
      
      * Address review comments
      
      * Quality
      
      * Remove debug util
      
      * Add python and numpy RNGs
      
      * Split states in different files in distributed
      
      * Quality
      
      * local_rank for TPUs
      
      * Only use generator when accepted
      
      * Add test
      
      * Set seed to avoid flakiness
      
      * Make test less flaky
      
      * Quality
      6b241e0e
  35. 21 Apr, 2021 1 commit