Property Temperature
- Namespace
- LMKit.TextGeneration.Sampling
- Assembly
- LM-Kit.NET.dll
Temperature
Specifies output randomness level.
Lowering the temperature leads to fewer random completions.
As the temperature approaches zero, the model becomes more deterministic and repetitive.
Use a floating-point value within the range [0 (more deterministic), 1 (more random)].
public float Temperature { get; set; }
Property Value
- float
The default value is 0.8, which provides a balance between randomness and determinism.