1. 23 Apr, 2021 3 commits
  2. 22 Apr, 2021 1 commit
  3. 21 Apr, 2021 2 commits
    • Sylvain Gugger's avatar
      Examples reorg (#11350) · dabeb152
      Sylvain Gugger authored
      
      
      * Base move
      
      * Examples reorganization
      
      * Update references
      
      * Put back test data
      
      * Move conftest
      
      * More fixes
      
      * Move test data to test fixtures
      
      * Update path
      
      * Apply suggestions from code review
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * Address review comments and clean
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      dabeb152
    • Nicolas Patry's avatar
      Removed `max_length` from being mandatory within `generate`. (#11314) · aad95c7c
      Nicolas Patry authored
      * Removed `max_length` from being mandatory within `generate`.
      
      - Moving on to fully using `StoppingCriteria` for `greedy` and `sample`
      modes.
      - `max_length` still used for `beam_search` and `group_beam_search`
      (Follow up PR)
      - Fixes a bug with MaxLengthStoppingCriteria (we should stop as soon a
      we hit the max_length, the comparison needs to be or equal, that affects
      the tests).
      - Added options to use `logits_processor` and `stopping_criteria`
      directly within `generate` function (so some users can define their own
      `logits_processor` and `stopping_criteria`).
      - Modified the backward compat tests to make sure we issue a warning.
      
      * Fix `max_length` argument in `generate`.
      
      * Moving validate to being functional.
      
      - Renamed `smax_length` to `stoppping_max_length`.
      
      * Removing `logits_processor` and `stopping_criteria` from `generate`
      arguments.
      
      * Deepcopy.
      
      * Fix global variable name.
      aad95c7c
  4. 20 Apr, 2021 2 commits
  5. 16 Apr, 2021 2 commits
  6. 15 Apr, 2021 2 commits
  7. 14 Apr, 2021 2 commits
  8. 13 Apr, 2021 2 commits
  9. 12 Apr, 2021 2 commits
    • Philipp Schmid's avatar
      Sagemaker test docs update for framework upgrade (#11206) · f243a5ec
      Philipp Schmid authored
      * increased train_runtime for model parallelism
      
      * added documentation for framework upgrade
      f243a5ec
    • NielsRogge's avatar
      Add DeiT (PyTorch) (#11056) · 9f126097
      NielsRogge authored
      * First draft of deit
      
      * More improvements
      
      * Remove DeiTTokenizerFast from init
      
      * Conversion script works
      
      * Add DeiT to ViT conversion script
      
      * Add tests, add head model, add support for deit in vit conversion script
      
      * Update model checkpoint names
      
      * Update image_mean and image_std, set resample to bicubic
      
      * Improve docs
      
      * Docs improvements
      
      * Add DeiTForImageClassificationWithTeacher to init
      
      * Address comments by @sgugger
      
      * Improve feature extractors
      
      * Make fix-copies
      
      * Minor fixes
      
      * Address comments by @patil-suraj
      
      * All models uploaded
      
      * Fix tests
      
      * Remove labels argument from DeiTForImageClassificationWithTeacher
      
      * Fix-copies, style and quality
      
      * Fix tests
      
      * Fix typo
      
      * Multiple docs improvements
      
      * More docs fixes
      9f126097
  10. 09 Apr, 2021 4 commits
  11. 08 Apr, 2021 6 commits
  12. 07 Apr, 2021 3 commits
  13. 06 Apr, 2021 3 commits
  14. 05 Apr, 2021 5 commits
  15. 01 Apr, 2021 1 commit