mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-02-20 09:45:21 +08:00
9 lines
265 B
ReStructuredText
9 lines
265 B
ReStructuredText
Sampling Techniques Showcase
|
|
============================
|
|
Source https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/llm-api/llm_sampling.py.
|
|
|
|
.. literalinclude:: ../../../examples/llm-api/llm_sampling.py
|
|
:lines: 4-229
|
|
:language: python
|
|
:linenos:
|