|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.SetLogitBias |
Top |
MiniRobotLanguage (MRL)
AIC.SetLogitBias
Set logit bias for token probabilities
Intention
The AIC.SetLogitBias command modifies the likelihood of specific tokens appearing in the completion. Positive values increase probability, negative values decrease it. Values range from -100 to 100.
Syntax
AIC.SetLogitBias|$$TokenId|$$Bias
P1 - $$TokenId - The token ID to bias
P2 - $$Bias - Bias value (-100 to 100)
Example
' Reduce probability of certain words
AIC.SetLogitBias|12345|-50
' Increase probability of preferred tokens
AIC.SetLogitBias|67890|20
AIC.Ask|Write a story|$$Result