frequencyPenalty property

  1. @JsonKey(name: "frequency_penalty")
int? frequencyPenalty
getter/setter pair

Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.

Implementation

@JsonKey(name: "frequency_penalty")
int? frequencyPenalty;