1. 27 Jul, 2022 1 commit
  2. 21 Jul, 2022 1 commit
  3. 18 Jul, 2022 2 commits
  4. 13 Jul, 2022 1 commit
  5. 11 Jul, 2022 1 commit
  6. 06 Jul, 2022 1 commit
  7. 29 Jun, 2022 1 commit
  8. 28 Jun, 2022 1 commit
  9. 23 Jun, 2022 2 commits
  10. 22 Jun, 2022 1 commit
    • Eran Hirsch's avatar
      Add logits_processor parameter, used by `generate`, to `Seq2SeqTrainer`... · 13570381
      Eran Hirsch authored
      Add logits_processor parameter, used by `generate`, to `Seq2SeqTrainer` methods `evaluate` and `predict` (#17805)
      
      * Add logits_processor parameter, used by `generate`, to `Seq2SeqTrainer` methods `evaluate` and `predict`
      
      * Add all generate parameters to `Seq2SeqTrainer`, and also to `QuestionAnsweringSeq2SeqTrainer` which overrides it
      
      * Remove `self._num_beams` from trainer classes
      
      * - Run fixup
      - Fix "Constraint" not exposed
      - Fix synced_gpus to actually read from param
      
      * Use kwargs
      
      * Copy kwargs before making changes to it
      
      * Fix style issues unused imports
      13570381
  11. 16 Jun, 2022 1 commit
  12. 15 Jun, 2022 1 commit
  13. 07 Jun, 2022 1 commit
    • Sylvain Gugger's avatar
      Add examples telemetry (#17552) · 3cab9027
      Sylvain Gugger authored
      * Add examples telemetry
      
      * Alternative approach
      
      * Add to all other examples
      
      * Add to templates as well
      
      * Put framework separately
      
      * Same for TensorFlow
      3cab9027
  14. 03 Jun, 2022 1 commit
  15. 01 Jun, 2022 2 commits
  16. 27 May, 2022 1 commit
  17. 25 May, 2022 1 commit
  18. 18 May, 2022 1 commit
  19. 17 May, 2022 1 commit
  20. 12 May, 2022 2 commits
  21. 09 May, 2022 1 commit
  22. 04 May, 2022 1 commit
  23. 02 May, 2022 3 commits
  24. 28 Apr, 2022 1 commit
  25. 27 Apr, 2022 4 commits
    • Zachary Mueller's avatar
      Fixup no_trainer save logic (#16968) · 60e1d883
      Zachary Mueller authored
      * Fixup all examples
      60e1d883
    • Sylvain Gugger's avatar
      Fix multiple deletions of the same files in save_pretrained (#16947) · c79bbc3b
      Sylvain Gugger authored
      * Fix multiple deletions of the same files in save_pretrained
      
      * Add is_main_process argument
      c79bbc3b
    • Leonid Boytsov's avatar
      Misc. fixes for Pytorch QA examples: (#16958) · c82e017a
      Leonid Boytsov authored
      1. Fixes evaluation errors popping up when you train/eval on squad v2 (one was newly encountered and one that was previously reported Running SQuAD 1.0 sample command raises IndexError #15401 but not completely fixed).
      2. Removes boolean arguments that don't use store_true. Please, don't use these: *ANY non-empty string is being converted to True in this case and this clearly is not the desired behavior (and it creates a LOT of confusion).
      3. All no-trainer test scripts are now saving metric values in the same way (with the right prefix eval_), which is consistent with the trainer-based versions.
      4. Adds forgotten model.eval() in the no-trainer versions. This improved some results, but not everything (see the discussion in the end). Please, see the F1 scores and the discussion below.
      c82e017a
    • NielsRogge's avatar
      Add semantic script, trainer (#16834) · 479fdc49
      NielsRogge authored
      * Add first draft
      
      * Improve script and README
      
      * Improve README
      
      * Apply suggestions from code review
      
      * Improve script, add link to resulting model
      
      * Add corresponding test
      
      * Adjust learning rate
      479fdc49
  26. 20 Apr, 2022 1 commit
  27. 19 Apr, 2022 2 commits
    • NielsRogge's avatar
      Add image classification script, no trainer (#16727) · b96e82c8
      NielsRogge authored
      * Add first draft
      
      * Improve README and run fixup
      
      * Make script aligned with other scripts, improve README
      
      * Improve script and add test
      
      * Remove print statement
      
      * Apply suggestions from code review
      
      * Add num_labels to make test pass
      
      * Improve README
      b96e82c8
    • NielsRogge's avatar
      Add semantic script no trainer, v2 (#16788) · 7db7aab4
      NielsRogge authored
      * Add first draft from previous PR
      
      * First draft
      
      * Improve README and remove num_labels
      
      * Make script more aligned with other scripts
      
      * Improve README and apply suggestion from code review
      7db7aab4
  28. 15 Apr, 2022 1 commit
  29. 14 Apr, 2022 1 commit
  30. 13 Apr, 2022 1 commit