TensorRT-LLMs/latest/_sources/examples/llm_guided_decoding.rst.txt
2026-01-08 05:44:01 +00:00

9 lines
326 B
ReStructuredText

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