1. 10 Jun, 2022 1 commit
  2. 04 Apr, 2022 1 commit
  3. 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
  4. 23 Feb, 2022 1 commit
  5. 25 Jan, 2022 1 commit
    • Sylvain Gugger's avatar
      Avoid using get_list_of_files (#15287) · e6954707
      Sylvain Gugger authored
      * Avoid using get_list_of_files in config
      
      * Wip, change tokenizer file getter
      
      * Remove call in tokenizer files
      
      * Remove last call to get_list_model_files
      
      * Better tests
      
      * Unit tests for new function
      
      * Document bad API
      e6954707
  6. 21 Jan, 2022 2 commits
    • Sylvain Gugger's avatar
      Refine errors for pretrained objects (#15261) · 6ac77534
      Sylvain Gugger authored
      * Refine errors for pretrained objects
      
      * PoC to avoid using get_list_of_files
      
      * Adapt tests to use new errors
      
      * Quality + Fix PoC
      
      * Revert "PoC to avoid using get_list_of_files"
      
      This reverts commit cb93b7cae8504ef837c2a7663cb7955e714f323e.
      
      * Revert "Quality + Fix PoC"
      
      This reverts commit 3ba6d0d4ca546708b31d355baa9e68ba9736508f.
      
      * Fix doc
      
      * Revert PoC
      
      * Add feature extractors
      
      * More tests and PT model
      
      * Adapt error message
      
      * Feature extractor tests
      
      * TF model
      
      * Flax model and test
      
      * Merge flax auto tests
      
      * Add tokenization
      
      * Fix test
      6ac77534
    • Jonas Kuball's avatar
      Adds missing module_specs for usages of _LazyModule (#15230) · c962c2ad
      Jonas Kuball authored
      * Add missing __spec__ for transformers.models.auto
      
      * Moves the __spec__-test to the UnitTest class
      
      * Adds module_spec to all instances of _LazyModule
      
      * Refactors an old test from pytest to unittest
      c962c2ad
  7. 20 Oct, 2021 1 commit
  8. 21 Sep, 2021 1 commit
  9. 30 Aug, 2021 1 commit
    • Laura Hanu's avatar
      Add missing module __spec__ (#13321) · 35236b87
      Laura Hanu authored
      * added missing __spec__ to _LazyModule
      
      * test __spec__ is not None after module import
      
      * changed module_spec arg to be optional in _LazyModule
      
      * fix style issue
      
      * added module spec test to test_file_utils
      35236b87
  10. 16 Mar, 2021 1 commit
  11. 07 Dec, 2020 1 commit
  12. 10 Nov, 2020 1 commit