TensorRT-LLMs/_sources/examples/llm_guided_decoding.rst.txt
2025-07-22 03:09:09 +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-47
:language: python
:linenos: