ComfyUI Node
Unsloth Options
Advanced sampling options for the Unsloth backend. Only enabled (toggled) values are sent in the request.
Unsloth Options
- options
◄enable_temperaturefalse►
◄temperature0.80►
◄enable_top_pfalse►
◄top_p0.95►
◄enable_top_kfalse►
◄top_k40►
◄enable_min_pfalse►
◄min_p0.00►
◄enable_repeat_penaltyfalse►
◄repetition_penalty1.10►
◄enable_presence_penaltyfalse►
◄presence_penalty0.00►
◄enable_seedfalse►
◄seed100872500►
◄enable_stopfalse►
◄stop►
◄enable_max_tokensfalse►
◄max_tokens512►
◄debugfalse►
CategoryUnsloth
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| enable_temperature | BOOLEAN | false | — |
| temperature | FLOAT | 0.800–2 | Higher = more creative/less focused. |
| enable_top_p | BOOLEAN | false | — |
| top_p | FLOAT | 0.950–1 | Nucleus sampling. Lower = more focused. |
| enable_top_k | BOOLEAN | false | — |
| top_k | INT | 400–100 | Limit sampling to the top-k most likely tokens. |
| enable_min_p | BOOLEAN | false | — |
| min_p | FLOAT | 0.000–1 | Minimum probability relative to the most likely token. |
| enable_repeat_penalty | BOOLEAN | false | — |
| repetition_penalty | FLOAT | 1.100–2 | Penalize repeated tokens. >1 discourages repetition. |
| enable_presence_penalty | BOOLEAN | false | — |
| presence_penalty | FLOAT | 0.000–2 | Penalize tokens already present in the output. |
| enable_seed | BOOLEAN | false | — |
| seed | INT | 1008725000–2147483648 | Deterministic sampling seed (best-effort). |
| enable_stop | BOOLEAN | false | — |
| stop | STRING | Stop sequence. Generation halts when this text appears. | |
| enable_max_tokens | BOOLEAN | false | — |
| max_tokens | INT | 5121–2048 | Maximum tokens to generate. |
| debug | BOOLEAN | false | Node-side debug printing only — no effect on the API. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| options | UNSLOTH_OPTIONS | — |