1. 08 Nov, 2023 3 commits
  2. 07 Nov, 2023 3 commits
  3. 06 Nov, 2023 2 commits
  4. 03 Nov, 2023 3 commits
  5. 02 Nov, 2023 6 commits
  6. 01 Nov, 2023 7 commits
  7. 31 Oct, 2023 7 commits
  8. 30 Oct, 2023 6 commits
  9. 27 Oct, 2023 3 commits
    • Patrick von Platen's avatar
      [Attention Mask] Refactor all encoder-decoder attention mask (#27086) · ac589375
      Patrick von Platen authored
      
      
      * [FA2 Bart] Add FA2 to all Bart-like
      
      * better
      
      * Refactor attention mask
      
      * remove all customized atteniton logic
      
      * format
      
      * mass rename
      
      * replace _expand_mask
      
      * replace _expand_mask
      
      * mass rename
      
      * add pt files
      
      * mass replace & rename
      
      * mass replace & rename
      
      * mass replace & rename
      
      * mass replace & rename
      
      * Update src/transformers/models/idefics/modeling_idefics.py
      
      * fix more
      
      * clean more
      
      * fix more
      
      * make style
      
      * fix again
      
      * finish
      
      * finish
      
      * finish
      
      * finish
      
      * finish
      
      * finish
      
      * finish
      
      * finish
      
      * finish
      
      * finish
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      
      * small fix mistral
      
      * finish
      
      * finish
      
      * finish
      
      * finish
      
      ---------
      Co-authored-by: default avataramyeroberts <22614925+amyeroberts@users.noreply.github.com>
      ac589375
    • Isaac Chung's avatar
      Add early stopping for Bark generation via logits processor (#26675) · e2bffcfa
      Isaac Chung authored
      * add early stopping logits processor
      
      * black formmated
      
      * indent
      
      * follow method signature
      
      * actual logic
      
      * check for None
      
      * address comments on docstrings and method signature
      
      * add unit test under `LogitsProcessorTest` wip
      
      * unit test passing
      
      * black formatted
      
      * condition per sample
      
      * add to BarkModelIntegrationTests
      
      * wip BarkSemanticModelTest
      
      * rename and add to kwargs handling
      
      * not add to BarkSemanticModelTest
      
      * correct logic and assert last outputs tokens different in test
      
      * doc-builder style
      
      * read from kwargs as well
      
      * assert len of with less than that of without
      
      * ruff
      
      * add back seed and test case
      
      * add original impl default suggestion
      
      * doc-builder
      
      * rename and use softmax
      
      * switch back to LogitsProcessor and update docs wording
      
      * camelCase and spelling and saving compute
      
      * assert strictly less than
      
      * assert less than
      
      * expand test_generate_semantic_early_stop instead
      e2bffcfa
    • Arthur's avatar
      Revert "add exllamav2 arg" (#27102) · 90ee9cea
      Arthur authored
      Revert "add exllamav2 arg (#26437)"
      
      This reverts commit 8214d6e7.
      90ee9cea