nndeploy.e_llm.sampling_params

Classes

SamplingParams([temperature, max_tokens, ...])

class nndeploy.e_llm.sampling_params.SamplingParams(temperature: float = 1.0, max_tokens: int = 64, ignore_eos: bool = False)[源代码]

基类:object

temperature: float = 1.0
max_tokens: int = 64
ignore_eos: bool = False
__init__(temperature: float = 1.0, max_tokens: int = 64, ignore_eos: bool = False) None