Upload folder using huggingface_hub
Browse files- chat_template.jinja +6 -0
- config.json +1 -1
chat_template.jinja
CHANGED
|
@@ -225,6 +225,12 @@
|
|
| 225 |
{#- Main Template Logic ================================================= #}
|
| 226 |
{#- Set defaults #}
|
| 227 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
{#- Render system message #}
|
| 229 |
{{- "<|start|>system<|message|>" }}
|
| 230 |
{{- build_system_message() }}
|
|
|
|
| 225 |
{#- Main Template Logic ================================================= #}
|
| 226 |
{#- Set defaults #}
|
| 227 |
|
| 228 |
+
{#- Handle reasoning_effort message if present #}
|
| 229 |
+
{%- if messages and messages[0].role == "reasoning_effort" %}
|
| 230 |
+
{%- set reasoning_effort = messages[0].content %}
|
| 231 |
+
{%- set messages = messages[1:] %}
|
| 232 |
+
{%- endif %}
|
| 233 |
+
|
| 234 |
{#- Render system message #}
|
| 235 |
{{- "<|start|>system<|message|>" }}
|
| 236 |
{{- build_system_message() }}
|
config.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
],
|
| 5 |
"attention_bias": true,
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
-
"base_model_name_or_path": "
|
| 8 |
"base_model_type": "gpt_oss",
|
| 9 |
"dtype": "bfloat16",
|
| 10 |
"enable_temperature_head": true,
|
|
|
|
| 4 |
],
|
| 5 |
"attention_bias": true,
|
| 6 |
"attention_dropout": 0.0,
|
| 7 |
+
"base_model_name_or_path": "openai/gpt-oss-20b",
|
| 8 |
"base_model_type": "gpt_oss",
|
| 9 |
"dtype": "bfloat16",
|
| 10 |
"enable_temperature_head": true,
|