mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2311] [CLOSED] web: default temperature 1.0, as the model card and generation_config.json say #3975
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3975
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2311
Author: @kevin9327
Created: 10/13/2026
Status: ❌ Closed
Base:
main← Head:web-default-temperature📝 Commits (1)
eab0a6eweb: default temperature 1.0, as the model card and generation_config.json say (#2306)📊 Changes
2 files changed (+22 additions, -1 deletions)
View changed files
➕
serve/test_web_defaults.py(+21 -0)📝
serve/web/app.js(+1 -1)📄 Description
Issue: Resolves #2306
Summary
The web app started a chat at temperature 0.6 (the older Qwen3 thinking-mode value). The Qwen3.8-Flash-Next model card (thinking mode) and its
generation_config.jsonsay 1.0 / 0.95 / 20, which DETAILS.md also uses for sampled decoding.What changed
serve/web/app.js:DEFAULTS.temperature0.6 -> 1.0. top_p and top_k were already 0.95 / 20.serve/test_web_defaults.py: readsDEFAULTSfrom app.js and checks 1.0 / 0.95 / 20.Extra Notes
samplingblock. This is not a speed change.python3 -m unittest serve.test_web_defaultsfails on main and passes with the change.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.