1. 16 Nov, 2020 1 commit
    • Sylvain Gugger's avatar
      Switch `return_dict` to `True` by default. (#8530) · 1073a2bd
      Sylvain Gugger authored
      * Use the CI to identify failing tests
      
      * Remove from all examples and tests
      
      * More default switch
      
      * Fixes
      
      * More test fixes
      
      * More fixes
      
      * Last fixes hopefully
      
      * Use the CI to identify failing tests
      
      * Remove from all examples and tests
      
      * More default switch
      
      * Fixes
      
      * More test fixes
      
      * More fixes
      
      * Last fixes hopefully
      
      * Run on the real suite
      
      * Fix slow tests
      1073a2bd
  2. 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
  3. 19 Oct, 2020 1 commit
  4. 23 Sep, 2020 1 commit
  5. 30 Jul, 2020 1 commit
    • Oren Amsalem's avatar
      Actually the extra_id are from 0-99 and not from 1-100 (#5967) · d24ea708
      Oren Amsalem authored
      a = tokenizer.encode("we got a <extra_id_99>", return_tensors='pt',add_special_tokens=True)
      print(a)
      >tensor([[   62,   530,     3,     9, 32000]])
      a = tokenizer.encode("we got a <extra_id_100>", return_tensors='pt',add_special_tokens=True)
      print(a)
      >tensor([[   62,   530,     3,     9,     3,     2, 25666,   834,    23,    26,
                 834,  2915,  3155]])
      d24ea708
  6. 18 Jun, 2020 1 commit
  7. 08 Jun, 2020 1 commit
  8. 27 Apr, 2020 1 commit
  9. 16 Apr, 2020 1 commit
  10. 30 Mar, 2020 1 commit
    • Patrick von Platen's avatar
      [T5] Add training documenation (#3507) · 5b44e0a3
      Patrick von Platen authored
      * Add clear description of how to train T5
      
      * correct docstring in T5
      
      * correct typo
      
      * correct docstring format
      
      * update t5 model docs
      
      * implement collins feedback
      
      * fix typo and add more explanation for sentinal tokens
      
      * delete unnecessary todos
      5b44e0a3
  11. 27 Mar, 2020 1 commit
    • Patrick von Platen's avatar
      Add T5 to docs (#3461) · fa9af246
      Patrick von Platen authored
      * add t5 docs basis
      
      * improve docs
      
      * add t5 docs
      
      * improve t5 docstring
      
      * add t5 tokenizer docstring
      
      * finish docstring
      
      * make style
      
      * add pretrained models
      
      * correct typo
      
      * make examples work
      
      * finalize docs
      fa9af246