mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-02-16 07:53:55 +08:00
9 lines
301 B
ReStructuredText
9 lines
301 B
ReStructuredText
Sampling Techniques Showcase
|
|
============================
|
|
Source https://github.com/NVIDIA/TensorRT-LLM/blob/31116825b39f4e6a6a1e127001f5204b73d1dc32/examples/llm-api/llm_sampling.py.
|
|
|
|
.. literalinclude:: ../../../examples/llm-api/llm_sampling.py
|
|
:lines: 4-229
|
|
:language: python
|
|
:linenos:
|