1. 17 Nov, 2020 2 commits
    • Patrick von Platen's avatar
      T5 & mT5 (#8552) · 86822a35
      Patrick von Platen authored
      * add mt5 and t5v1_1 model
      
      * fix tests
      
      * correct some imports
      
      * add tf model
      
      * finish tf t5
      
      * improve examples
      
      * fix copies
      
      * clean doc
      86822a35
    • Sylvain Gugger's avatar
      Reorganize repo (#8580) · c89bdfbe
      Sylvain Gugger authored
      * Put models in subfolders
      
      * Styling
      
      * Fix imports in tests
      
      * More fixes in test imports
      
      * Sneaky hidden imports
      
      * Fix imports in doc files
      
      * More sneaky imports
      
      * Finish fixing tests
      
      * Fix examples
      
      * Fix path for copies
      
      * More fixes for examples
      
      * Fix dummy files
      
      * More fixes for example
      
      * More model import fixes
      
      * Is this why you're unhappy GitHub?
      
      * Fix imports in conver command
      c89bdfbe
  2. 13 Nov, 2020 1 commit
  3. 10 Nov, 2020 1 commit
  4. 26 Oct, 2020 1 commit
    • Sylvain Gugger's avatar
      Doc styling (#8067) · 08f534d2
      Sylvain Gugger authored
      * Important files
      
      * Styling them all
      
      * Revert "Styling them all"
      
      This reverts commit 7d029395fdae8513b8281cbc2a6c239f8093503e.
      
      * Syling them for realsies
      
      * Fix syntax error
      
      * Fix benchmark_utils
      
      * More fixes
      
      * Fix modeling auto and script
      
      * Remove new line
      
      * Fixes
      
      * More fixes
      
      * Fix more files
      
      * Style
      
      * Add FSMT
      
      * More fixes
      
      * More fixes
      
      * More fixes
      
      * More fixes
      
      * Fixes
      
      * More fixes
      
      * More fixes
      
      * Last fixes
      
      * Make sphinx happy
      08f534d2
  5. 28 Sep, 2020 1 commit
  6. 23 Sep, 2020 1 commit
  7. 26 Aug, 2020 2 commits
  8. 22 Jun, 2020 1 commit
  9. 16 Jun, 2020 1 commit
  10. 02 Jun, 2020 1 commit
    • Julien Chaumond's avatar
      Kill model archive maps (#4636) · d4c2cb40
      Julien Chaumond authored
      * Kill model archive maps
      
      * Fixup
      
      * Also kill model_archive_map for MaskedBertPreTrainedModel
      
      * Unhook config_archive_map
      
      * Tokenizers: align with model id changes
      
      * make style && make quality
      
      * Fix CI
      d4c2cb40
  11. 18 May, 2020 1 commit
  12. 20 Mar, 2020 1 commit
  13. 19 Mar, 2020 1 commit
    • Patrick von Platen's avatar
      Support T5 Generation (#3228) · bbf26c4e
      Patrick von Platen authored
      
      
      * fix conflicts
      
      * update bart max length test
      
      * correct spelling mistakes
      
      * implemented model specific encode function
      
      * fix merge conflicts
      
      * better naming
      
      * save intermediate state -> need to rethink strucuture a bit
      
      * leave tf problem as it is for now
      
      * current version
      
      * add layers.pop
      
      * remove ipdb
      
      * make style
      
      * clean return cut decoding
      
      * remove ipdbs
      
      * Fix restoring layers in the decoders that doesnt exists.
      
      * push good intermediate solution for now
      
      * fix conflicts
      
      * always good to refuse to merge conflicts when rebasing
      
      * fix small bug
      
      * improve function calls
      
      * remove unused file
      
      * add correct scope behavior for t5_generate
      Co-authored-by: default avatarMorgan Funtowicz <funtowiczmo@gmail.com>
      bbf26c4e
  14. 11 Mar, 2020 2 commits
  15. 15 Jan, 2020 1 commit
  16. 13 Jan, 2020 1 commit
  17. 06 Jan, 2020 2 commits
  18. 22 Dec, 2019 5 commits
    • Aymeric Augustin's avatar
      Remove __future__ imports. · c824d15a
      Aymeric Augustin authored
      c824d15a
    • Aymeric Augustin's avatar
      Move source code inside a src subdirectory. · 6be7cdda
      Aymeric Augustin authored
      This prevents transformers from being importable simply because the CWD
      is the root of the git repository, while not being importable from other
      directories. That led to inconsistent behavior, especially in examples.
      
      Once you fetch this commit, in your dev environment, you must run:
      
          $ pip uninstall transformers
          $ pip install -e .
      6be7cdda
    • Aymeric Augustin's avatar
      Fix F401 flake8 warning (x88 / 116). · 783a6169
      Aymeric Augustin authored
      This change is mostly autogenerated with:
      
          $ python -m autoflake --in-place --recursive --remove-all-unused-imports --ignore-init-module-imports examples templates transformers utils hubconf.py setup.py
      
      I made minor changes in the generated diff.
      783a6169
    • Aymeric Augustin's avatar
      Fix F401 flake8 warning (x152 / 268). · 80327a13
      Aymeric Augustin authored
      This change is mostly autogenerated with:
      
          $ python -m autoflake --in-place --recursive examples templates transformers utils hubconf.py setup.py
      
      I made minor changes in the generated diff.
      80327a13
    • Aymeric Augustin's avatar
      Sort imports with isort. · 158e82e0
      Aymeric Augustin authored
      This is the result of:
      
          $ isort --recursive examples templates transformers utils hubconf.py setup.py
      158e82e0
  19. 21 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Reformat source code with black. · fa84ae26
      Aymeric Augustin authored
      This is the result of:
      
          $ black --line-length 119 examples templates transformers utils hubconf.py setup.py
      
      There's a lot of fairly long lines in the project. As a consequence, I'm
      picking the longest widely accepted line length, 119 characters.
      
      This is also Thomas' preference, because it allows for explicit variable
      names, to make the code easier to understand.
      fa84ae26
  20. 16 Dec, 2019 1 commit
  21. 13 Dec, 2019 1 commit
  22. 10 Dec, 2019 1 commit
  23. 08 Nov, 2019 1 commit
  24. 07 Nov, 2019 1 commit
  25. 06 Nov, 2019 1 commit
  26. 05 Nov, 2019 1 commit
  27. 30 Oct, 2019 1 commit