1. 03 May, 2023 2 commits
  2. 29 Apr, 2023 1 commit
  3. 24 Apr, 2023 1 commit
  4. 18 Apr, 2023 2 commits
  5. 13 Apr, 2023 1 commit
  6. 05 Apr, 2023 1 commit
  7. 04 Apr, 2023 1 commit
  8. 03 Apr, 2023 1 commit
  9. 30 Mar, 2023 1 commit
  10. 23 Mar, 2023 1 commit
  11. 22 Mar, 2023 2 commits
  12. 21 Mar, 2023 1 commit
  13. 16 Mar, 2023 1 commit
  14. 09 Mar, 2023 1 commit
  15. 07 Mar, 2023 1 commit
  16. 01 Mar, 2023 1 commit
    • Arthur's avatar
      prepare for "__floordiv__ is deprecated and its behavior will change in a... · 44e3e3fb
      Arthur authored
      prepare for "__floordiv__ is deprecated  and its behavior will change in a future version of pytorch" (#20211)
      
      * rounding_mode = "floor"  instead of // to prevent behavioral change
      
      * add other TODO
      
      * use `torch_int_div` from pytrch_utils
      
      * same for tests
      
      * fix copies
      
      * style
      
      * use relative imports when needed
      
      * Co-authored-by: sgugger <sylvain.gugger@gmail.com>
      44e3e3fb
  17. 22 Feb, 2023 1 commit
  18. 14 Feb, 2023 1 commit
  19. 13 Feb, 2023 3 commits
  20. 09 Feb, 2023 2 commits
  21. 08 Feb, 2023 2 commits
  22. 07 Feb, 2023 1 commit
  23. 06 Feb, 2023 2 commits
  24. 03 Feb, 2023 2 commits
  25. 01 Feb, 2023 1 commit
  26. 31 Jan, 2023 1 commit
  27. 30 Jan, 2023 1 commit
  28. 24 Jan, 2023 1 commit
  29. 23 Jan, 2023 1 commit
  30. 20 Jan, 2023 1 commit
  31. 19 Jan, 2023 1 commit
    • Karim Foda's avatar
      Add hallucination filter (#18675) · b9403e95
      Karim Foda authored
      
      
      * Add hallucination penalty
      
      * Make quality changes
      
      * Inverse penalty
      
      * Fix imports & quality
      
      * Fix name spelling issue
      
      * set encoder_repetition_penalty and fix quality
      
      * Fix failing test
      
      * Add to config_common_kwargs
      
      * Fix modelling_rag error
      
      * Update src/transformers/generation_logits_process.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Remove breakpoint
      
      * Make style fixes
      
      * Update encoder_repetition_penalty default value
      
      * Merge latest main changes
      
      * Make fixup changes
      
      * Add EncoderRepetitionPenaltyLogitsProcessor to generation/__init__.py
      
      * Fix repo-inconsistency
      
      * Remove venv
      
      * Remove tensorflow-macos & add tests
      
      * Add documentation
      
      * Fix quality issues
      
      * move encoder_repetition_penalty to config
      
      * Update src/transformers/configuration_utils.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Update src/transformers/generation/configuration_utils.py
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      
      * Remove encoder_repetition_penalty from tests
      
      * Fix type error
      
      * Fix format error
      Co-authored-by: default avatarJoao Gante <joaofranciscocardosogante@gmail.com>
      b9403e95