Property LocallyTypical
- Namespace
- LMKit.TextGeneration.Sampling
- Assembly
- LM-Kit.NET.dll
LocallyTypical
Specifies diversity through Locally Typical sampling method.
Use a floating-point value within the range [0 , 1].
Use 1 to disable this sampler.
public float LocallyTypical { get; set; }
Property Value
- float
The default value is 1, which disables this sampling method.
Remarks
This parameter has no effect when Temperature property is set to 0.
Locally Typical sampling method is described in the paper https://arxiv.org/abs/2202.00666