frequencyPenalty property

double? frequencyPenalty
getter/setter pair

Penalizes tokens based on their frequency in the generated text.

A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0].

Optional.

Implementation

core.double? frequencyPenalty;