TensorRT-LLMs/_sources/examples/llm_guided_decoding.rst.txt
2025-12-23 02:41:11 +00:00

9 lines
326 B
ReStructuredText

Generate text with guided decoding
==================================
Source https://github.com/NVIDIA/TensorRT-LLM/blob/9ba14263db0045ed3fa0860f949b5ce320107eb3/examples/llm-api/llm_guided_decoding.py.
.. literalinclude:: ../../../examples/llm-api/llm_guided_decoding.py
:lines: 4-47
:language: python
:linenos: