mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-02-07 03:31:58 +08:00
9 lines
301 B
ReStructuredText
9 lines
301 B
ReStructuredText
Sampling Techniques Showcase
|
|
============================
|
|
Source https://github.com/NVIDIA/TensorRT-LLM/blob/9ba14263db0045ed3fa0860f949b5ce320107eb3/examples/llm-api/llm_sampling.py.
|
|
|
|
.. literalinclude:: ../../../examples/llm-api/llm_sampling.py
|
|
:lines: 4-248
|
|
:language: python
|
|
:linenos:
|