1. 21 Apr, 2021 4 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
    • Stas Bekman's avatar
      [deepspeed] fix resume from checkpoint (#11352) · ca7ff64f
      Stas Bekman authored
      This PR fixes a bug that most likely somehow got exposed (not caused) by https://github.com/huggingface/transformers/pull/11318 - surprisingly the same test worked just fine before that other PR.
      ca7ff64f
    • Sylvain Gugger's avatar
      Honor contributors to models (#11329) · 74712e22
      Sylvain Gugger authored
      * Honor contributors to models
      
      * Fix typo
      
      * Address review comments
      
      * Add more authors
      74712e22
    • 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
  2. 20 Apr, 2021 6 commits
  3. 19 Apr, 2021 4 commits
  4. 16 Apr, 2021 5 commits
  5. 15 Apr, 2021 3 commits
  6. 14 Apr, 2021 10 commits
  7. 13 Apr, 2021 8 commits