1. 02 Dec, 2020 5 commits
    • ryota-mo's avatar
      Fix typo in docstring (#8905) · 801b2cb3
      ryota-mo authored
      801b2cb3
    • Stas Bekman's avatar
      [trainer] improve code readability (#8903) · 7e1cb00c
      Stas Bekman authored
      * [trainer] improve code
      
      This PR:
      - removes redundant code 
      ```
      self.model = model if model is not None else None
      ```
      and
      ```
      self.model = model
      ```
      are the same.
      
      * separate attribute assignment from code logic - which simplifies things further.
      
      * whitespace
      7e1cb00c
    • Nicolas Patry's avatar
      Warning about too long input for fast tokenizers too (#8799) · a8c3f9aa
      Nicolas Patry authored
      * Warning about too long input for fast tokenizers too
      
      If truncation is not set in tokenizers, but the tokenization is too long
      for the model (`model_max_length`), we used to trigger a warning that
      
      The input would probably fail (which it most likely will).
      
      This PR re-enables the warning for fast tokenizers too and uses common
      code for the trigger to make sure it's consistent across.
      
      * Checking for pair of inputs too.
      
      * Making the function private and adding it's doc.
      
      * Remove formatting ?? in odd place.
      
      * Missed uppercase.
      a8c3f9aa
    • sandip's avatar
      Transfoxl seq classification (#8868) · f6b44e61
      sandip authored
      * Transfoxl sequence classification
      
      * Transfoxl sequence classification
      f6b44e61
    • Stas Bekman's avatar
      [ci] skip doc jobs take #3 (#8885) · 24f0c2fe
      Stas Bekman authored
      * check that we get any match first
      
      * docs only
      
      * 2 docs only
      
      * add code
      
      * restore
      24f0c2fe
  2. 01 Dec, 2020 11 commits
  3. 30 Nov, 2020 15 commits
  4. 29 Nov, 2020 3 commits
    • Stas Bekman's avatar
      [CI] implement job skipping for doc-only PRs (#8826) · c239dcda
      Stas Bekman authored
      * implement job skipping for doc-only PRs
      
      * silent grep is crucial
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * wip
      
      * let's add doc
      
      * let's add code
      
      * revert test commits
      
      * restore
      
      * Better name
      
      * Better name
      
      * Better name
      
      * some more testing
      
      * some more testing
      
      * some more testing
      
      * finish testing
      c239dcda
    • Guy Rosin's avatar
      Minor docs typo fixes (#8797) · 3a08cc1c
      Guy Rosin authored
      
      
      * Fix minor typos
      
      * Additional typos
      
      * Style fix
      Co-authored-by: default avatarguyrosin <guyrosin@assist-561.cs.technion.ac.il>
      3a08cc1c
    • Patrick von Platen's avatar
      [Pegasus] Refactor Tokenizer (#8731) · 5ced23dc
      Patrick von Platen authored
      * refactor
      
      * further refactor
      
      * fix the rest tomorrow
      
      * save intermediate
      
      * finish slow tokenizer
      
      * make more tests pass
      
      * finish refactor
      
      * fix comment
      
      * clean further
      
      * fix name
      
      * fix naming
      
      * Update src/transformers/models/reformer/tokenization_reformer.py
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      * refactor
      
      * fix init tokenizers
      
      * refactor
      
      * improve convert
      
      * refactor
      
      * correct convert slow tokenizer
      
      * final fix for Pegasus Tok
      
      * remove ipdb
      
      * improve links
      5ced23dc
  5. 28 Nov, 2020 1 commit
  6. 27 Nov, 2020 5 commits