Getting Chat-Instruct to reason on GPT-OSS #7197
yanghuaxuan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On pure Instruct mode, reasoning with GPT-OSS using the in-model template from ggml-org/gpt-oss-20b-GGUF seems to "just work". It doesn't seem to just work on Chat-Instruct mode unfortunately.
One way to fix this is to simply "force" it to reason by appending
<|channel|>analysis<|message|>
at the end. So it would look something like:Generating this prompt outputs:
Now it reasons, and also correctly outputs in chat dialogue form!
This seems like the best solution for getting the model to reason on Chat-Instruct mode. But it seems neither Instruct or Chat-Instruct modes "force" the model to reason by shoving in
<|channel|>analysis<|message|>
. On Instruct mode, it just seems to like to reason by default.Beta Was this translation helpful? Give feedback.
All reactions