TensorRT-LLMs/_sources/examples/llm_guided_decoding.rst.txt
2025-07-08 02:03:19 +00:00

9 lines
290 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
:lines: 4-50
:language: python
:linenos: