TensorRT-LLMs/_sources/examples/llm_guided_decoding.rst.txt
2025-12-10 03:07:23 +00:00

9 lines
326 B
ReStructuredText

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