mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-02-10 21:13:34 +08:00
* Update switcher.json Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com> * Update 0.19 doc Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com> --------- Signed-off-by: Kaiyu Xie <26294424+kaiyux@users.noreply.github.com>
9 lines
274 B
ReStructuredText
9 lines
274 B
ReStructuredText
Generate text with guided decoding
|
|
==================================
|
|
|
|
Source https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/llm-api/llm_guided_decoding.py.
|
|
|
|
.. literalinclude:: ../../../examples/llm-api/llm_guided_decoding.py
|
|
:language: python
|
|
:linenos:
|