1. 09 May, 2023 10 commits
  2. 08 May, 2023 6 commits
  3. 07 May, 2023 3 commits
  4. 06 May, 2023 1 commit
  5. 05 May, 2023 6 commits
    • raghavanone's avatar
      Add FlaxWhisperForAudioClassification model (#23173) · 312b104f
      raghavanone authored
      * Add FlaxWhisperForAudioClassification model
      
      * Add models to init
      
      * Add models to init
      
      * Fix copies
      
      * Fix automapping
      
      * Fix failing test
      312b104f
    • 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
    • Connor Henderson's avatar
      fix: Passing language as acronym to Whisper generate (#23141) · 17083b9b
      Connor Henderson authored
      * add fix
      
      * address comments
      
      * remove error formatting
      17083b9b
    • Gabriel Yang's avatar
      馃寪 [i18n-KO] docs: ko: Translate `multiple_choice.mdx` (#23064) · 40082d59
      Gabriel Yang authored
      * update doctree
      
      * doc: ko: translate multiple choice
      
      * Update reviews
      40082d59
    • Andrei Filatov's avatar
      77412343
    • Perry Huang's avatar
      Add TrOCR resources (#23142) · 1b9c352e
      Perry Huang authored
      * Add TrOCR resources
      
      * Made fixes suggested by stevhliu
      1b9c352e
  6. 04 May, 2023 12 commits
  7. 03 May, 2023 2 commits