Gabriel Francisco dos Santos Silva commited on
Commit
3ea6371
·
verified ·
1 Parent(s): 8b4dca4

Refresh metadata from base HEAD e80da38: chat template preserve-reasoning, </assistant> token 24 special, drop max_new_tokens cap

Browse files
chat_template.jinja CHANGED
@@ -1,8 +1,9 @@
1
  {#- Iteration on laguna_glm_thinking_v8/chat_template.jinja -#}
2
  {#- No formatting instructions -#}
3
  {{- "〈|EOS|〉" -}}
4
- {%- set enable_thinking = enable_thinking | default(false) -%}
5
  {%- set add_generation_prompt = add_generation_prompt | default(false) -%}
 
6
 
7
  {#- ───── header (system message) ───── -#}
8
  {#- A caller-supplied system message with empty content opts out of the default below, producing no <system> block — used to train without a system message. -#}
@@ -51,7 +52,7 @@
51
  {%- set reasoning_content = message.reasoning_content -%}
52
  {%- endif -%}
53
  {#- Display reasoning content for all messages if enable_thinking -#}
54
- {%- if enable_thinking -%}
55
  {{- '<think>' + reasoning_content + '</think>' -}}
56
  {%- else -%}
57
  {{- '</think>' -}}
 
1
  {#- Iteration on laguna_glm_thinking_v8/chat_template.jinja -#}
2
  {#- No formatting instructions -#}
3
  {{- "〈|EOS|〉" -}}
4
+ {%- set enable_thinking = enable_thinking | default(true) -%}
5
  {%- set add_generation_prompt = add_generation_prompt | default(false) -%}
6
+ {%- set preserve_thinking = preserve_thinking | default(false) -%}
7
 
8
  {#- ───── header (system message) ───── -#}
9
  {#- A caller-supplied system message with empty content opts out of the default below, producing no <system> block — used to train without a system message. -#}
 
52
  {%- set reasoning_content = message.reasoning_content -%}
53
  {%- endif -%}
54
  {#- Display reasoning content for all messages if enable_thinking -#}
55
+ {%- if enable_thinking or preserve_thinking -%}
56
  {{- '<think>' + reasoning_content + '</think>' -}}
57
  {%- else -%}
58
  {{- '</think>' -}}
generation_config.json CHANGED
@@ -5,7 +5,6 @@
5
  2,
6
  24
7
  ],
8
- "max_new_tokens": 32768,
9
  "pad_token_id": 9,
10
  "temperature": 1.0,
11
  "top_p": 1.0,
@@ -21,6 +20,5 @@
21
  "source": "huggingface",
22
  "model": "poolside/Laguna-S-2.1-DFlash",
23
  "num_speculative_tokens": 15
24
- },
25
- "repetition_penalty": 1.05
26
- }
 
5
  2,
6
  24
7
  ],
 
8
  "pad_token_id": 9,
9
  "temperature": 1.0,
10
  "top_p": 1.0,
 
20
  "source": "huggingface",
21
  "model": "poolside/Laguna-S-2.1-DFlash",
22
  "num_speculative_tokens": 15
23
+ }
24
+ }
 
tokenizer.json CHANGED
@@ -226,7 +226,7 @@
226
  "lstrip": false,
227
  "rstrip": false,
228
  "normalized": false,
229
- "special": false
230
  },
231
  {
232
  "id": 25,
 
226
  "lstrip": false,
227
  "rstrip": false,
228
  "normalized": false,
229
+ "special": true
230
  },
231
  {
232
  "id": 25,
tokenizer_config.json CHANGED
@@ -542,7 +542,7 @@
542
  "lstrip": false,
543
  "rstrip": false,
544
  "normalized": false,
545
- "special": false
546
  },
547
  "25": {
548
  "content": "<tool_call>",
 
542
  "lstrip": false,
543
  "rstrip": false,
544
  "normalized": false,
545
+ "special": true
546
  },
547
  "25": {
548
  "content": "<tool_call>",