Matt
52a0213755
Add assistant prefill for chat templates and TextGenerationPipeline (#33198)
* Add assistant prefill to chat templates
* Add assistant prefill to pipeline
* Add assistant prefill to pipeline
* Tweak another test that ended in assistant message
* Update tests that ended in assistant messages
* Update tests that ended in assistant messages
* Replace assistant_prefill with continue_final_message
* Allow passing continue_final_message to pipeline
* Small fixup
* Add continue_final_message as a pipeline kwarg
* Update docstrings
* Move repos to hf-internal-testing!
* Update src/transformers/tokenization_utils_base.py
Co-authored-by: Lysandre Debut <hi@lysand.re>
* Add explanatory comment
* make fixup
* Update chat templating docs to explain continue_last_message
---------
Co-authored-by: Lysandre Debut <hi@lysand.re>
2024-09-02 13:23:47 +01:00
..
2022-02-23 15:46:28 -05:00
2024-07-23 14:54:38 +08:00
2024-08-13 11:29:57 +01:00
2024-09-02 13:23:47 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-22 17:46:17 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-08 13:49:21 +02:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-09-02 13:23:47 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00
2024-08-27 18:50:27 +01:00
2024-07-05 17:21:50 +01:00
2024-07-05 17:21:50 +01:00