1. 16 Aug, 2023 1 commit
  2. 09 Aug, 2023 1 commit
  3. 06 Aug, 2023 1 commit
  4. 20 Jul, 2023 1 commit
  5. 27 Jun, 2023 1 commit
  6. 23 Jun, 2023 1 commit
  7. 07 Jun, 2023 1 commit
  8. 18 May, 2023 2 commits
  9. 16 May, 2023 1 commit
  10. 08 May, 2023 1 commit
  11. 03 May, 2023 1 commit
  12. 29 Apr, 2023 1 commit
  13. 24 Apr, 2023 1 commit
  14. 18 Apr, 2023 2 commits
  15. 13 Apr, 2023 1 commit
  16. 23 Mar, 2023 1 commit
  17. 22 Mar, 2023 1 commit
  18. 16 Mar, 2023 1 commit
  19. 22 Feb, 2023 1 commit
  20. 14 Feb, 2023 1 commit
  21. 13 Feb, 2023 3 commits
  22. 09 Feb, 2023 1 commit
  23. 08 Feb, 2023 2 commits
  24. 07 Feb, 2023 1 commit
  25. 06 Feb, 2023 2 commits
  26. 03 Feb, 2023 2 commits
  27. 01 Feb, 2023 1 commit
  28. 31 Jan, 2023 1 commit
  29. 30 Jan, 2023 1 commit
  30. 20 Jan, 2023 1 commit
  31. 04 Jan, 2023 1 commit
  32. 03 Jan, 2023 1 commit
    • Motoki Wu's avatar
      Add custom stop token ids for generation (#20727) · 45da7cec
      Motoki Wu authored
      * Add StopIdStoppingCriteria
      
      * add a working test for stop id criteria
      
      * add to global scope
      
      * add stop_ids to generate
      
      * add pipeline test
      
      * use tokenizer encode in test
      
      * add test to generation utils
      
      * reformat
      
      * fixup
      
      * make-fix-copies
      
      * rename to stop_token_id
      
      * use stop_tokens instead
      
      * add to text to text generation
      
      * make fixup
      
      * make repo-consistency
      
      * Add support for list of ints for eos_token_id inside generation/utils.py
      
      * Instead of having if elses, cast the eos_token_id into a List[int]
      
      * Add List[int] support for logits_process.py
      
      * add List[int] for beam_search.py
      
      * add List[int] for forced_eos_token_id
      
      * revert stop token id stopping criteria changes
      
      * make fixup
      
      * fix tests
      
      * add eos_token_id to generation/utils.py and added tests test_utils.py
      
      * add eos_token_id type hints and fix for pad tokens
      
      * add comments
      
      * remove some prints and remove forced false test
      
      * fix
      
      * put back test_stop_sequence_stopping_criteria
      
      * remove unused import and make fixup
      
      * add a none check
      
      * update docstring
      
      * add more docstring for list ints
      
      * make fixup
      45da7cec
  33. 21 Nov, 2022 1 commit