Property MinP
- Namespace
- LMKit.TextGeneration.Sampling
- Assembly
- LM-Kit.NET.dll
MinP
Specifies diversity through MinP sampling method.
All tokens with a probability percentage exceeding the MinP threshold are taken into consideration.
Use a floating-point value within the range [0 , 1].
Use 0 to disable MinP sampling.
public float MinP { get; set; }
Property Value
- float
The default value is 0.05.
Remarks
This parameter has no effect when Temperature property is set to 0.
MinP sampling method is defined here: https://github.com/ggerganov/llama.cpp/pull/3841