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