frequency_penalty

Property

Belongs to type Completion_Request

Open in TypeHub

Number

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.

part of the Apioo-Project