TensorRT-LLMs/_sources/llm-api-examples/llm_guided_decoding.rst.txt
2024-12-25 13:44:02 +08:00

9 lines
274 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
:language: python
:linenos: