Generate: basic token streaming (#22449)

* haha tokens go brrrr
This commit is contained in:
Joao Gante
2023-03-30 12:00:12 +01:00
committed by GitHub
parent f0aeb1be17
commit 228792a9dc
8 changed files with 230 additions and 7 deletions

View File

@@ -265,3 +265,7 @@ A [`Constraint`] can be used to force the generation to include specific tokens
[[autodoc]] top_k_top_p_filtering
[[autodoc]] tf_top_k_top_p_filtering
## Streamers
[[autodoc]] TextStreamer