Benchmark: think:false — kytke ajattelu pois Ollama-kutsuissa
Thinking-mallit (qwen3.5) käyttivät kaikki tokenit ajatteluun eikä content-kenttään jäänyt mitään. think:false pakottaa suoran vastauksen ilman ajattelublokkia.
This commit is contained in:
@@ -73,6 +73,7 @@ async function ollamaChat(model, prompt, systemPrompt, maxTokens = 2048) {
|
|||||||
model,
|
model,
|
||||||
messages,
|
messages,
|
||||||
stream: false,
|
stream: false,
|
||||||
|
think: false,
|
||||||
options: { num_predict: maxTokens, temperature: 0.7, top_k: 40, repeat_penalty: 1.15 },
|
options: { num_predict: maxTokens, temperature: 0.7, top_k: 40, repeat_penalty: 1.15 },
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user