Question regarding reasoning effort in chat template

#1
by mcfadyeni - opened

Hi,

First, thank you for the model! 🧑

I was looking at the chat template and noticed the following:

{%- set effective_reasoning_effort = 'high' if reasoning_effort is defined and reasoning_effort == 'high' else 'max' -%}

Correct me if I'm wrong, but will this not use "max" effort for anything other than "high" - as in, if the user specifies "minimal"/"low"/"medium" as commonly done in OpenAI Compatible APIs?

If the model has only been trained on high/max, perhaps anything lower than high should default to high rather than max? And then "xhigh"/"max" could use max?

Yeah, it seems using max as the default is at a very high cost for not that much gain:

image

and as mentioned by @mcfadyeni , doesn't really fit with the default of using lower thinking levels by default that most providers use.

It's pretty easy to modify the jinja template yourself if needed though:

{%- set effective_reasoning_effort = 'max' if reasoning_effort is defined and reasoning_effort == 'max' else 'high' -%}

Sign up or log in to comment