Property Temperature
- Namespace
- LMKit.TextGeneration.Sampling
- Assembly
- LM-Kit.NET.dll
Temperature
Gets or sets the output randomness level.
Lowering the temperature leads to more deterministic and less diverse completions. Values should be in the range [0, 1], where 0 results in a deterministic output, and values closer to 1 introduce greater randomness.
The default value is 0.8, offering a balance between randomness and determinism.
public float Temperature { get; set; }