1. 26 Apr, 2021 1 commit
  2. 16 Apr, 2021 1 commit
  3. 07 Apr, 2021 1 commit
  4. 28 Feb, 2021 1 commit
  5. 19 Feb, 2021 1 commit
  6. 16 Feb, 2021 1 commit
  7. 05 Jan, 2021 1 commit
    • Boris Dayma's avatar
      feat(wandb): save model as artifact (#8119) · 30fa0b78
      Boris Dayma authored
      * feat(wandb): log artifacts
      
      * fix: typo
      
      * feat(wandb): ensure name is allowed
      
      * feat(wandb): log artifact
      
      * feat(wandb): saving logic
      
      * style: improve formatting
      
      * fix: unrelated typo
      
      * feat:聽use a fake trainer
      
      * fix:聽simplify
      
      * feat(wandb): log model files as artifact
      
      * style: fix style
      
      * docs(wandb): correct description
      
      * feat: unpack model + allow env Truethy values
      
      * feat: TrainerCallback can access tokenizer
      
      * style:聽fix style
      
      * feat(wandb): log more interesting metadata
      
      * feat: unpack tokenizer
      
      * feat(wandb): metadata with load_best_model_at_end
      
      * feat(wandb): more robust metadata
      
      * style(wandb): fix formatting
      30fa0b78
  8. 23 Nov, 2020 1 commit
    • Colin Brochtrup's avatar
      Add early stopping callback to pytorch trainer (#8581) · 8ffc01a7
      Colin Brochtrup authored
      * Add early stopping patience and minimum threshold metric must improve to prevent early stopping to pytorch trainer
      
      * Add early stopping test
      
      * Set patience counter to 0 if best metric not defined yet
      
      * Make early stopping a callback. Add callback event for updating the best metric for early stopping callback to trigger on.
      
      * Run make style
      
      * make funciton name sensible
      
      * Improve new argument docstring wording and hope that flakey CI test passes.
      
      * Use on_evaluation callback instead of custom. Remove some debug printing
      
      * Move early stopping arguments and state into early stopping callback
      
      * Run make style
      
      * Remove old code
      
      * Fix docs formatting. make style went rogue on me.
      
      * Remove copied attributes and fix variable
      
      * Add assertions on training arguments instead of mutating them. Move comment out of public docs.
      
      * Make separate test for early stopping callback. Add test of invalid arguments.
      
      * Run make style... I remembered before CI this time!
      
      * appease flake8
      
      * Add EarlyStoppingCallback to callback docs
      
      * Make docstring EarlyStoppingCallabck match other callbacks.
      
      * Fix typo in docs
      8ffc01a7
  9. 28 Oct, 2020 1 commit
  10. 27 Oct, 2020 1 commit
  11. 26 Oct, 2020 1 commit
    • Sylvain Gugger's avatar
      Doc styling (#8067) · 08f534d2
      Sylvain Gugger authored
      * Important files
      
      * Styling them all
      
      * Revert "Styling them all"
      
      This reverts commit 7d029395fdae8513b8281cbc2a6c239f8093503e.
      
      * Syling them for realsies
      
      * Fix syntax error
      
      * Fix benchmark_utils
      
      * More fixes
      
      * Fix modeling auto and script
      
      * Remove new line
      
      * Fixes
      
      * More fixes
      
      * Fix more files
      
      * Style
      
      * Add FSMT
      
      * More fixes
      
      * More fixes
      
      * More fixes
      
      * More fixes
      
      * Fixes
      
      * More fixes
      
      * More fixes
      
      * Last fixes
      
      * Make sphinx happy
      08f534d2
  12. 22 Oct, 2020 1 commit
  13. 21 Oct, 2020 1 commit
  14. 12 Oct, 2020 1 commit
  15. 07 Oct, 2020 1 commit
    • Sylvain Gugger's avatar
      Trainer callbacks (#7596) · 08ba4b49
      Sylvain Gugger authored
      
      
      * Initial callback proposal
      
      * Finish various callbacks
      
      * Post-rebase conflicts
      
      * Fix tests
      
      * Don't use something that's not set
      
      * Documentation
      
      * Remove unwanted print.
      
      * Document all models can work
      
      * Add tests + small fixes
      
      * Update docs/source/internal/trainer_utils.rst
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * Address review comments
      
      * Fix TF tests
      
      * Real fix this time
      
      * This one should work
      
      * Fix typo
      
      * Really fix typo
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      08ba4b49