|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.SetTopP |
Top |
MiniRobotLanguage (MRL)
AIC.SetTopP
Set the top_p (nucleus) sampling value
Intention
The AIC.SetTopP command controls nucleus sampling. The model considers the results of the tokens with top_p probability mass. 0.1 means only top 10% probability tokens are considered.
Syntax
AIC.SetTopP|$$TopPValue
Parameters
P1 - $$TopPValue - Top-p value (0.0 to 1.0, default 1.0). Lower = more focused, higher = more diverse.
Example
' Focused, conservative sampling
AIC.SetTopP|0.1
AIC.Ask|Summarize this article|$$Summary
' Diverse sampling
AIC.SetTopP|0.9
AIC.Ask|Brainstorm ideas|$$Ideas
Related Commands
- AIC.SetTemp - Set temperature
- AIC.SetTopK - Set top_k