Skip to content

Conversation

@DocShotgun
Copy link
Member

Provides safe fallback samplers, intended for better out-of-the-box support for clients that do not pass sampler params.

For example, Cline only passes the sampler param temperature with requests, which results in no tail truncation sampler (i.e. top-p, top-k, min-p, etc.) being applied. This can occasionally lead to sampling of nonsense tokens during generation.

DocShotgun and others added 4 commits August 18, 2025 12:32
* Provides safe fallback samplers, intended for better out-of-the-box support for clients that do not pass sampler params
* We provide safe_defaults as a default in config_sample.yml but not internally
This has become a bigger priority with addition of the safe_defaults
noob proofing.

Signed-off-by: kingbri <[email protected]>
Change the sampling subsection to sampler overrides and add a warning
about the default preset.

Signed-off-by: kingbri <[email protected]>
@kingbri1 kingbri1 merged commit 86f27c9 into theroyallab:main Aug 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants