1. 09 Apr, 2024 1 commit
  2. 05 Apr, 2024 1 commit
  3. 20 Mar, 2024 1 commit
  4. 12 Mar, 2024 1 commit
  5. 21 Feb, 2024 1 commit
  6. 02 Feb, 2024 1 commit
    • Klaus Hipp's avatar
      [Docs] Fix spelling and grammar mistakes (#28825) · 721ee783
      Klaus Hipp authored
      * Fix typos and grammar mistakes in docs and examples
      
      * Fix typos in docstrings and comments
      
      * Fix spelling of `tokenizer` in model tests
      
      * Remove erroneous spaces in decorators
      
      * Remove extra spaces in Markdown link texts
      721ee783
  7. 01 Feb, 2024 1 commit
  8. 26 Jan, 2024 1 commit
  9. 22 Jan, 2024 1 commit
  10. 19 Jan, 2024 1 commit
  11. 13 Dec, 2023 1 commit
  12. 02 Nov, 2023 1 commit
  13. 31 Oct, 2023 1 commit
  14. 27 Oct, 2023 1 commit
  15. 12 Oct, 2023 1 commit
  16. 11 Oct, 2023 1 commit
  17. 03 Oct, 2023 1 commit
  18. 12 Sep, 2023 1 commit
  19. 11 Sep, 2023 1 commit
  20. 04 Sep, 2023 1 commit
  21. 01 Sep, 2023 1 commit
  22. 21 Aug, 2023 1 commit
  23. 15 Aug, 2023 1 commit
    • Zach Mueller's avatar
      Make training args fully immutable (#25435) · ca514992
      Zach Mueller authored
      * Make training args fully immutable
      
      * Working tests, PyTorch
      
      * In test_trainer
      
      * during testing
      
      * Use proper dataclass way
      
      * Fix test
      
      * Another one
      
      * Fix tf
      
      * Lingering slow
      
      * Exception
      
      * Clean
      ca514992
  24. 08 Aug, 2023 2 commits
  25. 07 Aug, 2023 1 commit
    • Jackmin801's avatar
      Allow `trust_remote_code` in example scripts (#25248) · 14510938
      Jackmin801 authored
      * pytorch examples
      
      * pytorch mim no trainer
      
      * cookiecutter
      
      * flax examples
      
      * missed line in pytorch run_glue
      
      * tensorflow examples
      
      * tensorflow run_clip
      
      * tensorflow run_mlm
      
      * tensorflow run_ner
      
      * tensorflow run_clm
      
      * pytorch example from_configs
      
      * pytorch no trainer examples
      
      * Revert "tensorflow run_clip"
      
      This reverts commit 261f86ac1f1c9e05dd3fd0291e1a1f8e573781d5.
      
      * fix: duplicated argument
      14510938
  26. 02 Aug, 2023 1 commit
  27. 28 Jul, 2023 2 commits
  28. 20 Jul, 2023 1 commit
  29. 17 Jul, 2023 1 commit
  30. 12 Jun, 2023 1 commit
  31. 07 Jun, 2023 1 commit
  32. 06 Jun, 2023 1 commit
  33. 22 May, 2023 1 commit
  34. 09 May, 2023 1 commit
  35. 05 May, 2023 1 commit
    • Ashwin Mathur's avatar
      Add `no_trainer` scripts to pre-train Vision Transformers (#23156) · fc6c8b0e
      Ashwin Mathur authored
      
      
      * Add run_mim_no_trainer.py draft from #20412
      
      Add parse_args method and copy over other dependencies
      
      Add Method call for sending telemetry
      
      Initialize Accelerator
      
      Make one log on every process
      
      Set seed and Handle repository creation
      
      Initialize dataset and Set validation split
      
      Create Config
      
      Adapt Config
      
      Update Config
      
      Create Feature Extractor
      
      Create model
      
      Set column names
      
      Create transforms
      
      Create mask generator
      
      Create method to preprocess images
      
      Shuffle datasets if needed and set transforms
      
      Create Dataloaders
      
      Add optimizer
      
      Add learning rate scheduler
      
      Prepare everything with our accelerator
      
      Tie weights for TPU training
      
      Recalculate training steps and training epochs
      
      Set accelerator checkpointing steps
      
      Initialize trackers and store configuration
      
      Set total batch size
      
      Fix typo: mlm -> mim
      
      Log info at the start of training
      
      Load in the weights and states from previous save
      
      update the progress_bar if load from checkpoint
      
      Define train loop
      
      Add evaluation loop to training
      
      Add to parse_args method
      
      Push repo to hub
      
      Save accelerator state
      
      End training and save model and feature extractor
      
      Remove unused imports
      
      Fix trailing whitespace
      
      * Update code based on comments, Rename feature_extractor to image_processor
      
      * Fix linting
      
      * Add argument for learning rate
      
      * Add argument for setting number of training epochs
      
      * Remove incorrect logger argument
      
      * Convert max_train_steps to int for tqdm
      
      ---------
      Co-authored-by: default avatarSaad Mahmud <shuvro.mahmud79@gmail.com>
      fc6c8b0e
  36. 13 Apr, 2023 1 commit
  37. 14 Mar, 2023 1 commit
  38. 22 Feb, 2023 1 commit