|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIO. - OpenRouter AI > AIO Commands |
MiniRobotLanguage (MRL)
AIO.SetPresPen
Sets the presence penalty to reduce token repetition in generated text.
AIO.SetPresPen|$$PENALTY
$$PENALTY
Penalty value ranging from -2.0 to 2.0. Default is 0.0.
Range: -2.0 to 2.0
Default: 0.0
Sets the presence penalty to 0.5, encouraging the model to use more diverse tokens and reducing repetition:
AIO.SetPresPen|0.5
Positive values reduce repetition of tokens already present in the text.
Higher values result in less repetition of previously used tokens.
The penalty does not scale with token frequency.
Adjust this parameter to control the diversity of generated content.