Class PresencePenalty
Defaults to 0 Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.
[Serializable]
public class PresencePenalty : NullableRangedFloat<PresencePenalty>
- Inheritance
-
objectPresencePenalty
Constructors
PresencePenalty()
public PresencePenalty()
PresencePenalty(float)
public PresencePenalty(float value)
Parameters
valuefloat
Properties
Default
public override float Default { get; }
Property Value
- float
Max
public override float Max { get; }
Property Value
- float
Min
public override float Min { get; }
Property Value
- float
Operators
implicit operator float?(PresencePenalty)
public static implicit operator float?(PresencePenalty p)
Parameters
Returns
- float?
implicit operator PresencePenalty(float)
public static implicit operator PresencePenalty(float v)
Parameters
vfloat