1. 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
  2. 18 Jun, 2020 1 commit
  3. 08 Jun, 2020 1 commit
  4. 27 Apr, 2020 1 commit
  5. 16 Apr, 2020 1 commit
  6. 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
  7. 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