1. 22 Mar, 2023 1 commit
  2. 16 Mar, 2023 1 commit
  3. 22 Feb, 2023 1 commit
  4. 14 Feb, 2023 1 commit
  5. 13 Feb, 2023 3 commits
  6. 09 Feb, 2023 1 commit
  7. 08 Feb, 2023 2 commits
  8. 07 Feb, 2023 1 commit
  9. 06 Feb, 2023 2 commits
  10. 03 Feb, 2023 2 commits
  11. 01 Feb, 2023 1 commit
  12. 31 Jan, 2023 1 commit
  13. 30 Jan, 2023 1 commit
  14. 20 Jan, 2023 1 commit
  15. 04 Jan, 2023 1 commit
  16. 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
  17. 21 Nov, 2022 1 commit
  18. 14 Nov, 2022 1 commit
  19. 09 Nov, 2022 1 commit
  20. 01 Nov, 2022 1 commit
  21. 21 Oct, 2022 1 commit
  22. 19 Oct, 2022 1 commit
    • GMFTBY's avatar
      Adding the state-of-the-art contrastive search decoding methods for the... · 71786b10
      GMFTBY authored
      Adding the state-of-the-art contrastive search decoding methods for the codebase of generation_utils.py (#19477)
      
      * add: the contrastive search for generaton_utils
      
      * add: testing scripts for contrastive search under examples/text-generation
      
      * update the quality of codes
      
      * revise the docstring; make the generation_contrastive_search.py scripts;
      
      * revise the examples/pytorch/text-generation/run_generation_contrastive_search.py to the auto-APIs format
      
      * revise the necessary documents
      
      * fix: revise the docstring of generation_contrastive_search.py
      
      * Fix the code indentation
      
      * fix: revise the nits and examples in contrastive_search docstring.
      
      * fix the copyright
      
      * delete generation_contrastive_search.py
      
      * revise the logic in contrastive_search
      
      * update the intergration test and the docstring
      
      * run the tests over
      
      * add the slow decorate to the contrastive_search intergrate test
      
      * add more test
      
      * do the style, quality, consistency checks
      71786b10
  23. 30 Sep, 2022 1 commit
  24. 02 Sep, 2022 1 commit
  25. 19 Aug, 2022 1 commit
  26. 12 Aug, 2022 1 commit
  27. 23 Jul, 2022 1 commit
  28. 28 Jun, 2022 1 commit
  29. 21 Jun, 2022 1 commit
  30. 10 Jun, 2022 1 commit
  31. 19 May, 2022 1 commit
  32. 12 May, 2022 1 commit
  33. 11 Apr, 2022 1 commit
  34. 16 Mar, 2022 1 commit
  35. 07 Mar, 2022 1 commit