1. 08 Apr, 2024 1 commit
    • Utkarsha Gupte's avatar
      [#29174] ImportError Fix: Trainer with PyTorch requires accelerate>=0.20.1 Fix (#29888) · 0201f642
      Utkarsha Gupte authored
      
      
      * ImportError: Trainer with PyTorch requires accelerate>=0.20.1 Fix
      
      Adding the evaluate and accelerate installs at the beginning of the cell to fix the issue
      
      * ImportError Fix: Trainer with PyTorch requires accelerate>=0.20.1
      
      * Import Error Fix
      
      * Update installation.md
      
      * Update quicktour.md
      
      * rollback other lang changes
      
      * Update _config.py
      
      * updates for other languages
      
      * fixing error
      
      * Tutorial Update
      
      * Update tokenization_utils_base.py
      
      * Just use an optimizer string to pass the doctest?
      
      ---------
      Co-authored-by: default avatarMatt <rocketknight1@gmail.com>
      0201f642
  2. 16 Nov, 2023 1 commit
    • Arthur's avatar
      [`Styling`] stylify using ruff (#27144) · 651408a0
      Arthur authored
      
      
      * try to stylify using ruff
      
      * might need to remove these changes?
      
      * use ruf format andruff check
      
      * use isinstance instead of type comparision
      
      * use # fmt: skip
      
      * use # fmt: skip
      
      * nits
      
      * soem styling changes
      
      * update ci job
      
      * nits isinstance
      
      * more files update
      
      * nits
      
      * more nits
      
      * small nits
      
      * check and format
      
      * revert wrong changes
      
      * actually use formatter instead of checker
      
      * nits
      
      * well docbuilder is overwriting this commit
      
      * revert notebook changes
      
      * try to nuke docbuilder
      
      * style
      
      * fix feature exrtaction test
      
      * remve `indent-width = 4`
      
      * fixup
      
      * more nits
      
      * update the ruff version that we use
      
      * style
      
      * nuke docbuilder styling
      
      * leve the print for detected changes
      
      * nits
      
      * Remove file I/O
      Co-authored-by: default avatarcharliermarsh <charlie.r.marsh@gmail.com>
      
      * style
      
      * nits
      
      * revert notebook changes
      
      * Add # fmt skip when possible
      
      * Add # fmt skip when possible
      
      * Fix
      
      * More `  # fmt: skip` usage
      
      * More `  # fmt: skip` usage
      
      * More `  # fmt: skip` usage
      
      * NIts
      
      * more fixes
      
      * fix tapas
      
      * Another way to skip
      
      * Recommended way
      
      * Fix two more fiels
      
      * Remove asynch
      Remove asynch
      
      ---------
      Co-authored-by: default avatarcharliermarsh <charlie.r.marsh@gmail.com>
      651408a0
  3. 21 Dec, 2022 1 commit
  4. 28 Mar, 2022 1 commit
  5. 23 Mar, 2022 1 commit
  6. 11 Mar, 2022 1 commit
  7. 10 Dec, 2021 2 commits