mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-22 03:35:00 +08:00
9 lines
274 B
ReStructuredText
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:
|