-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an example and type enhancement for TextStreamer (#1066)
* typing: GenerationConfig option for TextStreamer * docs: streaming example with following the style * docs: streaming description from @xenova's suggestion Co-authored-by: Joshua Lochner <[email protected]> * fix: streaming example from @xenova's suggestion Co-authored-by: Joshua Lochner <[email protected]> * fix: <pre> tag by wrapping it in a <detail> tag * fix: remove newlines for proper rendering --------- Co-authored-by: Joshua Lochner <[email protected]>
- Loading branch information
Showing
3 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters