PEFT
Safetensors
william3087 commited on
Commit
a98e39d
·
verified ·
1 Parent(s): f4d27ca

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- library_name: transformers
3
- tags: []
4
  ---
5
 
6
  # Model Card for Model ID
@@ -15,7 +15,7 @@ tags: []
15
 
16
  <!-- Provide a longer summary of what this model is. -->
17
 
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
 
20
  - **Developed by:** [More Information Needed]
21
  - **Funded by [optional]:** [More Information Needed]
@@ -196,4 +196,7 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
196
 
197
  ## Model Card Contact
198
 
199
- [More Information Needed]
 
 
 
 
1
  ---
2
+ base_model: Qwen/Qwen3-8B
3
+ library_name: peft
4
  ---
5
 
6
  # Model Card for Model ID
 
15
 
16
  <!-- Provide a longer summary of what this model is. -->
17
 
18
+
19
 
20
  - **Developed by:** [More Information Needed]
21
  - **Funded by [optional]:** [More Information Needed]
 
196
 
197
  ## Model Card Contact
198
 
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.15.1
adapter_config.json CHANGED
@@ -1,18 +1,11 @@
1
  {
2
- "alora_invocation_tokens": null,
3
  "alpha_pattern": {},
4
- "arrow_config": null,
5
- "auto_mapping": {
6
- "base_model_class": "GptOssForCausalLM",
7
- "parent_library": "transformers.models.gpt_oss.modeling_gpt_oss",
8
- "unsloth_fixed": true
9
- },
10
- "base_model_name_or_path": "unsloth/gpt-oss-20b-unsloth-bnb-4bit",
11
  "bias": "none",
12
  "corda_config": null,
13
- "ensure_weight_tying": false,
14
  "eva_config": null,
15
- "exclude_modules": null,
16
  "fan_in_fan_out": false,
17
  "inference_mode": true,
18
  "init_lora_weights": true,
@@ -20,34 +13,27 @@
20
  "layers_pattern": null,
21
  "layers_to_transform": null,
22
  "loftq_config": {},
23
- "lora_alpha": 16,
24
  "lora_bias": false,
25
- "lora_dropout": 0,
26
  "megatron_config": null,
27
  "megatron_core": "megatron.core",
28
  "modules_to_save": null,
29
  "peft_type": "LORA",
30
- "peft_version": "0.18.1",
31
- "qalora_group_size": 16,
32
- "r": 8,
33
  "rank_pattern": {},
34
  "revision": null,
35
  "target_modules": [
36
  "o_proj",
37
- "q_proj",
38
- "gate_proj",
39
  "k_proj",
 
40
  "down_proj",
41
  "up_proj",
42
- "v_proj"
43
- ],
44
- "target_parameters": [
45
- "mlp.experts.gate_up_proj",
46
- "mlp.experts.down_proj"
47
  ],
48
  "task_type": "CAUSAL_LM",
49
  "trainable_token_indices": null,
50
  "use_dora": false,
51
- "use_qalora": false,
52
  "use_rslora": false
53
  }
 
1
  {
 
2
  "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-8B",
 
 
 
 
 
5
  "bias": "none",
6
  "corda_config": null,
 
7
  "eva_config": null,
8
+ "exclude_modules": [],
9
  "fan_in_fan_out": false,
10
  "inference_mode": true,
11
  "init_lora_weights": true,
 
13
  "layers_pattern": null,
14
  "layers_to_transform": null,
15
  "loftq_config": {},
16
+ "lora_alpha": 128,
17
  "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
  "megatron_config": null,
20
  "megatron_core": "megatron.core",
21
  "modules_to_save": null,
22
  "peft_type": "LORA",
23
+ "r": 64,
 
 
24
  "rank_pattern": {},
25
  "revision": null,
26
  "target_modules": [
27
  "o_proj",
 
 
28
  "k_proj",
29
+ "q_proj",
30
  "down_proj",
31
  "up_proj",
32
+ "v_proj",
33
+ "gate_proj"
 
 
 
34
  ],
35
  "task_type": "CAUSAL_LM",
36
  "trainable_token_indices": null,
37
  "use_dora": false,
 
38
  "use_rslora": false
39
  }
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f79a850448053f4331e722e4cf61ea6529db550128b8be6cc929a9aed03caea
3
- size 15950616
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:682f1d9b3a95bb64eae77e1436e29c2888a579a24892afe0c26c69f7a7d3262a
3
+ size 698419728
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
chat_template.jinja CHANGED
@@ -1,315 +1,89 @@
1
- {# Copyright 2025-present Unsloth. Apache 2.0 License. Unsloth chat template fixes. Edited from ggml-org & OpenAI #}
2
- {#-
3
- In addition to the normal inputs of `messages` and `tools`, this template also accepts the
4
- following kwargs:
5
- - "builtin_tools": A list, can contain "browser" and/or "python".
6
- - "model_identity": A string that optionally describes the model identity.
7
- - "reasoning_effort": A string that describes the reasoning effort, defaults to "medium".
8
- #}
9
-
10
- {#- Tool Definition Rendering ============================================== #}
11
- {%- macro render_typescript_type(param_spec, required_params, is_nullable=false) -%}
12
- {%- if param_spec.type == "array" -%}
13
- {%- if param_spec['items'] -%}
14
- {%- if param_spec['items']['type'] == "string" -%}
15
- {{- "string[]" }}
16
- {%- elif param_spec['items']['type'] == "number" -%}
17
- {{- "number[]" }}
18
- {%- elif param_spec['items']['type'] == "integer" -%}
19
- {{- "number[]" }}
20
- {%- elif param_spec['items']['type'] == "boolean" -%}
21
- {{- "boolean[]" }}
22
- {%- else -%}
23
- {%- set inner_type = render_typescript_type(param_spec['items'], required_params) -%}
24
- {%- if inner_type == "object | object" or inner_type|length > 50 -%}
25
- {{- "any[]" }}
26
- {%- else -%}
27
- {{- inner_type + "[]" }}
28
- {%- endif -%}
29
- {%- endif -%}
30
- {%- if param_spec.nullable -%}
31
- {{- " | null" }}
32
- {%- endif -%}
33
- {%- else -%}
34
- {{- "any[]" }}
35
- {%- if param_spec.nullable -%}
36
- {{- " | null" }}
37
- {%- endif -%}
38
- {%- endif -%}
39
- {%- elif param_spec.type is defined and param_spec.type is iterable and param_spec.type is not string and param_spec.type is not mapping and param_spec.type[0] is defined -%}
40
- {#- Handle array of types like ["object", "object"] from Union[dict, list] #}
41
- {%- if param_spec.type | length > 1 -%}
42
- {{- param_spec.type | join(" | ") }}
43
- {%- else -%}
44
- {{- param_spec.type[0] }}
45
- {%- endif -%}
46
- {%- elif param_spec.oneOf -%}
47
- {#- Handle oneOf schemas - check for complex unions and fallback to any #}
48
- {%- set has_object_variants = false -%}
49
- {%- for variant in param_spec.oneOf -%}
50
- {%- if variant.type == "object" -%}
51
- {%- set has_object_variants = true -%}
52
- {%- endif -%}
53
- {%- endfor -%}
54
- {%- if has_object_variants and param_spec.oneOf|length > 1 -%}
55
- {{- "any" }}
56
- {%- else -%}
57
- {%- for variant in param_spec.oneOf -%}
58
- {{- render_typescript_type(variant, required_params) -}}
59
- {%- if variant.description %}
60
- {{- "// " + variant.description }}
61
- {%- endif -%}
62
- {%- if variant.default is defined %}
63
- {{ "// default: " + variant.default|tojson }}
64
- {%- endif -%}
65
- {%- if not loop.last %}
66
- {{- " | " }}
67
- {% endif -%}
68
- {%- endfor -%}
69
- {%- endif -%}
70
- {%- elif param_spec.type == "string" -%}
71
- {%- if param_spec.enum -%}
72
- {{- '"' + param_spec.enum|join('" | "') + '"' -}}
73
- {%- else -%}
74
- {{- "string" }}
75
- {%- if param_spec.nullable %}
76
- {{- " | null" }}
77
- {%- endif -%}
78
- {%- endif -%}
79
- {%- elif param_spec.type == "number" -%}
80
- {{- "number" }}
81
- {%- elif param_spec.type == "integer" -%}
82
- {{- "number" }}
83
- {%- elif param_spec.type == "boolean" -%}
84
- {{- "boolean" }}
85
-
86
- {%- elif param_spec.type == "object" -%}
87
- {%- if param_spec.properties -%}
88
- {{- "{\n" }}
89
- {%- for prop_name, prop_spec in param_spec.properties.items() -%}
90
- {{- prop_name -}}
91
- {%- if prop_name not in (param_spec.required or []) -%}
92
- {{- "?" }}
93
- {%- endif -%}
94
- {{- ": " }}
95
- {{ render_typescript_type(prop_spec, param_spec.required or []) }}
96
- {%- if not loop.last -%}
97
- {{-", " }}
98
- {%- endif -%}
99
- {%- endfor -%}
100
- {{- "}" }}
101
- {%- else -%}
102
- {{- "object" }}
103
- {%- endif -%}
104
- {%- else -%}
105
- {{- "any" }}
106
- {%- endif -%}
107
- {%- endmacro -%}
108
-
109
- {%- macro render_tool_namespace(namespace_name, tools) -%}
110
- {{- "## " + namespace_name + "\n\n" }}
111
- {{- "namespace " + namespace_name + " {\n\n" }}
112
  {%- for tool in tools %}
113
- {%- set tool = tool.function %}
114
- {{- "// " + tool.description + "\n" }}
115
- {{- "type "+ tool.name + " = " }}
116
- {%- if tool.parameters and tool.parameters.properties -%}
117
- {{- "(_: " }}
118
- {{- "{\n" }}
119
- {%- for param_name, param_spec in tool.parameters.properties.items() %}
120
- {{- "// " + param_spec.description + "\n" }}
121
- {{- param_name }}
122
- {%- if param_name not in (tool.parameters.required or []) -%}
123
- {{- "?" }}
124
- {%- endif -%}
125
- {{- ": " }}
126
- {{- render_typescript_type(param_spec, tool.parameters.required or []) }}
127
- {%- if param_spec.default is defined -%}
128
- {%- if param_spec.enum %}
129
- {{- ", // default: " + param_spec.default }}
130
- {%- elif param_spec.oneOf %}
131
- {{- "// default: " + param_spec.default }}
132
- {%- else %}
133
- {{- ", // default: " + param_spec.default|tojson }}
134
- {%- endif -%}
135
- {%- endif -%}
136
- {%- if not loop.last %}
137
- {{- ",\n" }}
138
- {%- else %}
139
- {{- "\n" }}
140
- {%- endif -%}
141
- {%- endfor %}
142
- {{- "}) => any;\n\n" }}
143
- {%- else -%}
144
- {{- "() => any;\n\n" }}
145
- {%- endif -%}
146
  {%- endfor %}
147
- {{- "} // namespace " + namespace_name }}
148
- {%- endmacro -%}
149
-
150
- {%- macro render_builtin_tools(browser_tool, python_tool) -%}
151
- {%- if browser_tool %}
152
- {{- "## browser\n\n" }}
153
- {{- "// Tool for browsing.\n" }}
154
- {{- "// The `cursor` appears in brackets before each browsing display: `[{cursor}]`.\n" }}
155
- {{- "// Cite information from the tool using the following format:\n" }}
156
- {{- "// `【{cursor}†L{line_start}(-L{line_end})?】`, for example: `【6†L9-L11】` or `【8†L3】`.\n" }}
157
- {{- "// Do not quote more than 10 words directly from the tool output.\n" }}
158
- {{- "// sources=web (default: web)\n" }}
159
- {{- "namespace browser {\n\n" }}
160
- {{- "// Searches for information related to `query` and displays `topn` results.\n" }}
161
- {{- "type search = (_: {\n" }}
162
- {{- "query: string,\n" }}
163
- {{- "topn?: number, // default: 10\n" }}
164
- {{- "source?: string,\n" }}
165
- {{- "}) => any;\n\n" }}
166
- {{- "// Opens the link `id` from the page indicated by `cursor` starting at line number `loc`, showing `num_lines` lines.\n" }}
167
- {{- "// Valid link ids are displayed with the formatting: `【{id}†.*】`.\n" }}
168
- {{- "// If `cursor` is not provided, the most recent page is implied.\n" }}
169
- {{- "// If `id` is a string, it is treated as a fully qualified URL associated with `source`.\n" }}
170
- {{- "// If `loc` is not provided, the viewport will be positioned at the beginning of the document or centered on the most relevant passage, if available.\n" }}
171
- {{- "// Use this function without `id` to scroll to a new location of an opened page.\n" }}
172
- {{- "type open = (_: {\n" }}
173
- {{- "id?: number | string, // default: -1\n" }}
174
- {{- "cursor?: number, // default: -1\n" }}
175
- {{- "loc?: number, // default: -1\n" }}
176
- {{- "num_lines?: number, // default: -1\n" }}
177
- {{- "view_source?: boolean, // default: false\n" }}
178
- {{- "source?: string,\n" }}
179
- {{- "}) => any;\n\n" }}
180
- {{- "// Finds exact matches of `pattern` in the current page, or the page given by `cursor`.\n" }}
181
- {{- "type find = (_: {\n" }}
182
- {{- "pattern: string,\n" }}
183
- {{- "cursor?: number, // default: -1\n" }}
184
- {{- "}) => any;\n\n" }}
185
- {{- "} // namespace browser\n\n" }}
186
- {%- endif -%}
187
-
188
- {%- if python_tool %}
189
- {{- "## python\n\n" }}
190
- {{- "Use this tool to execute Python code in your chain of thought. The code will not be shown to the user. This tool should be used for internal reasoning, but not for code that is intended to be visible to the user (e.g. when creating plots, tables, or files).\n\n" }}
191
- {{- "When you send a message containing Python code to python, it will be executed in a stateful Jupyter notebook environment. python will respond with the output of the execution or time out after 120.0 seconds. The drive at '/mnt/data' can be used to save and persist user files. Internet access for this session is UNKNOWN. Depends on the cluster.\n\n" }}
192
- {%- endif -%}
193
- {%- endmacro -%}
194
-
195
- {#- System Message Construction ============================================ #}
196
- {%- macro build_system_message() -%}
197
- {%- if model_identity is not defined %}
198
- {{- "You are ChatGPT, a large language model trained by OpenAI.\n" -}}
199
- {%- else %}
200
- {{- model_identity }}
201
- {%- endif %}
202
- {{- "Knowledge cutoff: 2024-06\n" }}
203
- {{- "Current date: " + strftime_now("%Y-%m-%d") + "\n\n" }}
204
- {%- if reasoning_effort is not defined %}
205
- {%- set reasoning_effort = "medium" %}
206
- {%- endif %}
207
- {{- "Reasoning: " + reasoning_effort + "\n\n" }}
208
- {%- if builtin_tools is defined %}
209
- {{- "# Tools\n\n" }}
210
- {%- set available_builtin_tools = namespace(browser=false, python=false) %}
211
- {%- for tool in builtin_tools %}
212
- {%- if tool == "browser" %}
213
- {%- set available_builtin_tools.browser = true %}
214
- {%- elif tool == "python" %}
215
- {%- set available_builtin_tools.python = true %}
216
- {%- endif %}
217
- {%- endfor %}
218
- {{- render_builtin_tools(available_builtin_tools.browser, available_builtin_tools.python) }}
219
- {%- endif -%}
220
- {{- "# Valid channels: analysis, commentary, final. Channel must be included for every message." }}
221
- {%- if tools is defined -%}
222
- {{- "\nCalls to these tools must go to the commentary channel: 'functions'." }}
223
- {%- endif -%}
224
- {%- endmacro -%}
225
-
226
- {#- Main Template Logic ================================================= #}
227
- {#- Set defaults #}
228
-
229
- {#- Render system message #}
230
- {{- "<|start|>system<|message|>" }}
231
- {{- build_system_message() }}
232
- {{- "<|end|>" }}
233
-
234
- {#- Extract developer message #}
235
- {%- if messages[0].role == "developer" or messages[0].role == "system" %}
236
- {%- set developer_message = messages[0].content %}
237
- {%- set loop_messages = messages[1:] %}
238
  {%- else %}
239
- {%- set developer_message = "" %}
240
- {%- set loop_messages = messages %}
241
- {%- endif %}
242
-
243
- {#- Render developer message #}
244
- {%- if developer_message or tools %}
245
- {{- "<|start|>developer<|message|>" }}
246
- {%- if developer_message %}
247
- {{- "# Instructions\n\n" }}
248
- {{- developer_message }}
249
  {%- endif %}
250
- {%- if tools -%}
251
- {{- "\n\n" }}
252
- {{- "# Tools\n\n" }}
253
- {{- render_tool_namespace("functions", tools) }}
254
- {%- endif -%}
255
- {{- "<|end|>" }}
256
  {%- endif %}
257
-
258
- {#- Render messages #}
259
- {%- set last_tool_call = namespace(name=none) %}
260
- {%- for message in loop_messages -%}
261
- {#- At this point only assistant/user/tool messages should remain #}
262
- {%- if message.role == 'assistant' -%}
263
- {%- if "tool_calls" in message %}
264
- {#- We assume max 1 tool call per message, and so we infer the tool call name #}
265
- {#- in "tool" messages from the most recent assistant tool call name #}
266
- {%- set tool_call = message.tool_calls[0] %}
267
- {%- if tool_call.function %}
268
- {%- set tool_call = tool_call.function %}
 
 
 
 
 
 
 
 
 
 
 
 
269
  {%- endif %}
270
- {%- if message.content %}
271
- {{- "<|start|>assistant<|channel|>analysis<|message|>" + message.content + "<|end|>" }}
 
 
 
 
272
  {%- endif %}
273
- {{- "<|start|>assistant to=" }}
274
- {{- "functions." + tool_call.name + "<|channel|>commentary json<|message|>" }}
275
- {{- tool_call.arguments|tojson }}
276
- {{- "<|call|>" }}
277
- {%- set last_tool_call.name = tool_call.name %}
278
- {%- elif "thinking" in message and loop.last and not add_generation_prompt %}
279
- {#- Only render the CoT if the final turn is an assistant turn and add_generation_prompt is false #}
280
- {#- This is a situation that should only occur in training, never in inference. #}
281
- {{- "<|start|>assistant<|channel|>analysis<|message|>" + message.thinking + "<|end|>" }}
282
- {#- <|return|> indicates the end of generation, but <|end|> does not #}
283
- {#- <|return|> should never be an input to the model, but we include it as the final token #}
284
- {#- when training, so the model learns to emit it. #}
285
- {{- "<|start|>assistant<|channel|>final<|message|>" + message.content + "<|return|>" }}
286
- {%- set last_tool_call.name = none %}
287
- {%- elif "thinking" in message %}
288
- {#- CoT is dropped during all previous turns, so we never render it for inference #}
289
- {{- "<|start|>assistant<|channel|>final<|message|>" + message.content + "<|end|>" }}
290
- {%- set last_tool_call.name = none %}
291
- {%- elif loop.last and not add_generation_prompt %}
292
- {#- <|return|> indicates the end of generation, but <|end|> does not #}
293
- {#- <|return|> should never be an input to the model, but we include it as the final token #}
294
- {#- when training, so the model learns to emit it. #}
295
- {{- "<|start|>assistant<|message|>" + message.content + "<|return|>" }}
296
  {%- else %}
297
- {{- "<|start|>assistant<|message|>" + message.content + "<|end|>" }}
298
- {%- set last_tool_call.name = none %}
299
  {%- endif %}
300
- {%- elif message.role == 'tool' -%}
301
- {%- if last_tool_call.name is none %}
302
- {{- raise_exception("Message has tool role, but there was no previous assistant message with a tool call!") }}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
303
  {%- endif %}
304
- {{- "<|start|>functions." + last_tool_call.name }}
305
- {{- " to=assistant<|channel|>commentary<|message|>" + message.content|tojson + "<|end|>" }}
306
- {%- else -%}
307
- {{- "<|start|>user<|message|>" + message.content + "<|end|>" }}
308
- {%- endif -%}
309
- {%- endfor -%}
310
-
311
- {#- Generation prompt #}
312
- {%- if add_generation_prompt -%}
313
- <|start|>assistant
314
- {%- endif -%}
315
- {# Copyright 2025-present Unsloth. Apache 2.0 License. Unsloth chat template fixes. Edited from ggml-org & OpenAI #}
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
 
 
 
 
 
 
 
 
15
  {%- endif %}
 
 
 
 
 
 
16
  {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
  {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
  {%- endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
 
51
  {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
  {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json CHANGED
@@ -1,20 +1,28 @@
1
  {
2
- "bos_token": {
3
- "content": "<|startoftext|>",
4
- "lstrip": false,
5
- "normalized": false,
6
- "rstrip": false,
7
- "single_word": false
8
- },
 
 
 
 
 
 
 
 
9
  "eos_token": {
10
- "content": "<|return|>",
11
  "lstrip": false,
12
  "normalized": false,
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
  "pad_token": {
17
- "content": "<|reserved_200017|>",
18
  "lstrip": false,
19
  "normalized": false,
20
  "rstrip": false,
 
1
  {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
  "eos_token": {
18
+ "content": "<|im_end|>",
19
  "lstrip": false,
20
  "normalized": false,
21
  "rstrip": false,
22
  "single_word": false
23
  },
24
  "pad_token": {
25
+ "content": "<|endoftext|>",
26
  "lstrip": false,
27
  "normalized": false,
28
  "rstrip": false,
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0614fe83cadab421296e664e1f48f4261fa8fef6e03e63bb75c20f38e37d07d3
3
- size 27868174
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer_config.json CHANGED
@@ -1,185 +1,240 @@
1
  {
 
 
2
  "added_tokens_decoder": {
3
- "199998": {
4
- "content": "<|startoftext|>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false,
9
  "special": true
10
  },
11
- "199999": {
12
- "content": "<|endoftext|>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
16
  "single_word": false,
17
  "special": true
18
  },
19
- "200000": {
20
- "content": "<|reserved_200000|>",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
24
  "single_word": false,
25
  "special": true
26
  },
27
- "200001": {
28
- "content": "<|reserved_200001|>",
29
  "lstrip": false,
30
  "normalized": false,
31
  "rstrip": false,
32
  "single_word": false,
33
  "special": true
34
  },
35
- "200002": {
36
- "content": "<|return|>",
37
  "lstrip": false,
38
  "normalized": false,
39
  "rstrip": false,
40
  "single_word": false,
41
  "special": true
42
  },
43
- "200003": {
44
- "content": "<|constrain|>",
45
  "lstrip": false,
46
  "normalized": false,
47
  "rstrip": false,
48
  "single_word": false,
49
  "special": true
50
  },
51
- "200004": {
52
- "content": "<|reserved_200004|>",
53
  "lstrip": false,
54
  "normalized": false,
55
  "rstrip": false,
56
  "single_word": false,
57
  "special": true
58
  },
59
- "200005": {
60
- "content": "<|channel|>",
61
  "lstrip": false,
62
  "normalized": false,
63
  "rstrip": false,
64
  "single_word": false,
65
  "special": true
66
  },
67
- "200006": {
68
- "content": "<|start|>",
69
  "lstrip": false,
70
  "normalized": false,
71
  "rstrip": false,
72
  "single_word": false,
73
  "special": true
74
  },
75
- "200007": {
76
- "content": "<|end|>",
77
  "lstrip": false,
78
  "normalized": false,
79
  "rstrip": false,
80
  "single_word": false,
81
  "special": true
82
  },
83
- "200008": {
84
- "content": "<|message|>",
85
  "lstrip": false,
86
  "normalized": false,
87
  "rstrip": false,
88
  "single_word": false,
89
  "special": true
90
  },
91
- "200009": {
92
- "content": "<|reserved_200009|>",
93
  "lstrip": false,
94
  "normalized": false,
95
  "rstrip": false,
96
  "single_word": false,
97
  "special": true
98
  },
99
- "200010": {
100
- "content": "<|reserved_200010|>",
101
  "lstrip": false,
102
  "normalized": false,
103
  "rstrip": false,
104
  "single_word": false,
105
  "special": true
106
  },
107
- "200011": {
108
- "content": "<|reserved_200011|>",
109
  "lstrip": false,
110
  "normalized": false,
111
  "rstrip": false,
112
  "single_word": false,
113
  "special": true
114
  },
115
- "200012": {
116
- "content": "<|call|>",
117
  "lstrip": false,
118
  "normalized": false,
119
  "rstrip": false,
120
  "single_word": false,
121
- "special": true
122
  },
123
- "200013": {
124
- "content": "<|reserved_200013|>",
125
  "lstrip": false,
126
  "normalized": false,
127
  "rstrip": false,
128
  "single_word": false,
129
- "special": true
130
  },
131
- "200014": {
132
- "content": "<|reserved_200014|>",
133
  "lstrip": false,
134
  "normalized": false,
135
  "rstrip": false,
136
  "single_word": false,
137
- "special": true
138
  },
139
- "200015": {
140
- "content": "<|reserved_200015|>",
141
  "lstrip": false,
142
  "normalized": false,
143
  "rstrip": false,
144
  "single_word": false,
145
- "special": true
146
  },
147
- "200016": {
148
- "content": "<|reserved_200016|>",
149
  "lstrip": false,
150
  "normalized": false,
151
  "rstrip": false,
152
  "single_word": false,
153
- "special": true
154
  },
155
- "200017": {
156
- "content": "<|reserved_200017|>",
157
  "lstrip": false,
158
  "normalized": false,
159
  "rstrip": false,
160
  "single_word": false,
161
- "special": true
162
  },
163
- "200018": {
164
- "content": "<|endofprompt|>",
165
  "lstrip": false,
166
  "normalized": false,
167
  "rstrip": false,
168
  "single_word": false,
169
- "special": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  }
171
  },
172
- "bos_token": "<|startoftext|>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  "clean_up_tokenization_spaces": false,
174
- "eos_token": "<|return|>",
 
175
  "extra_special_tokens": {},
176
- "model_input_names": [
177
- "input_ids",
178
- "attention_mask"
179
- ],
180
  "model_max_length": 131072,
181
- "pad_token": "<|reserved_200017|>",
182
- "padding_side": "left",
183
- "tokenizer_class": "PreTrainedTokenizerFast",
 
184
  "unk_token": null
185
  }
 
1
  {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
  "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
  "lstrip": false,
8
  "normalized": false,
9
  "rstrip": false,
10
  "single_word": false,
11
  "special": true
12
  },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
  "lstrip": false,
16
  "normalized": false,
17
  "rstrip": false,
18
  "single_word": false,
19
  "special": true
20
  },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
  "lstrip": false,
24
  "normalized": false,
25
  "rstrip": false,
26
  "single_word": false,
27
  "special": true
28
  },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
  "lstrip": false,
32
  "normalized": false,
33
  "rstrip": false,
34
  "single_word": false,
35
  "special": true
36
  },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
  "lstrip": false,
40
  "normalized": false,
41
  "rstrip": false,
42
  "single_word": false,
43
  "special": true
44
  },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
  "lstrip": false,
48
  "normalized": false,
49
  "rstrip": false,
50
  "single_word": false,
51
  "special": true
52
  },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
  "lstrip": false,
56
  "normalized": false,
57
  "rstrip": false,
58
  "single_word": false,
59
  "special": true
60
  },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
  "lstrip": false,
64
  "normalized": false,
65
  "rstrip": false,
66
  "single_word": false,
67
  "special": true
68
  },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
  "lstrip": false,
72
  "normalized": false,
73
  "rstrip": false,
74
  "single_word": false,
75
  "special": true
76
  },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
  "lstrip": false,
80
  "normalized": false,
81
  "rstrip": false,
82
  "single_word": false,
83
  "special": true
84
  },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
  "lstrip": false,
88
  "normalized": false,
89
  "rstrip": false,
90
  "single_word": false,
91
  "special": true
92
  },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
  "lstrip": false,
96
  "normalized": false,
97
  "rstrip": false,
98
  "single_word": false,
99
  "special": true
100
  },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
  "lstrip": false,
104
  "normalized": false,
105
  "rstrip": false,
106
  "single_word": false,
107
  "special": true
108
  },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
  "lstrip": false,
112
  "normalized": false,
113
  "rstrip": false,
114
  "single_word": false,
115
  "special": true
116
  },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
  "lstrip": false,
120
  "normalized": false,
121
  "rstrip": false,
122
  "single_word": false,
123
+ "special": false
124
  },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
  "lstrip": false,
128
  "normalized": false,
129
  "rstrip": false,
130
  "single_word": false,
131
+ "special": false
132
  },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
  "lstrip": false,
136
  "normalized": false,
137
  "rstrip": false,
138
  "single_word": false,
139
+ "special": false
140
  },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
  "lstrip": false,
144
  "normalized": false,
145
  "rstrip": false,
146
  "single_word": false,
147
+ "special": false
148
  },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
  "lstrip": false,
152
  "normalized": false,
153
  "rstrip": false,
154
  "single_word": false,
155
+ "special": false
156
  },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
  "lstrip": false,
160
  "normalized": false,
161
  "rstrip": false,
162
  "single_word": false,
163
+ "special": false
164
  },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
  "lstrip": false,
168
  "normalized": false,
169
  "rstrip": false,
170
  "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
  }
213
  },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
  "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
  "extra_special_tokens": {},
 
 
 
 
234
  "model_max_length": 131072,
235
+ "pad_token": "<|endoftext|>",
236
+ "padding_side": "right",
237
+ "split_special_tokens": false,
238
+ "tokenizer_class": "Qwen2Tokenizer",
239
  "unk_token": null
240
  }
trainer_state.json ADDED
@@ -0,0 +1,1120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 4.0,
6
+ "eval_steps": 76,
7
+ "global_step": 152,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.02631578947368421,
14
+ "grad_norm": 0.9123721122741699,
15
+ "learning_rate": 1e-05,
16
+ "loss": 1.7529,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.05263157894736842,
21
+ "grad_norm": 0.8983409404754639,
22
+ "learning_rate": 9.93421052631579e-06,
23
+ "loss": 2.0205,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.07894736842105263,
28
+ "grad_norm": 0.7459537386894226,
29
+ "learning_rate": 9.868421052631579e-06,
30
+ "loss": 1.938,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.10526315789473684,
35
+ "grad_norm": 0.5364267230033875,
36
+ "learning_rate": 9.80263157894737e-06,
37
+ "loss": 1.7756,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 0.13157894736842105,
42
+ "grad_norm": 0.5603910088539124,
43
+ "learning_rate": 9.736842105263159e-06,
44
+ "loss": 1.7495,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 0.15789473684210525,
49
+ "grad_norm": 0.49162617325782776,
50
+ "learning_rate": 9.671052631578948e-06,
51
+ "loss": 1.8455,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 0.18421052631578946,
56
+ "grad_norm": 0.5008453130722046,
57
+ "learning_rate": 9.605263157894737e-06,
58
+ "loss": 1.6621,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.21052631578947367,
63
+ "grad_norm": 0.5266237258911133,
64
+ "learning_rate": 9.539473684210528e-06,
65
+ "loss": 1.7903,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.23684210526315788,
70
+ "grad_norm": 0.6560247540473938,
71
+ "learning_rate": 9.473684210526315e-06,
72
+ "loss": 1.582,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.2631578947368421,
77
+ "grad_norm": 0.3924446702003479,
78
+ "learning_rate": 9.407894736842106e-06,
79
+ "loss": 1.7129,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 0.2894736842105263,
84
+ "grad_norm": 0.38711851835250854,
85
+ "learning_rate": 9.342105263157895e-06,
86
+ "loss": 1.7773,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 0.3157894736842105,
91
+ "grad_norm": 0.3938468396663666,
92
+ "learning_rate": 9.276315789473686e-06,
93
+ "loss": 1.5649,
94
+ "step": 12
95
+ },
96
+ {
97
+ "epoch": 0.34210526315789475,
98
+ "grad_norm": 0.36565202474594116,
99
+ "learning_rate": 9.210526315789474e-06,
100
+ "loss": 1.6306,
101
+ "step": 13
102
+ },
103
+ {
104
+ "epoch": 0.3684210526315789,
105
+ "grad_norm": 0.4620167911052704,
106
+ "learning_rate": 9.144736842105264e-06,
107
+ "loss": 1.6184,
108
+ "step": 14
109
+ },
110
+ {
111
+ "epoch": 0.39473684210526316,
112
+ "grad_norm": 0.33130666613578796,
113
+ "learning_rate": 9.078947368421054e-06,
114
+ "loss": 1.623,
115
+ "step": 15
116
+ },
117
+ {
118
+ "epoch": 0.42105263157894735,
119
+ "grad_norm": 0.2919524610042572,
120
+ "learning_rate": 9.013157894736843e-06,
121
+ "loss": 1.6318,
122
+ "step": 16
123
+ },
124
+ {
125
+ "epoch": 0.4473684210526316,
126
+ "grad_norm": 0.2672816812992096,
127
+ "learning_rate": 8.947368421052632e-06,
128
+ "loss": 1.4897,
129
+ "step": 17
130
+ },
131
+ {
132
+ "epoch": 0.47368421052631576,
133
+ "grad_norm": 0.23821978271007538,
134
+ "learning_rate": 8.881578947368423e-06,
135
+ "loss": 1.428,
136
+ "step": 18
137
+ },
138
+ {
139
+ "epoch": 0.5,
140
+ "grad_norm": 0.21208712458610535,
141
+ "learning_rate": 8.81578947368421e-06,
142
+ "loss": 1.4756,
143
+ "step": 19
144
+ },
145
+ {
146
+ "epoch": 0.5263157894736842,
147
+ "grad_norm": 0.2554440498352051,
148
+ "learning_rate": 8.750000000000001e-06,
149
+ "loss": 1.5552,
150
+ "step": 20
151
+ },
152
+ {
153
+ "epoch": 0.5526315789473685,
154
+ "grad_norm": 0.20846055448055267,
155
+ "learning_rate": 8.68421052631579e-06,
156
+ "loss": 1.5527,
157
+ "step": 21
158
+ },
159
+ {
160
+ "epoch": 0.5789473684210527,
161
+ "grad_norm": 0.22391115128993988,
162
+ "learning_rate": 8.61842105263158e-06,
163
+ "loss": 1.5237,
164
+ "step": 22
165
+ },
166
+ {
167
+ "epoch": 0.6052631578947368,
168
+ "grad_norm": 0.2024792730808258,
169
+ "learning_rate": 8.552631578947368e-06,
170
+ "loss": 1.459,
171
+ "step": 23
172
+ },
173
+ {
174
+ "epoch": 0.631578947368421,
175
+ "grad_norm": 0.2103537917137146,
176
+ "learning_rate": 8.486842105263159e-06,
177
+ "loss": 1.5869,
178
+ "step": 24
179
+ },
180
+ {
181
+ "epoch": 0.6578947368421053,
182
+ "grad_norm": 0.1935657262802124,
183
+ "learning_rate": 8.421052631578948e-06,
184
+ "loss": 1.4313,
185
+ "step": 25
186
+ },
187
+ {
188
+ "epoch": 0.6842105263157895,
189
+ "grad_norm": 0.18945100903511047,
190
+ "learning_rate": 8.355263157894737e-06,
191
+ "loss": 1.4692,
192
+ "step": 26
193
+ },
194
+ {
195
+ "epoch": 0.7105263157894737,
196
+ "grad_norm": 0.2018207460641861,
197
+ "learning_rate": 8.289473684210526e-06,
198
+ "loss": 1.4473,
199
+ "step": 27
200
+ },
201
+ {
202
+ "epoch": 0.7368421052631579,
203
+ "grad_norm": 0.17049378156661987,
204
+ "learning_rate": 8.223684210526316e-06,
205
+ "loss": 1.3296,
206
+ "step": 28
207
+ },
208
+ {
209
+ "epoch": 0.7631578947368421,
210
+ "grad_norm": 0.17862842977046967,
211
+ "learning_rate": 8.157894736842106e-06,
212
+ "loss": 1.2607,
213
+ "step": 29
214
+ },
215
+ {
216
+ "epoch": 0.7894736842105263,
217
+ "grad_norm": 0.20279452204704285,
218
+ "learning_rate": 8.092105263157896e-06,
219
+ "loss": 1.3848,
220
+ "step": 30
221
+ },
222
+ {
223
+ "epoch": 0.8157894736842105,
224
+ "grad_norm": 0.17397917807102203,
225
+ "learning_rate": 8.026315789473685e-06,
226
+ "loss": 1.3027,
227
+ "step": 31
228
+ },
229
+ {
230
+ "epoch": 0.8421052631578947,
231
+ "grad_norm": 0.23914802074432373,
232
+ "learning_rate": 7.960526315789474e-06,
233
+ "loss": 1.5098,
234
+ "step": 32
235
+ },
236
+ {
237
+ "epoch": 0.868421052631579,
238
+ "grad_norm": 0.18806089460849762,
239
+ "learning_rate": 7.894736842105265e-06,
240
+ "loss": 1.2754,
241
+ "step": 33
242
+ },
243
+ {
244
+ "epoch": 0.8947368421052632,
245
+ "grad_norm": 0.2042052298784256,
246
+ "learning_rate": 7.828947368421054e-06,
247
+ "loss": 1.5605,
248
+ "step": 34
249
+ },
250
+ {
251
+ "epoch": 0.9210526315789473,
252
+ "grad_norm": 0.1831723302602768,
253
+ "learning_rate": 7.763157894736843e-06,
254
+ "loss": 1.3862,
255
+ "step": 35
256
+ },
257
+ {
258
+ "epoch": 0.9473684210526315,
259
+ "grad_norm": 0.1900983452796936,
260
+ "learning_rate": 7.697368421052632e-06,
261
+ "loss": 1.3682,
262
+ "step": 36
263
+ },
264
+ {
265
+ "epoch": 0.9736842105263158,
266
+ "grad_norm": 0.1751386821269989,
267
+ "learning_rate": 7.631578947368423e-06,
268
+ "loss": 1.4795,
269
+ "step": 37
270
+ },
271
+ {
272
+ "epoch": 1.0,
273
+ "grad_norm": 0.19076912105083466,
274
+ "learning_rate": 7.565789473684211e-06,
275
+ "loss": 1.4268,
276
+ "step": 38
277
+ },
278
+ {
279
+ "epoch": 1.0263157894736843,
280
+ "grad_norm": 0.17538294196128845,
281
+ "learning_rate": 7.500000000000001e-06,
282
+ "loss": 1.2935,
283
+ "step": 39
284
+ },
285
+ {
286
+ "epoch": 1.0526315789473684,
287
+ "grad_norm": 0.1990729719400406,
288
+ "learning_rate": 7.43421052631579e-06,
289
+ "loss": 1.4525,
290
+ "step": 40
291
+ },
292
+ {
293
+ "epoch": 1.0789473684210527,
294
+ "grad_norm": 0.19373203814029694,
295
+ "learning_rate": 7.368421052631579e-06,
296
+ "loss": 1.3889,
297
+ "step": 41
298
+ },
299
+ {
300
+ "epoch": 1.1052631578947367,
301
+ "grad_norm": 0.17557767033576965,
302
+ "learning_rate": 7.302631578947369e-06,
303
+ "loss": 1.3292,
304
+ "step": 42
305
+ },
306
+ {
307
+ "epoch": 1.131578947368421,
308
+ "grad_norm": 0.18259677290916443,
309
+ "learning_rate": 7.236842105263158e-06,
310
+ "loss": 1.2814,
311
+ "step": 43
312
+ },
313
+ {
314
+ "epoch": 1.1578947368421053,
315
+ "grad_norm": 0.18624745309352875,
316
+ "learning_rate": 7.1710526315789475e-06,
317
+ "loss": 1.4247,
318
+ "step": 44
319
+ },
320
+ {
321
+ "epoch": 1.1842105263157894,
322
+ "grad_norm": 0.16235268115997314,
323
+ "learning_rate": 7.1052631578947375e-06,
324
+ "loss": 1.271,
325
+ "step": 45
326
+ },
327
+ {
328
+ "epoch": 1.2105263157894737,
329
+ "grad_norm": 0.18120981752872467,
330
+ "learning_rate": 7.0394736842105274e-06,
331
+ "loss": 1.4043,
332
+ "step": 46
333
+ },
334
+ {
335
+ "epoch": 1.236842105263158,
336
+ "grad_norm": 0.2193688303232193,
337
+ "learning_rate": 6.973684210526316e-06,
338
+ "loss": 1.1313,
339
+ "step": 47
340
+ },
341
+ {
342
+ "epoch": 1.263157894736842,
343
+ "grad_norm": 0.18220637738704681,
344
+ "learning_rate": 6.907894736842106e-06,
345
+ "loss": 1.376,
346
+ "step": 48
347
+ },
348
+ {
349
+ "epoch": 1.2894736842105263,
350
+ "grad_norm": 0.1826276183128357,
351
+ "learning_rate": 6.842105263157896e-06,
352
+ "loss": 1.458,
353
+ "step": 49
354
+ },
355
+ {
356
+ "epoch": 1.3157894736842106,
357
+ "grad_norm": 0.2493559569120407,
358
+ "learning_rate": 6.776315789473686e-06,
359
+ "loss": 1.2534,
360
+ "step": 50
361
+ },
362
+ {
363
+ "epoch": 1.3421052631578947,
364
+ "grad_norm": 0.17839138209819794,
365
+ "learning_rate": 6.710526315789474e-06,
366
+ "loss": 1.3435,
367
+ "step": 51
368
+ },
369
+ {
370
+ "epoch": 1.368421052631579,
371
+ "grad_norm": 0.22518493235111237,
372
+ "learning_rate": 6.644736842105264e-06,
373
+ "loss": 1.2935,
374
+ "step": 52
375
+ },
376
+ {
377
+ "checkpoint_runtime": 10.1043
378
+ },
379
+ {
380
+ "epoch": 1.3947368421052633,
381
+ "grad_norm": 0.1906924694776535,
382
+ "learning_rate": 6.578947368421054e-06,
383
+ "loss": 1.3525,
384
+ "step": 53
385
+ },
386
+ {
387
+ "epoch": 1.4210526315789473,
388
+ "grad_norm": 0.19758851826190948,
389
+ "learning_rate": 6.513157894736842e-06,
390
+ "loss": 1.3856,
391
+ "step": 54
392
+ },
393
+ {
394
+ "epoch": 1.4473684210526316,
395
+ "grad_norm": 0.18283262848854065,
396
+ "learning_rate": 6.447368421052632e-06,
397
+ "loss": 1.2532,
398
+ "step": 55
399
+ },
400
+ {
401
+ "epoch": 1.4736842105263157,
402
+ "grad_norm": 0.19298750162124634,
403
+ "learning_rate": 6.381578947368422e-06,
404
+ "loss": 1.1985,
405
+ "step": 56
406
+ },
407
+ {
408
+ "epoch": 1.5,
409
+ "grad_norm": 0.17387087643146515,
410
+ "learning_rate": 6.31578947368421e-06,
411
+ "loss": 1.2573,
412
+ "step": 57
413
+ },
414
+ {
415
+ "epoch": 1.526315789473684,
416
+ "grad_norm": 0.22176223993301392,
417
+ "learning_rate": 6.25e-06,
418
+ "loss": 1.3278,
419
+ "step": 58
420
+ },
421
+ {
422
+ "epoch": 1.5526315789473686,
423
+ "grad_norm": 0.18737094104290009,
424
+ "learning_rate": 6.18421052631579e-06,
425
+ "loss": 1.3545,
426
+ "step": 59
427
+ },
428
+ {
429
+ "epoch": 1.5789473684210527,
430
+ "grad_norm": 0.21818137168884277,
431
+ "learning_rate": 6.118421052631579e-06,
432
+ "loss": 1.2976,
433
+ "step": 60
434
+ },
435
+ {
436
+ "epoch": 1.6052631578947367,
437
+ "grad_norm": 0.19866132736206055,
438
+ "learning_rate": 6.0526315789473685e-06,
439
+ "loss": 1.2627,
440
+ "step": 61
441
+ },
442
+ {
443
+ "epoch": 1.631578947368421,
444
+ "grad_norm": 0.21948541700839996,
445
+ "learning_rate": 5.9868421052631585e-06,
446
+ "loss": 1.3801,
447
+ "step": 62
448
+ },
449
+ {
450
+ "epoch": 1.6578947368421053,
451
+ "grad_norm": 0.18909035623073578,
452
+ "learning_rate": 5.921052631578948e-06,
453
+ "loss": 1.2484,
454
+ "step": 63
455
+ },
456
+ {
457
+ "epoch": 1.6842105263157894,
458
+ "grad_norm": 0.19033916294574738,
459
+ "learning_rate": 5.855263157894738e-06,
460
+ "loss": 1.2832,
461
+ "step": 64
462
+ },
463
+ {
464
+ "epoch": 1.7105263157894737,
465
+ "grad_norm": 0.20355014503002167,
466
+ "learning_rate": 5.789473684210527e-06,
467
+ "loss": 1.2362,
468
+ "step": 65
469
+ },
470
+ {
471
+ "epoch": 1.736842105263158,
472
+ "grad_norm": 0.17357026040554047,
473
+ "learning_rate": 5.723684210526316e-06,
474
+ "loss": 1.1641,
475
+ "step": 66
476
+ },
477
+ {
478
+ "epoch": 1.763157894736842,
479
+ "grad_norm": 0.19439999759197235,
480
+ "learning_rate": 5.657894736842106e-06,
481
+ "loss": 1.082,
482
+ "step": 67
483
+ },
484
+ {
485
+ "epoch": 1.7894736842105263,
486
+ "grad_norm": 0.22951634228229523,
487
+ "learning_rate": 5.592105263157896e-06,
488
+ "loss": 1.2029,
489
+ "step": 68
490
+ },
491
+ {
492
+ "epoch": 1.8157894736842106,
493
+ "grad_norm": 0.1897413432598114,
494
+ "learning_rate": 5.526315789473685e-06,
495
+ "loss": 1.127,
496
+ "step": 69
497
+ },
498
+ {
499
+ "epoch": 1.8421052631578947,
500
+ "grad_norm": 0.2506878077983856,
501
+ "learning_rate": 5.460526315789474e-06,
502
+ "loss": 1.2786,
503
+ "step": 70
504
+ },
505
+ {
506
+ "epoch": 1.868421052631579,
507
+ "grad_norm": 0.19912667572498322,
508
+ "learning_rate": 5.394736842105264e-06,
509
+ "loss": 1.0957,
510
+ "step": 71
511
+ },
512
+ {
513
+ "epoch": 1.8947368421052633,
514
+ "grad_norm": 1.4676445722579956,
515
+ "learning_rate": 5.328947368421054e-06,
516
+ "loss": 1.3501,
517
+ "step": 72
518
+ },
519
+ {
520
+ "epoch": 1.9210526315789473,
521
+ "grad_norm": 0.201414093375206,
522
+ "learning_rate": 5.263157894736842e-06,
523
+ "loss": 1.2012,
524
+ "step": 73
525
+ },
526
+ {
527
+ "epoch": 1.9473684210526314,
528
+ "grad_norm": 0.19307729601860046,
529
+ "learning_rate": 5.197368421052632e-06,
530
+ "loss": 1.1748,
531
+ "step": 74
532
+ },
533
+ {
534
+ "epoch": 1.973684210526316,
535
+ "grad_norm": 0.19274558126926422,
536
+ "learning_rate": 5.131578947368422e-06,
537
+ "loss": 1.313,
538
+ "step": 75
539
+ },
540
+ {
541
+ "epoch": 2.0,
542
+ "grad_norm": 0.20288924872875214,
543
+ "learning_rate": 5.0657894736842104e-06,
544
+ "loss": 1.2534,
545
+ "step": 76
546
+ },
547
+ {
548
+ "epoch": 2.0,
549
+ "eval_loss": 1.17578125,
550
+ "eval_runtime": 3.5221,
551
+ "eval_samples_per_second": 3.407,
552
+ "eval_steps_per_second": 0.568,
553
+ "step": 76
554
+ },
555
+ {
556
+ "epoch": 2.026315789473684,
557
+ "grad_norm": 0.19196660816669464,
558
+ "learning_rate": 5e-06,
559
+ "loss": 1.1514,
560
+ "step": 77
561
+ },
562
+ {
563
+ "epoch": 2.0526315789473686,
564
+ "grad_norm": 0.22189833223819733,
565
+ "learning_rate": 4.9342105263157895e-06,
566
+ "loss": 1.2638,
567
+ "step": 78
568
+ },
569
+ {
570
+ "epoch": 2.0789473684210527,
571
+ "grad_norm": 0.21822911500930786,
572
+ "learning_rate": 4.8684210526315795e-06,
573
+ "loss": 1.2109,
574
+ "step": 79
575
+ },
576
+ {
577
+ "epoch": 2.1052631578947367,
578
+ "grad_norm": 0.2068079113960266,
579
+ "learning_rate": 4.802631578947369e-06,
580
+ "loss": 1.179,
581
+ "step": 80
582
+ },
583
+ {
584
+ "epoch": 2.1315789473684212,
585
+ "grad_norm": 0.2942705750465393,
586
+ "learning_rate": 4.736842105263158e-06,
587
+ "loss": 1.1239,
588
+ "step": 81
589
+ },
590
+ {
591
+ "epoch": 2.1578947368421053,
592
+ "grad_norm": 0.23848527669906616,
593
+ "learning_rate": 4.671052631578948e-06,
594
+ "loss": 1.2626,
595
+ "step": 82
596
+ },
597
+ {
598
+ "epoch": 2.1842105263157894,
599
+ "grad_norm": 0.1883735954761505,
600
+ "learning_rate": 4.605263157894737e-06,
601
+ "loss": 1.1343,
602
+ "step": 83
603
+ },
604
+ {
605
+ "epoch": 2.2105263157894735,
606
+ "grad_norm": 0.20841026306152344,
607
+ "learning_rate": 4.539473684210527e-06,
608
+ "loss": 1.2786,
609
+ "step": 84
610
+ },
611
+ {
612
+ "epoch": 2.236842105263158,
613
+ "grad_norm": 0.24563977122306824,
614
+ "learning_rate": 4.473684210526316e-06,
615
+ "loss": 0.9895,
616
+ "step": 85
617
+ },
618
+ {
619
+ "epoch": 2.263157894736842,
620
+ "grad_norm": 0.19508451223373413,
621
+ "learning_rate": 4.407894736842105e-06,
622
+ "loss": 1.2197,
623
+ "step": 86
624
+ },
625
+ {
626
+ "epoch": 2.2894736842105265,
627
+ "grad_norm": 0.2005009800195694,
628
+ "learning_rate": 4.342105263157895e-06,
629
+ "loss": 1.3101,
630
+ "step": 87
631
+ },
632
+ {
633
+ "epoch": 2.3157894736842106,
634
+ "grad_norm": 0.21326693892478943,
635
+ "learning_rate": 4.276315789473684e-06,
636
+ "loss": 1.1106,
637
+ "step": 88
638
+ },
639
+ {
640
+ "epoch": 2.3421052631578947,
641
+ "grad_norm": 0.20623892545700073,
642
+ "learning_rate": 4.210526315789474e-06,
643
+ "loss": 1.2069,
644
+ "step": 89
645
+ },
646
+ {
647
+ "epoch": 2.3684210526315788,
648
+ "grad_norm": 0.2533697783946991,
649
+ "learning_rate": 4.144736842105263e-06,
650
+ "loss": 1.1436,
651
+ "step": 90
652
+ },
653
+ {
654
+ "epoch": 2.3947368421052633,
655
+ "grad_norm": 0.2188979834318161,
656
+ "learning_rate": 4.078947368421053e-06,
657
+ "loss": 1.2021,
658
+ "step": 91
659
+ },
660
+ {
661
+ "epoch": 2.4210526315789473,
662
+ "grad_norm": 0.21808868646621704,
663
+ "learning_rate": 4.013157894736842e-06,
664
+ "loss": 1.2418,
665
+ "step": 92
666
+ },
667
+ {
668
+ "epoch": 2.4473684210526314,
669
+ "grad_norm": 0.20212087035179138,
670
+ "learning_rate": 3.947368421052632e-06,
671
+ "loss": 1.1102,
672
+ "step": 93
673
+ },
674
+ {
675
+ "epoch": 2.473684210526316,
676
+ "grad_norm": 0.2139948606491089,
677
+ "learning_rate": 3.8815789473684214e-06,
678
+ "loss": 1.0573,
679
+ "step": 94
680
+ },
681
+ {
682
+ "epoch": 2.5,
683
+ "grad_norm": 0.21474292874336243,
684
+ "learning_rate": 3.815789473684211e-06,
685
+ "loss": 1.1265,
686
+ "step": 95
687
+ },
688
+ {
689
+ "epoch": 2.526315789473684,
690
+ "grad_norm": 0.23335693776607513,
691
+ "learning_rate": 3.7500000000000005e-06,
692
+ "loss": 1.1888,
693
+ "step": 96
694
+ },
695
+ {
696
+ "epoch": 2.5526315789473686,
697
+ "grad_norm": 0.20745357871055603,
698
+ "learning_rate": 3.6842105263157896e-06,
699
+ "loss": 1.2212,
700
+ "step": 97
701
+ },
702
+ {
703
+ "epoch": 2.5789473684210527,
704
+ "grad_norm": 0.24392454326152802,
705
+ "learning_rate": 3.618421052631579e-06,
706
+ "loss": 1.1482,
707
+ "step": 98
708
+ },
709
+ {
710
+ "epoch": 2.6052631578947367,
711
+ "grad_norm": 0.209051251411438,
712
+ "learning_rate": 3.5526315789473687e-06,
713
+ "loss": 1.1431,
714
+ "step": 99
715
+ },
716
+ {
717
+ "epoch": 2.6315789473684212,
718
+ "grad_norm": 0.24735654890537262,
719
+ "learning_rate": 3.486842105263158e-06,
720
+ "loss": 1.2396,
721
+ "step": 100
722
+ },
723
+ {
724
+ "epoch": 2.6578947368421053,
725
+ "grad_norm": 0.19793781638145447,
726
+ "learning_rate": 3.421052631578948e-06,
727
+ "loss": 1.1342,
728
+ "step": 101
729
+ },
730
+ {
731
+ "epoch": 2.6842105263157894,
732
+ "grad_norm": 0.21070927381515503,
733
+ "learning_rate": 3.355263157894737e-06,
734
+ "loss": 1.1704,
735
+ "step": 102
736
+ },
737
+ {
738
+ "checkpoint_runtime": 9.4822
739
+ },
740
+ {
741
+ "epoch": 2.7105263157894735,
742
+ "grad_norm": 0.22601282596588135,
743
+ "learning_rate": 3.289473684210527e-06,
744
+ "loss": 1.1041,
745
+ "step": 103
746
+ },
747
+ {
748
+ "epoch": 2.736842105263158,
749
+ "grad_norm": 0.18559959530830383,
750
+ "learning_rate": 3.223684210526316e-06,
751
+ "loss": 1.0654,
752
+ "step": 104
753
+ },
754
+ {
755
+ "epoch": 2.763157894736842,
756
+ "grad_norm": 0.20749028027057648,
757
+ "learning_rate": 3.157894736842105e-06,
758
+ "loss": 0.9834,
759
+ "step": 105
760
+ },
761
+ {
762
+ "epoch": 2.7894736842105265,
763
+ "grad_norm": 0.2508399784564972,
764
+ "learning_rate": 3.092105263157895e-06,
765
+ "loss": 1.0941,
766
+ "step": 106
767
+ },
768
+ {
769
+ "epoch": 2.8157894736842106,
770
+ "grad_norm": 0.21029452979564667,
771
+ "learning_rate": 3.0263157894736843e-06,
772
+ "loss": 1.0352,
773
+ "step": 107
774
+ },
775
+ {
776
+ "epoch": 2.8421052631578947,
777
+ "grad_norm": 0.27152472734451294,
778
+ "learning_rate": 2.960526315789474e-06,
779
+ "loss": 1.1492,
780
+ "step": 108
781
+ },
782
+ {
783
+ "epoch": 2.8684210526315788,
784
+ "grad_norm": 0.2187647819519043,
785
+ "learning_rate": 2.8947368421052634e-06,
786
+ "loss": 1.0068,
787
+ "step": 109
788
+ },
789
+ {
790
+ "epoch": 2.8947368421052633,
791
+ "grad_norm": 0.23925845324993134,
792
+ "learning_rate": 2.828947368421053e-06,
793
+ "loss": 1.2441,
794
+ "step": 110
795
+ },
796
+ {
797
+ "epoch": 2.9210526315789473,
798
+ "grad_norm": 0.21557359397411346,
799
+ "learning_rate": 2.7631578947368424e-06,
800
+ "loss": 1.1035,
801
+ "step": 111
802
+ },
803
+ {
804
+ "epoch": 2.9473684210526314,
805
+ "grad_norm": 0.2115062177181244,
806
+ "learning_rate": 2.697368421052632e-06,
807
+ "loss": 1.084,
808
+ "step": 112
809
+ },
810
+ {
811
+ "epoch": 2.973684210526316,
812
+ "grad_norm": 0.21911245584487915,
813
+ "learning_rate": 2.631578947368421e-06,
814
+ "loss": 1.2256,
815
+ "step": 113
816
+ },
817
+ {
818
+ "epoch": 3.0,
819
+ "grad_norm": 0.21688233315944672,
820
+ "learning_rate": 2.565789473684211e-06,
821
+ "loss": 1.165,
822
+ "step": 114
823
+ },
824
+ {
825
+ "epoch": 3.026315789473684,
826
+ "grad_norm": 0.20714174211025238,
827
+ "learning_rate": 2.5e-06,
828
+ "loss": 1.0786,
829
+ "step": 115
830
+ },
831
+ {
832
+ "epoch": 3.0526315789473686,
833
+ "grad_norm": 0.23801325261592865,
834
+ "learning_rate": 2.4342105263157898e-06,
835
+ "loss": 1.1616,
836
+ "step": 116
837
+ },
838
+ {
839
+ "epoch": 3.0789473684210527,
840
+ "grad_norm": 0.2522694766521454,
841
+ "learning_rate": 2.368421052631579e-06,
842
+ "loss": 1.1205,
843
+ "step": 117
844
+ },
845
+ {
846
+ "epoch": 3.1052631578947367,
847
+ "grad_norm": 0.20447932183742523,
848
+ "learning_rate": 2.3026315789473684e-06,
849
+ "loss": 1.1024,
850
+ "step": 118
851
+ },
852
+ {
853
+ "epoch": 3.1315789473684212,
854
+ "grad_norm": 0.22387726604938507,
855
+ "learning_rate": 2.236842105263158e-06,
856
+ "loss": 1.0515,
857
+ "step": 119
858
+ },
859
+ {
860
+ "epoch": 3.1578947368421053,
861
+ "grad_norm": 0.2203892469406128,
862
+ "learning_rate": 2.1710526315789475e-06,
863
+ "loss": 1.1839,
864
+ "step": 120
865
+ },
866
+ {
867
+ "epoch": 3.1842105263157894,
868
+ "grad_norm": 0.19983014464378357,
869
+ "learning_rate": 2.105263157894737e-06,
870
+ "loss": 1.0659,
871
+ "step": 121
872
+ },
873
+ {
874
+ "epoch": 3.2105263157894735,
875
+ "grad_norm": 0.2277001142501831,
876
+ "learning_rate": 2.0394736842105266e-06,
877
+ "loss": 1.2161,
878
+ "step": 122
879
+ },
880
+ {
881
+ "epoch": 3.236842105263158,
882
+ "grad_norm": 0.26377543807029724,
883
+ "learning_rate": 1.973684210526316e-06,
884
+ "loss": 0.925,
885
+ "step": 123
886
+ },
887
+ {
888
+ "epoch": 3.263157894736842,
889
+ "grad_norm": 0.21232622861862183,
890
+ "learning_rate": 1.9078947368421057e-06,
891
+ "loss": 1.144,
892
+ "step": 124
893
+ },
894
+ {
895
+ "epoch": 3.2894736842105265,
896
+ "grad_norm": 0.2160305678844452,
897
+ "learning_rate": 1.8421052631578948e-06,
898
+ "loss": 1.2456,
899
+ "step": 125
900
+ },
901
+ {
902
+ "epoch": 3.3157894736842106,
903
+ "grad_norm": 0.2347312867641449,
904
+ "learning_rate": 1.7763157894736844e-06,
905
+ "loss": 1.0468,
906
+ "step": 126
907
+ },
908
+ {
909
+ "epoch": 3.3421052631578947,
910
+ "grad_norm": 0.22175875306129456,
911
+ "learning_rate": 1.710526315789474e-06,
912
+ "loss": 1.1398,
913
+ "step": 127
914
+ },
915
+ {
916
+ "epoch": 3.3684210526315788,
917
+ "grad_norm": 0.26978111267089844,
918
+ "learning_rate": 1.6447368421052635e-06,
919
+ "loss": 1.0754,
920
+ "step": 128
921
+ },
922
+ {
923
+ "epoch": 3.3947368421052633,
924
+ "grad_norm": 0.2348111867904663,
925
+ "learning_rate": 1.5789473684210526e-06,
926
+ "loss": 1.1348,
927
+ "step": 129
928
+ },
929
+ {
930
+ "epoch": 3.4210526315789473,
931
+ "grad_norm": 0.23943249881267548,
932
+ "learning_rate": 1.5131578947368421e-06,
933
+ "loss": 1.1715,
934
+ "step": 130
935
+ },
936
+ {
937
+ "epoch": 3.4473684210526314,
938
+ "grad_norm": 0.2244543582201004,
939
+ "learning_rate": 1.4473684210526317e-06,
940
+ "loss": 1.0444,
941
+ "step": 131
942
+ },
943
+ {
944
+ "epoch": 3.473684210526316,
945
+ "grad_norm": 0.2498081922531128,
946
+ "learning_rate": 1.3815789473684212e-06,
947
+ "loss": 0.9928,
948
+ "step": 132
949
+ },
950
+ {
951
+ "epoch": 3.5,
952
+ "grad_norm": 0.21809686720371246,
953
+ "learning_rate": 1.3157894736842106e-06,
954
+ "loss": 1.0674,
955
+ "step": 133
956
+ },
957
+ {
958
+ "epoch": 3.526315789473684,
959
+ "grad_norm": 0.2573719620704651,
960
+ "learning_rate": 1.25e-06,
961
+ "loss": 1.1315,
962
+ "step": 134
963
+ },
964
+ {
965
+ "epoch": 3.5526315789473686,
966
+ "grad_norm": 0.22611169517040253,
967
+ "learning_rate": 1.1842105263157894e-06,
968
+ "loss": 1.1646,
969
+ "step": 135
970
+ },
971
+ {
972
+ "epoch": 3.5789473684210527,
973
+ "grad_norm": 0.25931963324546814,
974
+ "learning_rate": 1.118421052631579e-06,
975
+ "loss": 1.0789,
976
+ "step": 136
977
+ },
978
+ {
979
+ "epoch": 3.6052631578947367,
980
+ "grad_norm": 0.2301693558692932,
981
+ "learning_rate": 1.0526315789473685e-06,
982
+ "loss": 1.0928,
983
+ "step": 137
984
+ },
985
+ {
986
+ "epoch": 3.6315789473684212,
987
+ "grad_norm": 0.2776806354522705,
988
+ "learning_rate": 9.86842105263158e-07,
989
+ "loss": 1.1768,
990
+ "step": 138
991
+ },
992
+ {
993
+ "epoch": 3.6578947368421053,
994
+ "grad_norm": 0.2093764841556549,
995
+ "learning_rate": 9.210526315789474e-07,
996
+ "loss": 1.0848,
997
+ "step": 139
998
+ },
999
+ {
1000
+ "epoch": 3.6842105263157894,
1001
+ "grad_norm": 0.21807806193828583,
1002
+ "learning_rate": 8.55263157894737e-07,
1003
+ "loss": 1.1221,
1004
+ "step": 140
1005
+ },
1006
+ {
1007
+ "epoch": 3.7105263157894735,
1008
+ "grad_norm": 0.2526063621044159,
1009
+ "learning_rate": 7.894736842105263e-07,
1010
+ "loss": 1.05,
1011
+ "step": 141
1012
+ },
1013
+ {
1014
+ "epoch": 3.736842105263158,
1015
+ "grad_norm": 0.19926978647708893,
1016
+ "learning_rate": 7.236842105263158e-07,
1017
+ "loss": 1.0264,
1018
+ "step": 142
1019
+ },
1020
+ {
1021
+ "epoch": 3.763157894736842,
1022
+ "grad_norm": 0.22158919274806976,
1023
+ "learning_rate": 6.578947368421053e-07,
1024
+ "loss": 0.9414,
1025
+ "step": 143
1026
+ },
1027
+ {
1028
+ "epoch": 3.7894736842105265,
1029
+ "grad_norm": 0.26375311613082886,
1030
+ "learning_rate": 5.921052631578947e-07,
1031
+ "loss": 1.0459,
1032
+ "step": 144
1033
+ },
1034
+ {
1035
+ "epoch": 3.8157894736842106,
1036
+ "grad_norm": 0.21970221400260925,
1037
+ "learning_rate": 5.263157894736843e-07,
1038
+ "loss": 0.9985,
1039
+ "step": 145
1040
+ },
1041
+ {
1042
+ "epoch": 3.8421052631578947,
1043
+ "grad_norm": 0.2868686318397522,
1044
+ "learning_rate": 4.605263157894737e-07,
1045
+ "loss": 1.0981,
1046
+ "step": 146
1047
+ },
1048
+ {
1049
+ "epoch": 3.8684210526315788,
1050
+ "grad_norm": 0.22975504398345947,
1051
+ "learning_rate": 3.9473684210526315e-07,
1052
+ "loss": 0.9683,
1053
+ "step": 147
1054
+ },
1055
+ {
1056
+ "epoch": 3.8947368421052633,
1057
+ "grad_norm": 0.25351837277412415,
1058
+ "learning_rate": 3.2894736842105264e-07,
1059
+ "loss": 1.1978,
1060
+ "step": 148
1061
+ },
1062
+ {
1063
+ "epoch": 3.9210526315789473,
1064
+ "grad_norm": 0.23104619979858398,
1065
+ "learning_rate": 2.6315789473684213e-07,
1066
+ "loss": 1.0684,
1067
+ "step": 149
1068
+ },
1069
+ {
1070
+ "epoch": 3.9473684210526314,
1071
+ "grad_norm": 0.22691509127616882,
1072
+ "learning_rate": 1.9736842105263157e-07,
1073
+ "loss": 1.0488,
1074
+ "step": 150
1075
+ },
1076
+ {
1077
+ "epoch": 3.973684210526316,
1078
+ "grad_norm": 0.21638430655002594,
1079
+ "learning_rate": 1.3157894736842107e-07,
1080
+ "loss": 1.1958,
1081
+ "step": 151
1082
+ },
1083
+ {
1084
+ "epoch": 4.0,
1085
+ "grad_norm": 0.22461865842342377,
1086
+ "learning_rate": 6.578947368421053e-08,
1087
+ "loss": 1.1362,
1088
+ "step": 152
1089
+ },
1090
+ {
1091
+ "epoch": 4.0,
1092
+ "eval_loss": 1.07098388671875,
1093
+ "eval_runtime": 2.6493,
1094
+ "eval_samples_per_second": 4.529,
1095
+ "eval_steps_per_second": 0.755,
1096
+ "step": 152
1097
+ }
1098
+ ],
1099
+ "logging_steps": 1.0,
1100
+ "max_steps": 152,
1101
+ "num_input_tokens_seen": 0,
1102
+ "num_train_epochs": 4,
1103
+ "save_steps": 50,
1104
+ "stateful_callbacks": {
1105
+ "TrainerControl": {
1106
+ "args": {
1107
+ "should_epoch_stop": false,
1108
+ "should_evaluate": false,
1109
+ "should_log": false,
1110
+ "should_save": true,
1111
+ "should_training_stop": true
1112
+ },
1113
+ "attributes": {}
1114
+ }
1115
+ },
1116
+ "total_flos": 8.96512299022418e+16,
1117
+ "train_batch_size": 1,
1118
+ "trial_name": null,
1119
+ "trial_params": null
1120
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff