1. 17 Jul, 2023 2 commits
  2. 12 Jul, 2023 1 commit
  3. 03 Jul, 2023 1 commit
  4. 30 Jun, 2023 1 commit
  5. 27 Jun, 2023 1 commit
  6. 23 Jun, 2023 1 commit
    • Matt's avatar
      Improved keras imports (#24448) · 8e164c54
      Matt authored
      * An end to accursed version-specific imports
      
      * No more K.is_keras_tensor() either
      
      * Update dependency tables
      
      * Use a cleaner call context function getter
      
      * Add a cap to <2.14
      
      * Add cap to examples requirements too
      8e164c54
  7. 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
  8. 12 Jun, 2023 1 commit
  9. 07 Jun, 2023 1 commit
  10. 06 Jun, 2023 2 commits
  11. 02 Jun, 2023 2 commits
  12. 31 May, 2023 2 commits
  13. 26 May, 2023 1 commit
  14. 25 May, 2023 3 commits
  15. 24 May, 2023 1 commit
  16. 23 May, 2023 4 commits
  17. 22 May, 2023 2 commits
  18. 18 May, 2023 1 commit
  19. 16 May, 2023 1 commit
  20. 11 May, 2023 2 commits
  21. 10 May, 2023 1 commit
  22. 09 May, 2023 3 commits
  23. 08 May, 2023 1 commit
  24. 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
  25. 03 May, 2023 1 commit
  26. 02 May, 2023 2 commits