ComfyUI Node

Unsloth Options

Advanced sampling options for the Unsloth backend. Only enabled (toggled) values are sent in the request.

By DeverStyle·Created about a month ago·Updated 8 days ago· 3
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)

    NameTypeDefaultDescription
    enable_temperatureBOOLEANfalse—
    temperatureFLOAT0.800–2Higher = more creative/less focused.
    enable_top_pBOOLEANfalse—
    top_pFLOAT0.950–1Nucleus sampling. Lower = more focused.
    enable_top_kBOOLEANfalse—
    top_kINT400–100Limit sampling to the top-k most likely tokens.
    enable_min_pBOOLEANfalse—
    min_pFLOAT0.000–1Minimum probability relative to the most likely token.
    enable_repeat_penaltyBOOLEANfalse—
    repetition_penaltyFLOAT1.100–2Penalize repeated tokens. >1 discourages repetition.
    enable_presence_penaltyBOOLEANfalse—
    presence_penaltyFLOAT0.000–2Penalize tokens already present in the output.
    enable_seedBOOLEANfalse—
    seedINT1008725000–2147483648Deterministic sampling seed (best-effort).
    enable_stopBOOLEANfalse—
    stopSTRINGStop sequence. Generation halts when this text appears.
    enable_max_tokensBOOLEANfalse—
    max_tokensINT5121–2048Maximum tokens to generate.
    debugBOOLEANfalseNode-side debug printing only — no effect on the API.

    Outputs (1)

    NameTypeDescription
    optionsUNSLOTH_OPTIONS—