1. 17 Sep, 2021 4 commits
    • Matt's avatar
      Removed console spam from misfiring warnings (#13625) · 0eb02871
      Matt authored
      * Removed misfiring warnings
      
      * Revert "Removed misfiring warnings"
      
      This reverts commit cea90de325056b9c1cbcda2bd2613a785c1639ce.
      
      * Retain the warning, but only when the user actually overrides things
      
      * Fix accidentally breaking just about every model on the hub simultaneously
      
      * Style pass
      0eb02871
    • Li-Huai (Allan) Lin's avatar
      Fix special tokens not correctly tokenized (#13489) · da8beaaf
      Li-Huai (Allan) Lin authored
      * Fix special tokens not correctly tokenized
      
      * Add testing
      
      * Fix
      
      * Fix
      
      * Use user workflows instead of directly assigning variables
      
      * Enable test of fast tokenizers
      
      * Update test of canine tokenizer
      da8beaaf
    • Patrick von Platen's avatar
      [Trainer] Add nan/inf logging filter (#13619) · 1f9dcfc1
      Patrick von Platen authored
      * finish
      
      * add test
      
      * push
      
      * remove unnecessary code
      
      * up
      
      * correct test
      
      * Update src/transformers/training_args.py
      1f9dcfc1
    • Ibraheem Moosa's avatar
      Optimize Token Classification models for TPU (#13096) · eae7a96b
      Ibraheem Moosa authored
      * Optimize Token Classification models for TPU
      
      As per the XLA document XLA cannot handle masked indexing well. So token classification
      models for BERT and others use an implementation based on `torch.where`. This implementation
      works well on TPU. 
      
      ALBERT token classification model uses the masked indexing which causes performance issues
      on TPU. This PR fixes this issue by following the BERT implementation.
      
      * Same fix for ELECTRA
      
      * Same fix for LayoutLM
      eae7a96b
  2. 16 Sep, 2021 11 commits
  3. 15 Sep, 2021 4 commits
  4. 14 Sep, 2021 8 commits
  5. 13 Sep, 2021 10 commits
  6. 10 Sep, 2021 3 commits