1. 16 Jun, 2020 1 commit
    • Funtowicz Morgan's avatar
      Ability to pickle/unpickle BatchEncoding pickle (reimport) (#5039) · 9e033649
      Funtowicz Morgan authored
      * Added is_fast property on BatchEncoding to indicate if the object comes from a Fast Tokenizer.
      
      * Added __get_state__() & __set_state__() to be pickable.
      
      * Correct tokens() return type from List[int] to List[str]
      
      * Added unittest for BatchEncoding pickle/unpickle
      
      * Added unittest for BatchEncoding is_fast
      
      * More careful checking on BatchEncoding unpickle tests.
      
      * Formatting.
      
      * is_fast should assertTrue on Rust tokenizers.
      
      * Ensure tensorflow has correct way of checking array_equal
      
      * More formatting.
      9e033649
  2. 15 Jun, 2020 14 commits
  3. 14 Jun, 2020 2 commits
  4. 13 Jun, 2020 1 commit
    • Sylvain Gugger's avatar
      Hans data (#4854) · 403d3098
      Sylvain Gugger authored
      * Update hans data to be able to use Trainer
      
      * Fixes
      
      * Deal with tokenizer that don't have token_ids
      
      * Clean up things
      
      * Simplify data use
      
      * Fix the input dict
      
      * Formatting + proper path in README
      403d3098
  5. 12 Jun, 2020 7 commits
  6. 11 Jun, 2020 6 commits
  7. 10 Jun, 2020 9 commits