Sachin Singh commited on
Commit
3373c49
·
verified ·
1 Parent(s): 59a55d0

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +29 -0
  2. README.md +59 -0
  3. checkpoint-10/README.md +210 -0
  4. checkpoint-10/adapter_config.json +52 -0
  5. checkpoint-10/adapter_model.safetensors +3 -0
  6. checkpoint-10/chat_template.jinja +97 -0
  7. checkpoint-10/optimizer.pt +3 -0
  8. checkpoint-10/rng_state.pth +3 -0
  9. checkpoint-10/scheduler.pt +3 -0
  10. checkpoint-10/tokenizer.json +3 -0
  11. checkpoint-10/tokenizer_config.json +233 -0
  12. checkpoint-10/trainer_state.json +104 -0
  13. checkpoint-10/training_args.bin +3 -0
  14. checkpoint-100/README.md +210 -0
  15. checkpoint-100/adapter_config.json +52 -0
  16. checkpoint-100/adapter_model.safetensors +3 -0
  17. checkpoint-100/chat_template.jinja +97 -0
  18. checkpoint-100/optimizer.pt +3 -0
  19. checkpoint-100/rng_state.pth +3 -0
  20. checkpoint-100/scheduler.pt +3 -0
  21. checkpoint-100/tokenizer.json +3 -0
  22. checkpoint-100/tokenizer_config.json +233 -0
  23. checkpoint-100/trainer_state.json +734 -0
  24. checkpoint-100/training_args.bin +3 -0
  25. checkpoint-1188/README.md +210 -0
  26. checkpoint-1188/adapter_config.json +52 -0
  27. checkpoint-1188/adapter_model.safetensors +3 -0
  28. checkpoint-1188/chat_template.jinja +97 -0
  29. checkpoint-1188/optimizer.pt +3 -0
  30. checkpoint-1188/rng_state.pth +3 -0
  31. checkpoint-1188/scheduler.pt +3 -0
  32. checkpoint-1188/tokenizer.json +3 -0
  33. checkpoint-1188/tokenizer_config.json +234 -0
  34. checkpoint-1188/trainer_state.json +0 -0
  35. checkpoint-1188/training_args.bin +3 -0
  36. checkpoint-125/README.md +210 -0
  37. checkpoint-125/adapter_config.json +52 -0
  38. checkpoint-125/adapter_model.safetensors +3 -0
  39. checkpoint-125/chat_template.jinja +97 -0
  40. checkpoint-125/optimizer.pt +3 -0
  41. checkpoint-125/rng_state.pth +3 -0
  42. checkpoint-125/scheduler.pt +3 -0
  43. checkpoint-125/tokenizer.json +3 -0
  44. checkpoint-125/tokenizer_config.json +233 -0
  45. checkpoint-125/trainer_state.json +909 -0
  46. checkpoint-125/training_args.bin +3 -0
  47. checkpoint-1386/README.md +210 -0
  48. checkpoint-1386/adapter_config.json +52 -0
  49. checkpoint-1386/adapter_model.safetensors +3 -0
  50. checkpoint-1386/chat_template.jinja +97 -0
.gitattributes CHANGED
@@ -33,3 +33,32 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ checkpoint-10/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ checkpoint-1188/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ checkpoint-125/tokenizer.json filter=lfs diff=lfs merge=lfs -text
40
+ checkpoint-1386/tokenizer.json filter=lfs diff=lfs merge=lfs -text
41
+ checkpoint-15/tokenizer.json filter=lfs diff=lfs merge=lfs -text
42
+ checkpoint-150/tokenizer.json filter=lfs diff=lfs merge=lfs -text
43
+ checkpoint-1584/tokenizer.json filter=lfs diff=lfs merge=lfs -text
44
+ checkpoint-175/tokenizer.json filter=lfs diff=lfs merge=lfs -text
45
+ checkpoint-1782/tokenizer.json filter=lfs diff=lfs merge=lfs -text
46
+ checkpoint-198/tokenizer.json filter=lfs diff=lfs merge=lfs -text
47
+ checkpoint-1980/tokenizer.json filter=lfs diff=lfs merge=lfs -text
48
+ checkpoint-20/tokenizer.json filter=lfs diff=lfs merge=lfs -text
49
+ checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
50
+ checkpoint-225/tokenizer.json filter=lfs diff=lfs merge=lfs -text
51
+ checkpoint-25/tokenizer.json filter=lfs diff=lfs merge=lfs -text
52
+ checkpoint-250/tokenizer.json filter=lfs diff=lfs merge=lfs -text
53
+ checkpoint-30/tokenizer.json filter=lfs diff=lfs merge=lfs -text
54
+ checkpoint-35/tokenizer.json filter=lfs diff=lfs merge=lfs -text
55
+ checkpoint-396/tokenizer.json filter=lfs diff=lfs merge=lfs -text
56
+ checkpoint-40/tokenizer.json filter=lfs diff=lfs merge=lfs -text
57
+ checkpoint-45/tokenizer.json filter=lfs diff=lfs merge=lfs -text
58
+ checkpoint-5/tokenizer.json filter=lfs diff=lfs merge=lfs -text
59
+ checkpoint-50/tokenizer.json filter=lfs diff=lfs merge=lfs -text
60
+ checkpoint-594/tokenizer.json filter=lfs diff=lfs merge=lfs -text
61
+ checkpoint-75/tokenizer.json filter=lfs diff=lfs merge=lfs -text
62
+ checkpoint-792/tokenizer.json filter=lfs diff=lfs merge=lfs -text
63
+ checkpoint-990/tokenizer.json filter=lfs diff=lfs merge=lfs -text
64
+ final/tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Qwen3-4B-unsloth-bnb-4bit
3
+ library_name: transformers
4
+ model_name: output
5
+ tags:
6
+ - generated_from_trainer
7
+ - sft
8
+ - trl
9
+ - unsloth
10
+ licence: license
11
+ ---
12
+
13
+ # Model Card for output
14
+
15
+ This model is a fine-tuned version of [unsloth/Qwen3-4B-unsloth-bnb-4bit](https://huggingface.co/unsloth/Qwen3-4B-unsloth-bnb-4bit).
16
+ It has been trained using [TRL](https://github.com/huggingface/trl).
17
+
18
+ ## Quick start
19
+
20
+ ```python
21
+ from transformers import pipeline
22
+
23
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
24
+ generator = pipeline("text-generation", model="None", device="cuda")
25
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
26
+ print(output["generated_text"])
27
+ ```
28
+
29
+ ## Training procedure
30
+
31
+
32
+
33
+
34
+ This model was trained with SFT.
35
+
36
+ ### Framework versions
37
+
38
+ - TRL: 0.24.0
39
+ - Transformers: 5.6.2
40
+ - Pytorch: 2.10.0
41
+ - Datasets: 4.3.0
42
+ - Tokenizers: 0.22.2
43
+
44
+ ## Citations
45
+
46
+
47
+
48
+ Cite TRL as:
49
+
50
+ ```bibtex
51
+ @misc{vonwerra2022trl,
52
+ title = {{TRL: Transformer Reinforcement Learning}},
53
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
54
+ year = 2020,
55
+ journal = {GitHub repository},
56
+ publisher = {GitHub},
57
+ howpublished = {\url{https://github.com/huggingface/trl}}
58
+ }
59
+ ```
checkpoint-10/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Qwen3-1.7B-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/Qwen3-1.7B-unsloth-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.19.1
checkpoint-10/adapter_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen3ForCausalLM",
7
+ "parent_library": "transformers.models.qwen3.modeling_qwen3",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/Qwen3-1.7B-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,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 16,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "peft_type": "LORA",
31
+ "peft_version": "0.19.1",
32
+ "qalora_group_size": 16,
33
+ "r": 16,
34
+ "rank_pattern": {},
35
+ "revision": null,
36
+ "target_modules": [
37
+ "o_proj",
38
+ "v_proj",
39
+ "up_proj",
40
+ "down_proj",
41
+ "q_proj",
42
+ "gate_proj",
43
+ "k_proj"
44
+ ],
45
+ "target_parameters": null,
46
+ "task_type": "CAUSAL_LM",
47
+ "trainable_token_indices": null,
48
+ "use_bdlora": null,
49
+ "use_dora": false,
50
+ "use_qalora": false,
51
+ "use_rslora": false
52
+ }
checkpoint-10/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:166a09e9291350a1b4c9808933c58ce549fa35845dd8ba47a37b746417f0994b
3
+ size 69782384
checkpoint-10/chat_template.jinja ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 forward_message in messages %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- set message = messages[index] %}
21
+ {%- set tool_start = '<tool_response>' %}
22
+ {%- set tool_start_length = tool_start|length %}
23
+ {%- set start_of_message = message.content[:tool_start_length] %}
24
+ {%- set tool_end = '</tool_response>' %}
25
+ {%- set tool_end_length = tool_end|length %}
26
+ {%- set start_pos = (message.content|length) - tool_end_length %}
27
+ {%- if start_pos < 0 %}
28
+ {%- set start_pos = 0 %}
29
+ {%- endif %}
30
+ {%- set end_of_message = message.content[start_pos:] %}
31
+ {%- if ns.multi_step_tool and message.role == "user" and not(start_of_message == tool_start and end_of_message == tool_end) %}
32
+ {%- set ns.multi_step_tool = false %}
33
+ {%- set ns.last_query_index = index %}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- for message in messages %}
37
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
38
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
39
+ {%- elif message.role == "assistant" %}
40
+ {%- set content = message.content %}
41
+ {%- set reasoning_content = '' %}
42
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
43
+ {%- set reasoning_content = message.reasoning_content %}
44
+ {%- else %}
45
+ {%- if '</think>' in message.content %}
46
+ {%- set content = (message.content.split('</think>')|last).lstrip('\n') %}
47
+ {%- set reasoning_content = (message.content.split('</think>')|first).rstrip('\n') %}
48
+ {%- set reasoning_content = (reasoning_content.split('<think>')|last).lstrip('\n') %}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- if loop.index0 > ns.last_query_index %}
52
+ {%- if loop.last or (not loop.last and reasoning_content) %}
53
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
54
+ {%- else %}
55
+ {{- '<|im_start|>' + message.role + '\n' + content }}
56
+ {%- endif %}
57
+ {%- else %}
58
+ {{- '<|im_start|>' + message.role + '\n' + content }}
59
+ {%- endif %}
60
+ {%- if message.tool_calls %}
61
+ {%- for tool_call in message.tool_calls %}
62
+ {%- if (loop.first and content) or (not loop.first) %}
63
+ {{- '\n' }}
64
+ {%- endif %}
65
+ {%- if tool_call.function %}
66
+ {%- set tool_call = tool_call.function %}
67
+ {%- endif %}
68
+ {{- '<tool_call>\n{"name": "' }}
69
+ {{- tool_call.name }}
70
+ {{- '", "arguments": ' }}
71
+ {%- if tool_call.arguments is string %}
72
+ {{- tool_call.arguments }}
73
+ {%- else %}
74
+ {{- tool_call.arguments | tojson }}
75
+ {%- endif %}
76
+ {{- '}\n</tool_call>' }}
77
+ {%- endfor %}
78
+ {%- endif %}
79
+ {{- '<|im_end|>\n' }}
80
+ {%- elif message.role == "tool" %}
81
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
82
+ {{- '<|im_start|>user' }}
83
+ {%- endif %}
84
+ {{- '\n<tool_response>\n' }}
85
+ {{- message.content }}
86
+ {{- '\n</tool_response>' }}
87
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
88
+ {{- '<|im_end|>\n' }}
89
+ {%- endif %}
90
+ {%- endif %}
91
+ {%- endfor %}
92
+ {%- if add_generation_prompt %}
93
+ {{- '<|im_start|>assistant\n' }}
94
+ {%- if enable_thinking is defined and enable_thinking is false %}
95
+ {{- '<think>\n\n</think>\n\n' }}
96
+ {%- endif %}
97
+ {%- endif %}
checkpoint-10/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10c5f594938f9c2bdc065ce0ab9280e9fb053fb1332cf609d87d819a28719cd1
3
+ size 35873029
checkpoint-10/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c800b778fa7e115e4c34de8529902de8b61c9a1b4bab3eb8295d06dafff030e
3
+ size 14645
checkpoint-10/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:844a884673308e17d0d3d8cc35787aaf480a79645ae446fc3b30a1509a108ee7
3
+ size 1465
checkpoint-10/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7430e9138b76e93fb6f93462394d236b411111aef53cb421ba97d2691040cca
3
+ size 11423114
checkpoint-10/tokenizer_config.json ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "is_local": false,
9
+ "model_max_length": 40960,
10
+ "pad_token": "<|PAD_TOKEN|>",
11
+ "padding_side": "right",
12
+ "split_special_tokens": false,
13
+ "tokenizer_class": "Qwen2Tokenizer",
14
+ "unk_token": null,
15
+ "added_tokens_decoder": {
16
+ "151643": {
17
+ "content": "<|endoftext|>",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ },
24
+ "151644": {
25
+ "content": "<|im_start|>",
26
+ "single_word": false,
27
+ "lstrip": false,
28
+ "rstrip": false,
29
+ "normalized": false,
30
+ "special": true
31
+ },
32
+ "151645": {
33
+ "content": "<|im_end|>",
34
+ "single_word": false,
35
+ "lstrip": false,
36
+ "rstrip": false,
37
+ "normalized": false,
38
+ "special": true
39
+ },
40
+ "151646": {
41
+ "content": "<|object_ref_start|>",
42
+ "single_word": false,
43
+ "lstrip": false,
44
+ "rstrip": false,
45
+ "normalized": false,
46
+ "special": true
47
+ },
48
+ "151647": {
49
+ "content": "<|object_ref_end|>",
50
+ "single_word": false,
51
+ "lstrip": false,
52
+ "rstrip": false,
53
+ "normalized": false,
54
+ "special": true
55
+ },
56
+ "151648": {
57
+ "content": "<|box_start|>",
58
+ "single_word": false,
59
+ "lstrip": false,
60
+ "rstrip": false,
61
+ "normalized": false,
62
+ "special": true
63
+ },
64
+ "151649": {
65
+ "content": "<|box_end|>",
66
+ "single_word": false,
67
+ "lstrip": false,
68
+ "rstrip": false,
69
+ "normalized": false,
70
+ "special": true
71
+ },
72
+ "151650": {
73
+ "content": "<|quad_start|>",
74
+ "single_word": false,
75
+ "lstrip": false,
76
+ "rstrip": false,
77
+ "normalized": false,
78
+ "special": true
79
+ },
80
+ "151651": {
81
+ "content": "<|quad_end|>",
82
+ "single_word": false,
83
+ "lstrip": false,
84
+ "rstrip": false,
85
+ "normalized": false,
86
+ "special": true
87
+ },
88
+ "151652": {
89
+ "content": "<|vision_start|>",
90
+ "single_word": false,
91
+ "lstrip": false,
92
+ "rstrip": false,
93
+ "normalized": false,
94
+ "special": true
95
+ },
96
+ "151653": {
97
+ "content": "<|vision_end|>",
98
+ "single_word": false,
99
+ "lstrip": false,
100
+ "rstrip": false,
101
+ "normalized": false,
102
+ "special": true
103
+ },
104
+ "151654": {
105
+ "content": "<|vision_pad|>",
106
+ "single_word": false,
107
+ "lstrip": false,
108
+ "rstrip": false,
109
+ "normalized": false,
110
+ "special": true
111
+ },
112
+ "151655": {
113
+ "content": "<|image_pad|>",
114
+ "single_word": false,
115
+ "lstrip": false,
116
+ "rstrip": false,
117
+ "normalized": false,
118
+ "special": true
119
+ },
120
+ "151656": {
121
+ "content": "<|video_pad|>",
122
+ "single_word": false,
123
+ "lstrip": false,
124
+ "rstrip": false,
125
+ "normalized": false,
126
+ "special": true
127
+ },
128
+ "151657": {
129
+ "content": "<tool_call>",
130
+ "single_word": false,
131
+ "lstrip": false,
132
+ "rstrip": false,
133
+ "normalized": false,
134
+ "special": false
135
+ },
136
+ "151658": {
137
+ "content": "</tool_call>",
138
+ "single_word": false,
139
+ "lstrip": false,
140
+ "rstrip": false,
141
+ "normalized": false,
142
+ "special": false
143
+ },
144
+ "151659": {
145
+ "content": "<|fim_prefix|>",
146
+ "single_word": false,
147
+ "lstrip": false,
148
+ "rstrip": false,
149
+ "normalized": false,
150
+ "special": false
151
+ },
152
+ "151660": {
153
+ "content": "<|fim_middle|>",
154
+ "single_word": false,
155
+ "lstrip": false,
156
+ "rstrip": false,
157
+ "normalized": false,
158
+ "special": false
159
+ },
160
+ "151661": {
161
+ "content": "<|fim_suffix|>",
162
+ "single_word": false,
163
+ "lstrip": false,
164
+ "rstrip": false,
165
+ "normalized": false,
166
+ "special": false
167
+ },
168
+ "151662": {
169
+ "content": "<|fim_pad|>",
170
+ "single_word": false,
171
+ "lstrip": false,
172
+ "rstrip": false,
173
+ "normalized": false,
174
+ "special": false
175
+ },
176
+ "151663": {
177
+ "content": "<|repo_name|>",
178
+ "single_word": false,
179
+ "lstrip": false,
180
+ "rstrip": false,
181
+ "normalized": false,
182
+ "special": false
183
+ },
184
+ "151664": {
185
+ "content": "<|file_sep|>",
186
+ "single_word": false,
187
+ "lstrip": false,
188
+ "rstrip": false,
189
+ "normalized": false,
190
+ "special": false
191
+ },
192
+ "151665": {
193
+ "content": "<tool_response>",
194
+ "single_word": false,
195
+ "lstrip": false,
196
+ "rstrip": false,
197
+ "normalized": false,
198
+ "special": false
199
+ },
200
+ "151666": {
201
+ "content": "</tool_response>",
202
+ "single_word": false,
203
+ "lstrip": false,
204
+ "rstrip": false,
205
+ "normalized": false,
206
+ "special": false
207
+ },
208
+ "151667": {
209
+ "content": "<think>",
210
+ "single_word": false,
211
+ "lstrip": false,
212
+ "rstrip": false,
213
+ "normalized": false,
214
+ "special": false
215
+ },
216
+ "151668": {
217
+ "content": "</think>",
218
+ "single_word": false,
219
+ "lstrip": false,
220
+ "rstrip": false,
221
+ "normalized": false,
222
+ "special": false
223
+ },
224
+ "151669": {
225
+ "content": "<|PAD_TOKEN|>",
226
+ "single_word": false,
227
+ "lstrip": false,
228
+ "rstrip": false,
229
+ "normalized": false,
230
+ "special": true
231
+ }
232
+ }
233
+ }
checkpoint-10/trainer_state.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 10,
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.2,
14
+ "grad_norm": 1.8728970289230347,
15
+ "learning_rate": 0.0,
16
+ "loss": 1.7144343852996826,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.4,
21
+ "grad_norm": 1.6763373613357544,
22
+ "learning_rate": 2e-05,
23
+ "loss": 1.4952771663665771,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.6,
28
+ "grad_norm": 1.7191307544708252,
29
+ "learning_rate": 4e-05,
30
+ "loss": 1.574378252029419,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.8,
35
+ "grad_norm": 1.7878174781799316,
36
+ "learning_rate": 6e-05,
37
+ "loss": 1.6600843667984009,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 1.0,
42
+ "grad_norm": 1.929695725440979,
43
+ "learning_rate": 8e-05,
44
+ "loss": 1.7657139301300049,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 1.2,
49
+ "grad_norm": 1.8718829154968262,
50
+ "learning_rate": 0.0001,
51
+ "loss": 1.6730849742889404,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 1.4,
56
+ "grad_norm": 1.7125587463378906,
57
+ "learning_rate": 9.777777777777778e-05,
58
+ "loss": 1.5219359397888184,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 1.6,
63
+ "grad_norm": 1.4176026582717896,
64
+ "learning_rate": 9.555555555555557e-05,
65
+ "loss": 1.2670559883117676,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 1.8,
70
+ "grad_norm": 1.132968544960022,
71
+ "learning_rate": 9.333333333333334e-05,
72
+ "loss": 0.9341962933540344,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 2.0,
77
+ "grad_norm": 1.0091828107833862,
78
+ "learning_rate": 9.111111111111112e-05,
79
+ "loss": 0.9576144218444824,
80
+ "step": 10
81
+ }
82
+ ],
83
+ "logging_steps": 1,
84
+ "max_steps": 50,
85
+ "num_input_tokens_seen": 0,
86
+ "num_train_epochs": 10,
87
+ "save_steps": 500,
88
+ "stateful_callbacks": {
89
+ "TrainerControl": {
90
+ "args": {
91
+ "should_epoch_stop": false,
92
+ "should_evaluate": false,
93
+ "should_log": false,
94
+ "should_save": true,
95
+ "should_training_stop": false
96
+ },
97
+ "attributes": {}
98
+ }
99
+ },
100
+ "total_flos": 185158513631232.0,
101
+ "train_batch_size": 2,
102
+ "trial_name": null,
103
+ "trial_params": null
104
+ }
checkpoint-10/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:645419f21f4d6019a05370e7bbe3d7fc33fe5acc897c23264b7af2a7ed0d0af0
3
+ size 5713
checkpoint-100/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Qwen3-4B-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/Qwen3-4B-unsloth-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.19.1
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen3ForCausalLM",
7
+ "parent_library": "transformers.models.qwen3.modeling_qwen3",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/Qwen3-4B-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,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 16,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "peft_type": "LORA",
31
+ "peft_version": "0.19.1",
32
+ "qalora_group_size": 16,
33
+ "r": 16,
34
+ "rank_pattern": {},
35
+ "revision": null,
36
+ "target_modules": [
37
+ "q_proj",
38
+ "up_proj",
39
+ "v_proj",
40
+ "o_proj",
41
+ "gate_proj",
42
+ "k_proj",
43
+ "down_proj"
44
+ ],
45
+ "target_parameters": null,
46
+ "task_type": "CAUSAL_LM",
47
+ "trainable_token_indices": null,
48
+ "use_bdlora": null,
49
+ "use_dora": false,
50
+ "use_qalora": false,
51
+ "use_rslora": false
52
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ec55170087ab5a04ac5a94ab9ea0467964979602d50acffcabb4db238304096
3
+ size 132187888
checkpoint-100/chat_template.jinja ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 forward_message in messages %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- set message = messages[index] %}
21
+ {%- set tool_start = '<tool_response>' %}
22
+ {%- set tool_start_length = tool_start|length %}
23
+ {%- set start_of_message = message.content[:tool_start_length] %}
24
+ {%- set tool_end = '</tool_response>' %}
25
+ {%- set tool_end_length = tool_end|length %}
26
+ {%- set start_pos = (message.content|length) - tool_end_length %}
27
+ {%- if start_pos < 0 %}
28
+ {%- set start_pos = 0 %}
29
+ {%- endif %}
30
+ {%- set end_of_message = message.content[start_pos:] %}
31
+ {%- if ns.multi_step_tool and message.role == "user" and not(start_of_message == tool_start and end_of_message == tool_end) %}
32
+ {%- set ns.multi_step_tool = false %}
33
+ {%- set ns.last_query_index = index %}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- for message in messages %}
37
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
38
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
39
+ {%- elif message.role == "assistant" %}
40
+ {%- set content = message.content %}
41
+ {%- set reasoning_content = '' %}
42
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
43
+ {%- set reasoning_content = message.reasoning_content %}
44
+ {%- else %}
45
+ {%- if '</think>' in message.content %}
46
+ {%- set content = (message.content.split('</think>')|last).lstrip('\n') %}
47
+ {%- set reasoning_content = (message.content.split('</think>')|first).rstrip('\n') %}
48
+ {%- set reasoning_content = (reasoning_content.split('<think>')|last).lstrip('\n') %}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- if loop.index0 > ns.last_query_index %}
52
+ {%- if loop.last or (not loop.last and reasoning_content) %}
53
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
54
+ {%- else %}
55
+ {{- '<|im_start|>' + message.role + '\n' + content }}
56
+ {%- endif %}
57
+ {%- else %}
58
+ {{- '<|im_start|>' + message.role + '\n' + content }}
59
+ {%- endif %}
60
+ {%- if message.tool_calls %}
61
+ {%- for tool_call in message.tool_calls %}
62
+ {%- if (loop.first and content) or (not loop.first) %}
63
+ {{- '\n' }}
64
+ {%- endif %}
65
+ {%- if tool_call.function %}
66
+ {%- set tool_call = tool_call.function %}
67
+ {%- endif %}
68
+ {{- '<tool_call>\n{"name": "' }}
69
+ {{- tool_call.name }}
70
+ {{- '", "arguments": ' }}
71
+ {%- if tool_call.arguments is string %}
72
+ {{- tool_call.arguments }}
73
+ {%- else %}
74
+ {{- tool_call.arguments | tojson }}
75
+ {%- endif %}
76
+ {{- '}\n</tool_call>' }}
77
+ {%- endfor %}
78
+ {%- endif %}
79
+ {{- '<|im_end|>\n' }}
80
+ {%- elif message.role == "tool" %}
81
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
82
+ {{- '<|im_start|>user' }}
83
+ {%- endif %}
84
+ {{- '\n<tool_response>\n' }}
85
+ {{- message.content }}
86
+ {{- '\n</tool_response>' }}
87
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
88
+ {{- '<|im_end|>\n' }}
89
+ {%- endif %}
90
+ {%- endif %}
91
+ {%- endfor %}
92
+ {%- if add_generation_prompt %}
93
+ {{- '<|im_start|>assistant\n' }}
94
+ {%- if enable_thinking is defined and enable_thinking is false %}
95
+ {{- '<think>\n\n</think>\n\n' }}
96
+ {%- endif %}
97
+ {%- endif %}
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcf6547a52417ca7c693de3fb9030eaa06a7fa982e1c750685e6ce41da0e9753
3
+ size 67688197
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d6d8fafcd1ee268414be5acf0366296af5b03d60871978712eac1979cb42d65
3
+ size 14645
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95c774f440b747c5aa2e564755081073e987552abd5057d235a9e66d0bcb8a44
3
+ size 1465
checkpoint-100/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7430e9138b76e93fb6f93462394d236b411111aef53cb421ba97d2691040cca
3
+ size 11423114
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "is_local": false,
9
+ "model_max_length": 40960,
10
+ "pad_token": "<|PAD_TOKEN|>",
11
+ "padding_side": "right",
12
+ "split_special_tokens": false,
13
+ "tokenizer_class": "Qwen2Tokenizer",
14
+ "unk_token": null,
15
+ "added_tokens_decoder": {
16
+ "151643": {
17
+ "content": "<|endoftext|>",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ },
24
+ "151644": {
25
+ "content": "<|im_start|>",
26
+ "single_word": false,
27
+ "lstrip": false,
28
+ "rstrip": false,
29
+ "normalized": false,
30
+ "special": true
31
+ },
32
+ "151645": {
33
+ "content": "<|im_end|>",
34
+ "single_word": false,
35
+ "lstrip": false,
36
+ "rstrip": false,
37
+ "normalized": false,
38
+ "special": true
39
+ },
40
+ "151646": {
41
+ "content": "<|object_ref_start|>",
42
+ "single_word": false,
43
+ "lstrip": false,
44
+ "rstrip": false,
45
+ "normalized": false,
46
+ "special": true
47
+ },
48
+ "151647": {
49
+ "content": "<|object_ref_end|>",
50
+ "single_word": false,
51
+ "lstrip": false,
52
+ "rstrip": false,
53
+ "normalized": false,
54
+ "special": true
55
+ },
56
+ "151648": {
57
+ "content": "<|box_start|>",
58
+ "single_word": false,
59
+ "lstrip": false,
60
+ "rstrip": false,
61
+ "normalized": false,
62
+ "special": true
63
+ },
64
+ "151649": {
65
+ "content": "<|box_end|>",
66
+ "single_word": false,
67
+ "lstrip": false,
68
+ "rstrip": false,
69
+ "normalized": false,
70
+ "special": true
71
+ },
72
+ "151650": {
73
+ "content": "<|quad_start|>",
74
+ "single_word": false,
75
+ "lstrip": false,
76
+ "rstrip": false,
77
+ "normalized": false,
78
+ "special": true
79
+ },
80
+ "151651": {
81
+ "content": "<|quad_end|>",
82
+ "single_word": false,
83
+ "lstrip": false,
84
+ "rstrip": false,
85
+ "normalized": false,
86
+ "special": true
87
+ },
88
+ "151652": {
89
+ "content": "<|vision_start|>",
90
+ "single_word": false,
91
+ "lstrip": false,
92
+ "rstrip": false,
93
+ "normalized": false,
94
+ "special": true
95
+ },
96
+ "151653": {
97
+ "content": "<|vision_end|>",
98
+ "single_word": false,
99
+ "lstrip": false,
100
+ "rstrip": false,
101
+ "normalized": false,
102
+ "special": true
103
+ },
104
+ "151654": {
105
+ "content": "<|vision_pad|>",
106
+ "single_word": false,
107
+ "lstrip": false,
108
+ "rstrip": false,
109
+ "normalized": false,
110
+ "special": true
111
+ },
112
+ "151655": {
113
+ "content": "<|image_pad|>",
114
+ "single_word": false,
115
+ "lstrip": false,
116
+ "rstrip": false,
117
+ "normalized": false,
118
+ "special": true
119
+ },
120
+ "151656": {
121
+ "content": "<|video_pad|>",
122
+ "single_word": false,
123
+ "lstrip": false,
124
+ "rstrip": false,
125
+ "normalized": false,
126
+ "special": true
127
+ },
128
+ "151657": {
129
+ "content": "<tool_call>",
130
+ "single_word": false,
131
+ "lstrip": false,
132
+ "rstrip": false,
133
+ "normalized": false,
134
+ "special": false
135
+ },
136
+ "151658": {
137
+ "content": "</tool_call>",
138
+ "single_word": false,
139
+ "lstrip": false,
140
+ "rstrip": false,
141
+ "normalized": false,
142
+ "special": false
143
+ },
144
+ "151659": {
145
+ "content": "<|fim_prefix|>",
146
+ "single_word": false,
147
+ "lstrip": false,
148
+ "rstrip": false,
149
+ "normalized": false,
150
+ "special": false
151
+ },
152
+ "151660": {
153
+ "content": "<|fim_middle|>",
154
+ "single_word": false,
155
+ "lstrip": false,
156
+ "rstrip": false,
157
+ "normalized": false,
158
+ "special": false
159
+ },
160
+ "151661": {
161
+ "content": "<|fim_suffix|>",
162
+ "single_word": false,
163
+ "lstrip": false,
164
+ "rstrip": false,
165
+ "normalized": false,
166
+ "special": false
167
+ },
168
+ "151662": {
169
+ "content": "<|fim_pad|>",
170
+ "single_word": false,
171
+ "lstrip": false,
172
+ "rstrip": false,
173
+ "normalized": false,
174
+ "special": false
175
+ },
176
+ "151663": {
177
+ "content": "<|repo_name|>",
178
+ "single_word": false,
179
+ "lstrip": false,
180
+ "rstrip": false,
181
+ "normalized": false,
182
+ "special": false
183
+ },
184
+ "151664": {
185
+ "content": "<|file_sep|>",
186
+ "single_word": false,
187
+ "lstrip": false,
188
+ "rstrip": false,
189
+ "normalized": false,
190
+ "special": false
191
+ },
192
+ "151665": {
193
+ "content": "<tool_response>",
194
+ "single_word": false,
195
+ "lstrip": false,
196
+ "rstrip": false,
197
+ "normalized": false,
198
+ "special": false
199
+ },
200
+ "151666": {
201
+ "content": "</tool_response>",
202
+ "single_word": false,
203
+ "lstrip": false,
204
+ "rstrip": false,
205
+ "normalized": false,
206
+ "special": false
207
+ },
208
+ "151667": {
209
+ "content": "<think>",
210
+ "single_word": false,
211
+ "lstrip": false,
212
+ "rstrip": false,
213
+ "normalized": false,
214
+ "special": false
215
+ },
216
+ "151668": {
217
+ "content": "</think>",
218
+ "single_word": false,
219
+ "lstrip": false,
220
+ "rstrip": false,
221
+ "normalized": false,
222
+ "special": false
223
+ },
224
+ "151669": {
225
+ "content": "<|PAD_TOKEN|>",
226
+ "single_word": false,
227
+ "lstrip": false,
228
+ "rstrip": false,
229
+ "normalized": false,
230
+ "special": true
231
+ }
232
+ }
233
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,734 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 100,
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.04,
14
+ "grad_norm": 0.932260274887085,
15
+ "learning_rate": 0.0,
16
+ "loss": 1.2812691926956177,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.08,
21
+ "grad_norm": 0.9258549213409424,
22
+ "learning_rate": 4.000000000000001e-06,
23
+ "loss": 1.2036092281341553,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.12,
28
+ "grad_norm": 1.000679612159729,
29
+ "learning_rate": 8.000000000000001e-06,
30
+ "loss": 1.3914015293121338,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.16,
35
+ "grad_norm": 1.4800903797149658,
36
+ "learning_rate": 1.2e-05,
37
+ "loss": 1.3741575479507446,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 0.2,
42
+ "grad_norm": 1.1617510318756104,
43
+ "learning_rate": 1.6000000000000003e-05,
44
+ "loss": 1.3682291507720947,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 0.24,
49
+ "grad_norm": 0.9225307703018188,
50
+ "learning_rate": 2e-05,
51
+ "loss": 1.2719311714172363,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 0.28,
56
+ "grad_norm": 0.9139644503593445,
57
+ "learning_rate": 2.4e-05,
58
+ "loss": 1.264675259590149,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.32,
63
+ "grad_norm": 1.1364861726760864,
64
+ "learning_rate": 2.8000000000000003e-05,
65
+ "loss": 1.4782798290252686,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.36,
70
+ "grad_norm": 1.0468904972076416,
71
+ "learning_rate": 3.2000000000000005e-05,
72
+ "loss": 1.2322373390197754,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.4,
77
+ "grad_norm": 1.0078755617141724,
78
+ "learning_rate": 3.6e-05,
79
+ "loss": 1.2988958358764648,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 0.44,
84
+ "grad_norm": 0.9352118372917175,
85
+ "learning_rate": 4e-05,
86
+ "loss": 1.1669442653656006,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 0.48,
91
+ "grad_norm": 1.2074038982391357,
92
+ "learning_rate": 4.4000000000000006e-05,
93
+ "loss": 1.4638183116912842,
94
+ "step": 12
95
+ },
96
+ {
97
+ "epoch": 0.52,
98
+ "grad_norm": 0.9746712446212769,
99
+ "learning_rate": 4.8e-05,
100
+ "loss": 1.0547767877578735,
101
+ "step": 13
102
+ },
103
+ {
104
+ "epoch": 0.56,
105
+ "grad_norm": 0.8821120262145996,
106
+ "learning_rate": 5.2000000000000004e-05,
107
+ "loss": 1.1713128089904785,
108
+ "step": 14
109
+ },
110
+ {
111
+ "epoch": 0.6,
112
+ "grad_norm": 0.7680985927581787,
113
+ "learning_rate": 5.6000000000000006e-05,
114
+ "loss": 1.0929949283599854,
115
+ "step": 15
116
+ },
117
+ {
118
+ "epoch": 0.64,
119
+ "grad_norm": 0.6305053234100342,
120
+ "learning_rate": 6e-05,
121
+ "loss": 0.9419608116149902,
122
+ "step": 16
123
+ },
124
+ {
125
+ "epoch": 0.68,
126
+ "grad_norm": 0.5025432705879211,
127
+ "learning_rate": 6.400000000000001e-05,
128
+ "loss": 0.8088782429695129,
129
+ "step": 17
130
+ },
131
+ {
132
+ "epoch": 0.72,
133
+ "grad_norm": 0.43731531500816345,
134
+ "learning_rate": 6.800000000000001e-05,
135
+ "loss": 0.7616404294967651,
136
+ "step": 18
137
+ },
138
+ {
139
+ "epoch": 0.76,
140
+ "grad_norm": 0.37003830075263977,
141
+ "learning_rate": 7.2e-05,
142
+ "loss": 0.6315687894821167,
143
+ "step": 19
144
+ },
145
+ {
146
+ "epoch": 0.8,
147
+ "grad_norm": 0.7235175967216492,
148
+ "learning_rate": 7.6e-05,
149
+ "loss": 0.6364619731903076,
150
+ "step": 20
151
+ },
152
+ {
153
+ "epoch": 0.84,
154
+ "grad_norm": 0.5470916628837585,
155
+ "learning_rate": 8e-05,
156
+ "loss": 0.8687893748283386,
157
+ "step": 21
158
+ },
159
+ {
160
+ "epoch": 0.88,
161
+ "grad_norm": 0.3039744794368744,
162
+ "learning_rate": 8.4e-05,
163
+ "loss": 0.4590837061405182,
164
+ "step": 22
165
+ },
166
+ {
167
+ "epoch": 0.92,
168
+ "grad_norm": 0.37839385867118835,
169
+ "learning_rate": 8.800000000000001e-05,
170
+ "loss": 0.5385509133338928,
171
+ "step": 23
172
+ },
173
+ {
174
+ "epoch": 0.96,
175
+ "grad_norm": 0.37729412317276,
176
+ "learning_rate": 9.200000000000001e-05,
177
+ "loss": 0.5465127229690552,
178
+ "step": 24
179
+ },
180
+ {
181
+ "epoch": 1.0,
182
+ "grad_norm": 0.38146528601646423,
183
+ "learning_rate": 9.6e-05,
184
+ "loss": 0.509769082069397,
185
+ "step": 25
186
+ },
187
+ {
188
+ "epoch": 1.04,
189
+ "grad_norm": 0.36699211597442627,
190
+ "learning_rate": 0.0001,
191
+ "loss": 0.4363247752189636,
192
+ "step": 26
193
+ },
194
+ {
195
+ "epoch": 1.08,
196
+ "grad_norm": 0.3731786608695984,
197
+ "learning_rate": 9.955555555555556e-05,
198
+ "loss": 0.4297473430633545,
199
+ "step": 27
200
+ },
201
+ {
202
+ "epoch": 1.12,
203
+ "grad_norm": 0.3378784954547882,
204
+ "learning_rate": 9.911111111111112e-05,
205
+ "loss": 0.35973912477493286,
206
+ "step": 28
207
+ },
208
+ {
209
+ "epoch": 1.16,
210
+ "grad_norm": 0.36273664236068726,
211
+ "learning_rate": 9.866666666666668e-05,
212
+ "loss": 0.34903788566589355,
213
+ "step": 29
214
+ },
215
+ {
216
+ "epoch": 1.2,
217
+ "grad_norm": 0.362885981798172,
218
+ "learning_rate": 9.822222222222223e-05,
219
+ "loss": 0.3119792342185974,
220
+ "step": 30
221
+ },
222
+ {
223
+ "epoch": 1.24,
224
+ "grad_norm": 0.3790324032306671,
225
+ "learning_rate": 9.777777777777778e-05,
226
+ "loss": 0.29530155658721924,
227
+ "step": 31
228
+ },
229
+ {
230
+ "epoch": 1.28,
231
+ "grad_norm": 0.37333837151527405,
232
+ "learning_rate": 9.733333333333335e-05,
233
+ "loss": 0.2653456926345825,
234
+ "step": 32
235
+ },
236
+ {
237
+ "epoch": 1.32,
238
+ "grad_norm": 0.32163503766059875,
239
+ "learning_rate": 9.68888888888889e-05,
240
+ "loss": 0.19654956459999084,
241
+ "step": 33
242
+ },
243
+ {
244
+ "epoch": 1.3599999999999999,
245
+ "grad_norm": 0.5297159552574158,
246
+ "learning_rate": 9.644444444444445e-05,
247
+ "loss": 0.23580318689346313,
248
+ "step": 34
249
+ },
250
+ {
251
+ "epoch": 1.4,
252
+ "grad_norm": 0.4474238455295563,
253
+ "learning_rate": 9.6e-05,
254
+ "loss": 0.18798796832561493,
255
+ "step": 35
256
+ },
257
+ {
258
+ "epoch": 1.44,
259
+ "grad_norm": 0.31346794962882996,
260
+ "learning_rate": 9.555555555555557e-05,
261
+ "loss": 0.12066371738910675,
262
+ "step": 36
263
+ },
264
+ {
265
+ "epoch": 1.48,
266
+ "grad_norm": 0.3099532723426819,
267
+ "learning_rate": 9.511111111111112e-05,
268
+ "loss": 0.08859007060527802,
269
+ "step": 37
270
+ },
271
+ {
272
+ "epoch": 1.52,
273
+ "grad_norm": 0.3490828275680542,
274
+ "learning_rate": 9.466666666666667e-05,
275
+ "loss": 0.07878822088241577,
276
+ "step": 38
277
+ },
278
+ {
279
+ "epoch": 1.56,
280
+ "grad_norm": 0.32395538687705994,
281
+ "learning_rate": 9.422222222222223e-05,
282
+ "loss": 0.06694570928812027,
283
+ "step": 39
284
+ },
285
+ {
286
+ "epoch": 1.6,
287
+ "grad_norm": 0.20870603621006012,
288
+ "learning_rate": 9.377777777777779e-05,
289
+ "loss": 0.04379018768668175,
290
+ "step": 40
291
+ },
292
+ {
293
+ "epoch": 1.6400000000000001,
294
+ "grad_norm": 0.3310009837150574,
295
+ "learning_rate": 9.333333333333334e-05,
296
+ "loss": 0.048647329211235046,
297
+ "step": 41
298
+ },
299
+ {
300
+ "epoch": 1.6800000000000002,
301
+ "grad_norm": 0.26949432492256165,
302
+ "learning_rate": 9.28888888888889e-05,
303
+ "loss": 0.039286017417907715,
304
+ "step": 42
305
+ },
306
+ {
307
+ "epoch": 1.72,
308
+ "grad_norm": 0.11029712855815887,
309
+ "learning_rate": 9.244444444444445e-05,
310
+ "loss": 0.029231950640678406,
311
+ "step": 43
312
+ },
313
+ {
314
+ "epoch": 1.76,
315
+ "grad_norm": 0.1476302146911621,
316
+ "learning_rate": 9.200000000000001e-05,
317
+ "loss": 0.027003085240721703,
318
+ "step": 44
319
+ },
320
+ {
321
+ "epoch": 1.8,
322
+ "grad_norm": 0.18617521226406097,
323
+ "learning_rate": 9.155555555555557e-05,
324
+ "loss": 0.025106143206357956,
325
+ "step": 45
326
+ },
327
+ {
328
+ "epoch": 1.8399999999999999,
329
+ "grad_norm": 0.13198262453079224,
330
+ "learning_rate": 9.111111111111112e-05,
331
+ "loss": 0.025741657242178917,
332
+ "step": 46
333
+ },
334
+ {
335
+ "epoch": 1.88,
336
+ "grad_norm": 0.26712384819984436,
337
+ "learning_rate": 9.066666666666667e-05,
338
+ "loss": 0.035036977380514145,
339
+ "step": 47
340
+ },
341
+ {
342
+ "epoch": 1.92,
343
+ "grad_norm": 0.3569182753562927,
344
+ "learning_rate": 9.022222222222224e-05,
345
+ "loss": 0.04259534925222397,
346
+ "step": 48
347
+ },
348
+ {
349
+ "epoch": 1.96,
350
+ "grad_norm": 0.1843830794095993,
351
+ "learning_rate": 8.977777777777779e-05,
352
+ "loss": 0.03471647948026657,
353
+ "step": 49
354
+ },
355
+ {
356
+ "epoch": 2.0,
357
+ "grad_norm": 0.1248057410120964,
358
+ "learning_rate": 8.933333333333334e-05,
359
+ "loss": 0.030936148017644882,
360
+ "step": 50
361
+ },
362
+ {
363
+ "epoch": 2.04,
364
+ "grad_norm": 0.12060711532831192,
365
+ "learning_rate": 8.888888888888889e-05,
366
+ "loss": 0.032452136278152466,
367
+ "step": 51
368
+ },
369
+ {
370
+ "epoch": 2.08,
371
+ "grad_norm": 0.2026030570268631,
372
+ "learning_rate": 8.844444444444445e-05,
373
+ "loss": 0.03268110007047653,
374
+ "step": 52
375
+ },
376
+ {
377
+ "epoch": 2.12,
378
+ "grad_norm": 0.21289987862110138,
379
+ "learning_rate": 8.800000000000001e-05,
380
+ "loss": 0.03406357392668724,
381
+ "step": 53
382
+ },
383
+ {
384
+ "epoch": 2.16,
385
+ "grad_norm": 0.14732478559017181,
386
+ "learning_rate": 8.755555555555556e-05,
387
+ "loss": 0.02936721034348011,
388
+ "step": 54
389
+ },
390
+ {
391
+ "epoch": 2.2,
392
+ "grad_norm": 0.10120426118373871,
393
+ "learning_rate": 8.711111111111112e-05,
394
+ "loss": 0.02511693350970745,
395
+ "step": 55
396
+ },
397
+ {
398
+ "epoch": 2.24,
399
+ "grad_norm": 0.08917918056249619,
400
+ "learning_rate": 8.666666666666667e-05,
401
+ "loss": 0.025877539068460464,
402
+ "step": 56
403
+ },
404
+ {
405
+ "epoch": 2.2800000000000002,
406
+ "grad_norm": 0.08735086023807526,
407
+ "learning_rate": 8.622222222222222e-05,
408
+ "loss": 0.02145460993051529,
409
+ "step": 57
410
+ },
411
+ {
412
+ "epoch": 2.32,
413
+ "grad_norm": 0.07835431396961212,
414
+ "learning_rate": 8.577777777777777e-05,
415
+ "loss": 0.021244943141937256,
416
+ "step": 58
417
+ },
418
+ {
419
+ "epoch": 2.36,
420
+ "grad_norm": 0.06953317672014236,
421
+ "learning_rate": 8.533333333333334e-05,
422
+ "loss": 0.02279437705874443,
423
+ "step": 59
424
+ },
425
+ {
426
+ "epoch": 2.4,
427
+ "grad_norm": 0.0854259729385376,
428
+ "learning_rate": 8.488888888888889e-05,
429
+ "loss": 0.023704543709754944,
430
+ "step": 60
431
+ },
432
+ {
433
+ "epoch": 2.44,
434
+ "grad_norm": 0.17068363726139069,
435
+ "learning_rate": 8.444444444444444e-05,
436
+ "loss": 0.035272784531116486,
437
+ "step": 61
438
+ },
439
+ {
440
+ "epoch": 2.48,
441
+ "grad_norm": 0.11971863359212875,
442
+ "learning_rate": 8.4e-05,
443
+ "loss": 0.02707826718688011,
444
+ "step": 62
445
+ },
446
+ {
447
+ "epoch": 2.52,
448
+ "grad_norm": 0.05303095281124115,
449
+ "learning_rate": 8.355555555555556e-05,
450
+ "loss": 0.01696968823671341,
451
+ "step": 63
452
+ },
453
+ {
454
+ "epoch": 2.56,
455
+ "grad_norm": 0.06503961980342865,
456
+ "learning_rate": 8.311111111111111e-05,
457
+ "loss": 0.018413860350847244,
458
+ "step": 64
459
+ },
460
+ {
461
+ "epoch": 2.6,
462
+ "grad_norm": 0.05390244349837303,
463
+ "learning_rate": 8.266666666666667e-05,
464
+ "loss": 0.01641814410686493,
465
+ "step": 65
466
+ },
467
+ {
468
+ "epoch": 2.64,
469
+ "grad_norm": 0.07149611413478851,
470
+ "learning_rate": 8.222222222222222e-05,
471
+ "loss": 0.020658448338508606,
472
+ "step": 66
473
+ },
474
+ {
475
+ "epoch": 2.68,
476
+ "grad_norm": 0.09244706481695175,
477
+ "learning_rate": 8.177777777777778e-05,
478
+ "loss": 0.022394295781850815,
479
+ "step": 67
480
+ },
481
+ {
482
+ "epoch": 2.7199999999999998,
483
+ "grad_norm": 0.11381954699754715,
484
+ "learning_rate": 8.133333333333334e-05,
485
+ "loss": 0.028476765379309654,
486
+ "step": 68
487
+ },
488
+ {
489
+ "epoch": 2.76,
490
+ "grad_norm": 0.07354001700878143,
491
+ "learning_rate": 8.088888888888889e-05,
492
+ "loss": 0.019497834146022797,
493
+ "step": 69
494
+ },
495
+ {
496
+ "epoch": 2.8,
497
+ "grad_norm": 0.06727641820907593,
498
+ "learning_rate": 8.044444444444444e-05,
499
+ "loss": 0.014356930740177631,
500
+ "step": 70
501
+ },
502
+ {
503
+ "epoch": 2.84,
504
+ "grad_norm": 0.07417713105678558,
505
+ "learning_rate": 8e-05,
506
+ "loss": 0.01823577657341957,
507
+ "step": 71
508
+ },
509
+ {
510
+ "epoch": 2.88,
511
+ "grad_norm": 0.09163317829370499,
512
+ "learning_rate": 7.955555555555556e-05,
513
+ "loss": 0.02139071188867092,
514
+ "step": 72
515
+ },
516
+ {
517
+ "epoch": 2.92,
518
+ "grad_norm": 0.08178975433111191,
519
+ "learning_rate": 7.911111111111111e-05,
520
+ "loss": 0.018335483968257904,
521
+ "step": 73
522
+ },
523
+ {
524
+ "epoch": 2.96,
525
+ "grad_norm": 0.08015220612287521,
526
+ "learning_rate": 7.866666666666666e-05,
527
+ "loss": 0.016001513227820396,
528
+ "step": 74
529
+ },
530
+ {
531
+ "epoch": 3.0,
532
+ "grad_norm": 0.08509402722120285,
533
+ "learning_rate": 7.822222222222223e-05,
534
+ "loss": 0.017747700214385986,
535
+ "step": 75
536
+ },
537
+ {
538
+ "epoch": 3.04,
539
+ "grad_norm": 0.07863253355026245,
540
+ "learning_rate": 7.777777777777778e-05,
541
+ "loss": 0.015054607763886452,
542
+ "step": 76
543
+ },
544
+ {
545
+ "epoch": 3.08,
546
+ "grad_norm": 0.09398715198040009,
547
+ "learning_rate": 7.733333333333333e-05,
548
+ "loss": 0.01887289062142372,
549
+ "step": 77
550
+ },
551
+ {
552
+ "epoch": 3.12,
553
+ "grad_norm": 0.12165197730064392,
554
+ "learning_rate": 7.688888888888889e-05,
555
+ "loss": 0.020169202238321304,
556
+ "step": 78
557
+ },
558
+ {
559
+ "epoch": 3.16,
560
+ "grad_norm": 0.07627179473638535,
561
+ "learning_rate": 7.644444444444445e-05,
562
+ "loss": 0.012153002433478832,
563
+ "step": 79
564
+ },
565
+ {
566
+ "epoch": 3.2,
567
+ "grad_norm": 0.0885142832994461,
568
+ "learning_rate": 7.6e-05,
569
+ "loss": 0.015390444546937943,
570
+ "step": 80
571
+ },
572
+ {
573
+ "epoch": 3.24,
574
+ "grad_norm": 0.11557707190513611,
575
+ "learning_rate": 7.555555555555556e-05,
576
+ "loss": 0.019245222210884094,
577
+ "step": 81
578
+ },
579
+ {
580
+ "epoch": 3.2800000000000002,
581
+ "grad_norm": 0.0976581946015358,
582
+ "learning_rate": 7.511111111111111e-05,
583
+ "loss": 0.014158917590975761,
584
+ "step": 82
585
+ },
586
+ {
587
+ "epoch": 3.32,
588
+ "grad_norm": 0.09829393774271011,
589
+ "learning_rate": 7.466666666666667e-05,
590
+ "loss": 0.013099931180477142,
591
+ "step": 83
592
+ },
593
+ {
594
+ "epoch": 3.36,
595
+ "grad_norm": 0.10063999146223068,
596
+ "learning_rate": 7.422222222222223e-05,
597
+ "loss": 0.013834481127560139,
598
+ "step": 84
599
+ },
600
+ {
601
+ "epoch": 3.4,
602
+ "grad_norm": 0.09943496435880661,
603
+ "learning_rate": 7.377777777777778e-05,
604
+ "loss": 0.012920765206217766,
605
+ "step": 85
606
+ },
607
+ {
608
+ "epoch": 3.44,
609
+ "grad_norm": 0.1093878448009491,
610
+ "learning_rate": 7.333333333333333e-05,
611
+ "loss": 0.013458158820867538,
612
+ "step": 86
613
+ },
614
+ {
615
+ "epoch": 3.48,
616
+ "grad_norm": 0.1128634586930275,
617
+ "learning_rate": 7.28888888888889e-05,
618
+ "loss": 0.013067865744233131,
619
+ "step": 87
620
+ },
621
+ {
622
+ "epoch": 3.52,
623
+ "grad_norm": 0.11049138009548187,
624
+ "learning_rate": 7.244444444444445e-05,
625
+ "loss": 0.01237843930721283,
626
+ "step": 88
627
+ },
628
+ {
629
+ "epoch": 3.56,
630
+ "grad_norm": 0.1535821557044983,
631
+ "learning_rate": 7.2e-05,
632
+ "loss": 0.015146344900131226,
633
+ "step": 89
634
+ },
635
+ {
636
+ "epoch": 3.6,
637
+ "grad_norm": 0.10436677187681198,
638
+ "learning_rate": 7.155555555555555e-05,
639
+ "loss": 0.00996164046227932,
640
+ "step": 90
641
+ },
642
+ {
643
+ "epoch": 3.64,
644
+ "grad_norm": 0.14084051549434662,
645
+ "learning_rate": 7.111111111111112e-05,
646
+ "loss": 0.013795388862490654,
647
+ "step": 91
648
+ },
649
+ {
650
+ "epoch": 3.68,
651
+ "grad_norm": 0.12718933820724487,
652
+ "learning_rate": 7.066666666666667e-05,
653
+ "loss": 0.011878985911607742,
654
+ "step": 92
655
+ },
656
+ {
657
+ "epoch": 3.7199999999999998,
658
+ "grad_norm": 0.1412353217601776,
659
+ "learning_rate": 7.022222222222222e-05,
660
+ "loss": 0.010964864864945412,
661
+ "step": 93
662
+ },
663
+ {
664
+ "epoch": 3.76,
665
+ "grad_norm": 0.11453556269407272,
666
+ "learning_rate": 6.977777777777779e-05,
667
+ "loss": 0.008170144632458687,
668
+ "step": 94
669
+ },
670
+ {
671
+ "epoch": 3.8,
672
+ "grad_norm": 0.16155096888542175,
673
+ "learning_rate": 6.933333333333334e-05,
674
+ "loss": 0.011488870717585087,
675
+ "step": 95
676
+ },
677
+ {
678
+ "epoch": 3.84,
679
+ "grad_norm": 0.11969174444675446,
680
+ "learning_rate": 6.88888888888889e-05,
681
+ "loss": 0.007895090617239475,
682
+ "step": 96
683
+ },
684
+ {
685
+ "epoch": 3.88,
686
+ "grad_norm": 0.22626101970672607,
687
+ "learning_rate": 6.844444444444445e-05,
688
+ "loss": 0.01467936858534813,
689
+ "step": 97
690
+ },
691
+ {
692
+ "epoch": 3.92,
693
+ "grad_norm": 0.21040032804012299,
694
+ "learning_rate": 6.800000000000001e-05,
695
+ "loss": 0.010772328823804855,
696
+ "step": 98
697
+ },
698
+ {
699
+ "epoch": 3.96,
700
+ "grad_norm": 0.19558775424957275,
701
+ "learning_rate": 6.755555555555557e-05,
702
+ "loss": 0.009220557287335396,
703
+ "step": 99
704
+ },
705
+ {
706
+ "epoch": 4.0,
707
+ "grad_norm": 0.18061381578445435,
708
+ "learning_rate": 6.711111111111112e-05,
709
+ "loss": 0.006471008062362671,
710
+ "step": 100
711
+ }
712
+ ],
713
+ "logging_steps": 1,
714
+ "max_steps": 250,
715
+ "num_input_tokens_seen": 0,
716
+ "num_train_epochs": 10,
717
+ "save_steps": 500,
718
+ "stateful_callbacks": {
719
+ "TrainerControl": {
720
+ "args": {
721
+ "should_epoch_stop": false,
722
+ "should_evaluate": false,
723
+ "should_log": false,
724
+ "should_save": true,
725
+ "should_training_stop": false
726
+ },
727
+ "attributes": {}
728
+ }
729
+ },
730
+ "total_flos": 4905305320980480.0,
731
+ "train_batch_size": 2,
732
+ "trial_name": null,
733
+ "trial_params": null
734
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:645419f21f4d6019a05370e7bbe3d7fc33fe5acc897c23264b7af2a7ed0d0af0
3
+ size 5713
checkpoint-1188/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Qwen3-4B-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/Qwen3-4B-unsloth-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.19.1
checkpoint-1188/adapter_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen3ForCausalLM",
7
+ "parent_library": "transformers.models.qwen3.modeling_qwen3",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/Qwen3-4B-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,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 16,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "peft_type": "LORA",
31
+ "peft_version": "0.19.1",
32
+ "qalora_group_size": 16,
33
+ "r": 16,
34
+ "rank_pattern": {},
35
+ "revision": null,
36
+ "target_modules": [
37
+ "q_proj",
38
+ "o_proj",
39
+ "up_proj",
40
+ "down_proj",
41
+ "v_proj",
42
+ "k_proj",
43
+ "gate_proj"
44
+ ],
45
+ "target_parameters": null,
46
+ "task_type": "CAUSAL_LM",
47
+ "trainable_token_indices": null,
48
+ "use_bdlora": null,
49
+ "use_dora": false,
50
+ "use_qalora": false,
51
+ "use_rslora": false
52
+ }
checkpoint-1188/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cb1042934755d765e721fc2cea13b78a3d47ab7dc0ee9562a3a1015081fab18
3
+ size 132187888
checkpoint-1188/chat_template.jinja ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 forward_message in messages %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- set message = messages[index] %}
21
+ {%- set tool_start = '<tool_response>' %}
22
+ {%- set tool_start_length = tool_start|length %}
23
+ {%- set start_of_message = message.content[:tool_start_length] %}
24
+ {%- set tool_end = '</tool_response>' %}
25
+ {%- set tool_end_length = tool_end|length %}
26
+ {%- set start_pos = (message.content|length) - tool_end_length %}
27
+ {%- if start_pos < 0 %}
28
+ {%- set start_pos = 0 %}
29
+ {%- endif %}
30
+ {%- set end_of_message = message.content[start_pos:] %}
31
+ {%- if ns.multi_step_tool and message.role == "user" and not(start_of_message == tool_start and end_of_message == tool_end) %}
32
+ {%- set ns.multi_step_tool = false %}
33
+ {%- set ns.last_query_index = index %}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- for message in messages %}
37
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
38
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
39
+ {%- elif message.role == "assistant" %}
40
+ {%- set content = message.content %}
41
+ {%- set reasoning_content = '' %}
42
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
43
+ {%- set reasoning_content = message.reasoning_content %}
44
+ {%- else %}
45
+ {%- if '</think>' in message.content %}
46
+ {%- set content = (message.content.split('</think>')|last).lstrip('\n') %}
47
+ {%- set reasoning_content = (message.content.split('</think>')|first).rstrip('\n') %}
48
+ {%- set reasoning_content = (reasoning_content.split('<think>')|last).lstrip('\n') %}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- if loop.index0 > ns.last_query_index %}
52
+ {%- if loop.last or (not loop.last and reasoning_content) %}
53
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
54
+ {%- else %}
55
+ {{- '<|im_start|>' + message.role + '\n' + content }}
56
+ {%- endif %}
57
+ {%- else %}
58
+ {{- '<|im_start|>' + message.role + '\n' + content }}
59
+ {%- endif %}
60
+ {%- if message.tool_calls %}
61
+ {%- for tool_call in message.tool_calls %}
62
+ {%- if (loop.first and content) or (not loop.first) %}
63
+ {{- '\n' }}
64
+ {%- endif %}
65
+ {%- if tool_call.function %}
66
+ {%- set tool_call = tool_call.function %}
67
+ {%- endif %}
68
+ {{- '<tool_call>\n{"name": "' }}
69
+ {{- tool_call.name }}
70
+ {{- '", "arguments": ' }}
71
+ {%- if tool_call.arguments is string %}
72
+ {{- tool_call.arguments }}
73
+ {%- else %}
74
+ {{- tool_call.arguments | tojson }}
75
+ {%- endif %}
76
+ {{- '}\n</tool_call>' }}
77
+ {%- endfor %}
78
+ {%- endif %}
79
+ {{- '<|im_end|>\n' }}
80
+ {%- elif message.role == "tool" %}
81
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
82
+ {{- '<|im_start|>user' }}
83
+ {%- endif %}
84
+ {{- '\n<tool_response>\n' }}
85
+ {{- message.content }}
86
+ {{- '\n</tool_response>' }}
87
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
88
+ {{- '<|im_end|>\n' }}
89
+ {%- endif %}
90
+ {%- endif %}
91
+ {%- endfor %}
92
+ {%- if add_generation_prompt %}
93
+ {{- '<|im_start|>assistant\n' }}
94
+ {%- if enable_thinking is defined and enable_thinking is false %}
95
+ {{- '<think>\n\n</think>\n\n' }}
96
+ {%- endif %}
97
+ {%- endif %}
checkpoint-1188/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1261085ebc53be58802345f754c1dc5e49d23342600afbcc4bf77e4e069cc23f
3
+ size 67688645
checkpoint-1188/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d895ccae2b55d4ea213653ca4a80d00de131463e105716eab1b7022906f260bf
3
+ size 14645
checkpoint-1188/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fcc675fb65ddae93b833f4c66275c1680ff23438e40501c1b99131593965d66
3
+ size 1465
checkpoint-1188/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7430e9138b76e93fb6f93462394d236b411111aef53cb421ba97d2691040cca
3
+ size 11423114
checkpoint-1188/tokenizer_config.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "is_local": false,
9
+ "local_files_only": false,
10
+ "model_max_length": 40960,
11
+ "pad_token": "<|PAD_TOKEN|>",
12
+ "padding_side": "right",
13
+ "split_special_tokens": false,
14
+ "tokenizer_class": "Qwen2Tokenizer",
15
+ "unk_token": null,
16
+ "added_tokens_decoder": {
17
+ "151643": {
18
+ "content": "<|endoftext|>",
19
+ "single_word": false,
20
+ "lstrip": false,
21
+ "rstrip": false,
22
+ "normalized": false,
23
+ "special": true
24
+ },
25
+ "151644": {
26
+ "content": "<|im_start|>",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": false,
31
+ "special": true
32
+ },
33
+ "151645": {
34
+ "content": "<|im_end|>",
35
+ "single_word": false,
36
+ "lstrip": false,
37
+ "rstrip": false,
38
+ "normalized": false,
39
+ "special": true
40
+ },
41
+ "151646": {
42
+ "content": "<|object_ref_start|>",
43
+ "single_word": false,
44
+ "lstrip": false,
45
+ "rstrip": false,
46
+ "normalized": false,
47
+ "special": true
48
+ },
49
+ "151647": {
50
+ "content": "<|object_ref_end|>",
51
+ "single_word": false,
52
+ "lstrip": false,
53
+ "rstrip": false,
54
+ "normalized": false,
55
+ "special": true
56
+ },
57
+ "151648": {
58
+ "content": "<|box_start|>",
59
+ "single_word": false,
60
+ "lstrip": false,
61
+ "rstrip": false,
62
+ "normalized": false,
63
+ "special": true
64
+ },
65
+ "151649": {
66
+ "content": "<|box_end|>",
67
+ "single_word": false,
68
+ "lstrip": false,
69
+ "rstrip": false,
70
+ "normalized": false,
71
+ "special": true
72
+ },
73
+ "151650": {
74
+ "content": "<|quad_start|>",
75
+ "single_word": false,
76
+ "lstrip": false,
77
+ "rstrip": false,
78
+ "normalized": false,
79
+ "special": true
80
+ },
81
+ "151651": {
82
+ "content": "<|quad_end|>",
83
+ "single_word": false,
84
+ "lstrip": false,
85
+ "rstrip": false,
86
+ "normalized": false,
87
+ "special": true
88
+ },
89
+ "151652": {
90
+ "content": "<|vision_start|>",
91
+ "single_word": false,
92
+ "lstrip": false,
93
+ "rstrip": false,
94
+ "normalized": false,
95
+ "special": true
96
+ },
97
+ "151653": {
98
+ "content": "<|vision_end|>",
99
+ "single_word": false,
100
+ "lstrip": false,
101
+ "rstrip": false,
102
+ "normalized": false,
103
+ "special": true
104
+ },
105
+ "151654": {
106
+ "content": "<|vision_pad|>",
107
+ "single_word": false,
108
+ "lstrip": false,
109
+ "rstrip": false,
110
+ "normalized": false,
111
+ "special": true
112
+ },
113
+ "151655": {
114
+ "content": "<|image_pad|>",
115
+ "single_word": false,
116
+ "lstrip": false,
117
+ "rstrip": false,
118
+ "normalized": false,
119
+ "special": true
120
+ },
121
+ "151656": {
122
+ "content": "<|video_pad|>",
123
+ "single_word": false,
124
+ "lstrip": false,
125
+ "rstrip": false,
126
+ "normalized": false,
127
+ "special": true
128
+ },
129
+ "151657": {
130
+ "content": "<tool_call>",
131
+ "single_word": false,
132
+ "lstrip": false,
133
+ "rstrip": false,
134
+ "normalized": false,
135
+ "special": false
136
+ },
137
+ "151658": {
138
+ "content": "</tool_call>",
139
+ "single_word": false,
140
+ "lstrip": false,
141
+ "rstrip": false,
142
+ "normalized": false,
143
+ "special": false
144
+ },
145
+ "151659": {
146
+ "content": "<|fim_prefix|>",
147
+ "single_word": false,
148
+ "lstrip": false,
149
+ "rstrip": false,
150
+ "normalized": false,
151
+ "special": false
152
+ },
153
+ "151660": {
154
+ "content": "<|fim_middle|>",
155
+ "single_word": false,
156
+ "lstrip": false,
157
+ "rstrip": false,
158
+ "normalized": false,
159
+ "special": false
160
+ },
161
+ "151661": {
162
+ "content": "<|fim_suffix|>",
163
+ "single_word": false,
164
+ "lstrip": false,
165
+ "rstrip": false,
166
+ "normalized": false,
167
+ "special": false
168
+ },
169
+ "151662": {
170
+ "content": "<|fim_pad|>",
171
+ "single_word": false,
172
+ "lstrip": false,
173
+ "rstrip": false,
174
+ "normalized": false,
175
+ "special": false
176
+ },
177
+ "151663": {
178
+ "content": "<|repo_name|>",
179
+ "single_word": false,
180
+ "lstrip": false,
181
+ "rstrip": false,
182
+ "normalized": false,
183
+ "special": false
184
+ },
185
+ "151664": {
186
+ "content": "<|file_sep|>",
187
+ "single_word": false,
188
+ "lstrip": false,
189
+ "rstrip": false,
190
+ "normalized": false,
191
+ "special": false
192
+ },
193
+ "151665": {
194
+ "content": "<tool_response>",
195
+ "single_word": false,
196
+ "lstrip": false,
197
+ "rstrip": false,
198
+ "normalized": false,
199
+ "special": false
200
+ },
201
+ "151666": {
202
+ "content": "</tool_response>",
203
+ "single_word": false,
204
+ "lstrip": false,
205
+ "rstrip": false,
206
+ "normalized": false,
207
+ "special": false
208
+ },
209
+ "151667": {
210
+ "content": "<think>",
211
+ "single_word": false,
212
+ "lstrip": false,
213
+ "rstrip": false,
214
+ "normalized": false,
215
+ "special": false
216
+ },
217
+ "151668": {
218
+ "content": "</think>",
219
+ "single_word": false,
220
+ "lstrip": false,
221
+ "rstrip": false,
222
+ "normalized": false,
223
+ "special": false
224
+ },
225
+ "151669": {
226
+ "content": "<|PAD_TOKEN|>",
227
+ "single_word": false,
228
+ "lstrip": false,
229
+ "rstrip": false,
230
+ "normalized": false,
231
+ "special": true
232
+ }
233
+ }
234
+ }
checkpoint-1188/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1188/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3a4d7936dc7001e3baf6e9cead308b6188ace221538f9d436668bdf0b1d43a1
3
+ size 5777
checkpoint-125/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Qwen3-4B-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/Qwen3-4B-unsloth-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.19.1
checkpoint-125/adapter_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen3ForCausalLM",
7
+ "parent_library": "transformers.models.qwen3.modeling_qwen3",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/Qwen3-4B-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,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 16,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "peft_type": "LORA",
31
+ "peft_version": "0.19.1",
32
+ "qalora_group_size": 16,
33
+ "r": 16,
34
+ "rank_pattern": {},
35
+ "revision": null,
36
+ "target_modules": [
37
+ "q_proj",
38
+ "up_proj",
39
+ "v_proj",
40
+ "o_proj",
41
+ "gate_proj",
42
+ "k_proj",
43
+ "down_proj"
44
+ ],
45
+ "target_parameters": null,
46
+ "task_type": "CAUSAL_LM",
47
+ "trainable_token_indices": null,
48
+ "use_bdlora": null,
49
+ "use_dora": false,
50
+ "use_qalora": false,
51
+ "use_rslora": false
52
+ }
checkpoint-125/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:242313e95b5a7939514d301b71943e8374ea993acdf0324ffc4e8347a804c311
3
+ size 132187888
checkpoint-125/chat_template.jinja ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 forward_message in messages %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- set message = messages[index] %}
21
+ {%- set tool_start = '<tool_response>' %}
22
+ {%- set tool_start_length = tool_start|length %}
23
+ {%- set start_of_message = message.content[:tool_start_length] %}
24
+ {%- set tool_end = '</tool_response>' %}
25
+ {%- set tool_end_length = tool_end|length %}
26
+ {%- set start_pos = (message.content|length) - tool_end_length %}
27
+ {%- if start_pos < 0 %}
28
+ {%- set start_pos = 0 %}
29
+ {%- endif %}
30
+ {%- set end_of_message = message.content[start_pos:] %}
31
+ {%- if ns.multi_step_tool and message.role == "user" and not(start_of_message == tool_start and end_of_message == tool_end) %}
32
+ {%- set ns.multi_step_tool = false %}
33
+ {%- set ns.last_query_index = index %}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- for message in messages %}
37
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
38
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
39
+ {%- elif message.role == "assistant" %}
40
+ {%- set content = message.content %}
41
+ {%- set reasoning_content = '' %}
42
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
43
+ {%- set reasoning_content = message.reasoning_content %}
44
+ {%- else %}
45
+ {%- if '</think>' in message.content %}
46
+ {%- set content = (message.content.split('</think>')|last).lstrip('\n') %}
47
+ {%- set reasoning_content = (message.content.split('</think>')|first).rstrip('\n') %}
48
+ {%- set reasoning_content = (reasoning_content.split('<think>')|last).lstrip('\n') %}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- if loop.index0 > ns.last_query_index %}
52
+ {%- if loop.last or (not loop.last and reasoning_content) %}
53
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
54
+ {%- else %}
55
+ {{- '<|im_start|>' + message.role + '\n' + content }}
56
+ {%- endif %}
57
+ {%- else %}
58
+ {{- '<|im_start|>' + message.role + '\n' + content }}
59
+ {%- endif %}
60
+ {%- if message.tool_calls %}
61
+ {%- for tool_call in message.tool_calls %}
62
+ {%- if (loop.first and content) or (not loop.first) %}
63
+ {{- '\n' }}
64
+ {%- endif %}
65
+ {%- if tool_call.function %}
66
+ {%- set tool_call = tool_call.function %}
67
+ {%- endif %}
68
+ {{- '<tool_call>\n{"name": "' }}
69
+ {{- tool_call.name }}
70
+ {{- '", "arguments": ' }}
71
+ {%- if tool_call.arguments is string %}
72
+ {{- tool_call.arguments }}
73
+ {%- else %}
74
+ {{- tool_call.arguments | tojson }}
75
+ {%- endif %}
76
+ {{- '}\n</tool_call>' }}
77
+ {%- endfor %}
78
+ {%- endif %}
79
+ {{- '<|im_end|>\n' }}
80
+ {%- elif message.role == "tool" %}
81
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
82
+ {{- '<|im_start|>user' }}
83
+ {%- endif %}
84
+ {{- '\n<tool_response>\n' }}
85
+ {{- message.content }}
86
+ {{- '\n</tool_response>' }}
87
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
88
+ {{- '<|im_end|>\n' }}
89
+ {%- endif %}
90
+ {%- endif %}
91
+ {%- endfor %}
92
+ {%- if add_generation_prompt %}
93
+ {{- '<|im_start|>assistant\n' }}
94
+ {%- if enable_thinking is defined and enable_thinking is false %}
95
+ {{- '<think>\n\n</think>\n\n' }}
96
+ {%- endif %}
97
+ {%- endif %}
checkpoint-125/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dc175652372e818c54684c9d40a8239dd7fa21f954cd6d9f29dbaa1d2a724f0
3
+ size 67688197
checkpoint-125/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89645f9f6a2a8823b334e0748e4f5ea683a27b3d02632f0a241397db55d82fad
3
+ size 14645
checkpoint-125/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eabd3c4ba8b41a4398f5c870775638a0746fd8357f2d7e0cbcf4970578c9f246
3
+ size 1465
checkpoint-125/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7430e9138b76e93fb6f93462394d236b411111aef53cb421ba97d2691040cca
3
+ size 11423114
checkpoint-125/tokenizer_config.json ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "is_local": false,
9
+ "model_max_length": 40960,
10
+ "pad_token": "<|PAD_TOKEN|>",
11
+ "padding_side": "right",
12
+ "split_special_tokens": false,
13
+ "tokenizer_class": "Qwen2Tokenizer",
14
+ "unk_token": null,
15
+ "added_tokens_decoder": {
16
+ "151643": {
17
+ "content": "<|endoftext|>",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ },
24
+ "151644": {
25
+ "content": "<|im_start|>",
26
+ "single_word": false,
27
+ "lstrip": false,
28
+ "rstrip": false,
29
+ "normalized": false,
30
+ "special": true
31
+ },
32
+ "151645": {
33
+ "content": "<|im_end|>",
34
+ "single_word": false,
35
+ "lstrip": false,
36
+ "rstrip": false,
37
+ "normalized": false,
38
+ "special": true
39
+ },
40
+ "151646": {
41
+ "content": "<|object_ref_start|>",
42
+ "single_word": false,
43
+ "lstrip": false,
44
+ "rstrip": false,
45
+ "normalized": false,
46
+ "special": true
47
+ },
48
+ "151647": {
49
+ "content": "<|object_ref_end|>",
50
+ "single_word": false,
51
+ "lstrip": false,
52
+ "rstrip": false,
53
+ "normalized": false,
54
+ "special": true
55
+ },
56
+ "151648": {
57
+ "content": "<|box_start|>",
58
+ "single_word": false,
59
+ "lstrip": false,
60
+ "rstrip": false,
61
+ "normalized": false,
62
+ "special": true
63
+ },
64
+ "151649": {
65
+ "content": "<|box_end|>",
66
+ "single_word": false,
67
+ "lstrip": false,
68
+ "rstrip": false,
69
+ "normalized": false,
70
+ "special": true
71
+ },
72
+ "151650": {
73
+ "content": "<|quad_start|>",
74
+ "single_word": false,
75
+ "lstrip": false,
76
+ "rstrip": false,
77
+ "normalized": false,
78
+ "special": true
79
+ },
80
+ "151651": {
81
+ "content": "<|quad_end|>",
82
+ "single_word": false,
83
+ "lstrip": false,
84
+ "rstrip": false,
85
+ "normalized": false,
86
+ "special": true
87
+ },
88
+ "151652": {
89
+ "content": "<|vision_start|>",
90
+ "single_word": false,
91
+ "lstrip": false,
92
+ "rstrip": false,
93
+ "normalized": false,
94
+ "special": true
95
+ },
96
+ "151653": {
97
+ "content": "<|vision_end|>",
98
+ "single_word": false,
99
+ "lstrip": false,
100
+ "rstrip": false,
101
+ "normalized": false,
102
+ "special": true
103
+ },
104
+ "151654": {
105
+ "content": "<|vision_pad|>",
106
+ "single_word": false,
107
+ "lstrip": false,
108
+ "rstrip": false,
109
+ "normalized": false,
110
+ "special": true
111
+ },
112
+ "151655": {
113
+ "content": "<|image_pad|>",
114
+ "single_word": false,
115
+ "lstrip": false,
116
+ "rstrip": false,
117
+ "normalized": false,
118
+ "special": true
119
+ },
120
+ "151656": {
121
+ "content": "<|video_pad|>",
122
+ "single_word": false,
123
+ "lstrip": false,
124
+ "rstrip": false,
125
+ "normalized": false,
126
+ "special": true
127
+ },
128
+ "151657": {
129
+ "content": "<tool_call>",
130
+ "single_word": false,
131
+ "lstrip": false,
132
+ "rstrip": false,
133
+ "normalized": false,
134
+ "special": false
135
+ },
136
+ "151658": {
137
+ "content": "</tool_call>",
138
+ "single_word": false,
139
+ "lstrip": false,
140
+ "rstrip": false,
141
+ "normalized": false,
142
+ "special": false
143
+ },
144
+ "151659": {
145
+ "content": "<|fim_prefix|>",
146
+ "single_word": false,
147
+ "lstrip": false,
148
+ "rstrip": false,
149
+ "normalized": false,
150
+ "special": false
151
+ },
152
+ "151660": {
153
+ "content": "<|fim_middle|>",
154
+ "single_word": false,
155
+ "lstrip": false,
156
+ "rstrip": false,
157
+ "normalized": false,
158
+ "special": false
159
+ },
160
+ "151661": {
161
+ "content": "<|fim_suffix|>",
162
+ "single_word": false,
163
+ "lstrip": false,
164
+ "rstrip": false,
165
+ "normalized": false,
166
+ "special": false
167
+ },
168
+ "151662": {
169
+ "content": "<|fim_pad|>",
170
+ "single_word": false,
171
+ "lstrip": false,
172
+ "rstrip": false,
173
+ "normalized": false,
174
+ "special": false
175
+ },
176
+ "151663": {
177
+ "content": "<|repo_name|>",
178
+ "single_word": false,
179
+ "lstrip": false,
180
+ "rstrip": false,
181
+ "normalized": false,
182
+ "special": false
183
+ },
184
+ "151664": {
185
+ "content": "<|file_sep|>",
186
+ "single_word": false,
187
+ "lstrip": false,
188
+ "rstrip": false,
189
+ "normalized": false,
190
+ "special": false
191
+ },
192
+ "151665": {
193
+ "content": "<tool_response>",
194
+ "single_word": false,
195
+ "lstrip": false,
196
+ "rstrip": false,
197
+ "normalized": false,
198
+ "special": false
199
+ },
200
+ "151666": {
201
+ "content": "</tool_response>",
202
+ "single_word": false,
203
+ "lstrip": false,
204
+ "rstrip": false,
205
+ "normalized": false,
206
+ "special": false
207
+ },
208
+ "151667": {
209
+ "content": "<think>",
210
+ "single_word": false,
211
+ "lstrip": false,
212
+ "rstrip": false,
213
+ "normalized": false,
214
+ "special": false
215
+ },
216
+ "151668": {
217
+ "content": "</think>",
218
+ "single_word": false,
219
+ "lstrip": false,
220
+ "rstrip": false,
221
+ "normalized": false,
222
+ "special": false
223
+ },
224
+ "151669": {
225
+ "content": "<|PAD_TOKEN|>",
226
+ "single_word": false,
227
+ "lstrip": false,
228
+ "rstrip": false,
229
+ "normalized": false,
230
+ "special": true
231
+ }
232
+ }
233
+ }
checkpoint-125/trainer_state.json ADDED
@@ -0,0 +1,909 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 5.0,
6
+ "eval_steps": 500,
7
+ "global_step": 125,
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.04,
14
+ "grad_norm": 0.932260274887085,
15
+ "learning_rate": 0.0,
16
+ "loss": 1.2812691926956177,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.08,
21
+ "grad_norm": 0.9258549213409424,
22
+ "learning_rate": 4.000000000000001e-06,
23
+ "loss": 1.2036092281341553,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.12,
28
+ "grad_norm": 1.000679612159729,
29
+ "learning_rate": 8.000000000000001e-06,
30
+ "loss": 1.3914015293121338,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.16,
35
+ "grad_norm": 1.4800903797149658,
36
+ "learning_rate": 1.2e-05,
37
+ "loss": 1.3741575479507446,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 0.2,
42
+ "grad_norm": 1.1617510318756104,
43
+ "learning_rate": 1.6000000000000003e-05,
44
+ "loss": 1.3682291507720947,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 0.24,
49
+ "grad_norm": 0.9225307703018188,
50
+ "learning_rate": 2e-05,
51
+ "loss": 1.2719311714172363,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 0.28,
56
+ "grad_norm": 0.9139644503593445,
57
+ "learning_rate": 2.4e-05,
58
+ "loss": 1.264675259590149,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.32,
63
+ "grad_norm": 1.1364861726760864,
64
+ "learning_rate": 2.8000000000000003e-05,
65
+ "loss": 1.4782798290252686,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.36,
70
+ "grad_norm": 1.0468904972076416,
71
+ "learning_rate": 3.2000000000000005e-05,
72
+ "loss": 1.2322373390197754,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.4,
77
+ "grad_norm": 1.0078755617141724,
78
+ "learning_rate": 3.6e-05,
79
+ "loss": 1.2988958358764648,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 0.44,
84
+ "grad_norm": 0.9352118372917175,
85
+ "learning_rate": 4e-05,
86
+ "loss": 1.1669442653656006,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 0.48,
91
+ "grad_norm": 1.2074038982391357,
92
+ "learning_rate": 4.4000000000000006e-05,
93
+ "loss": 1.4638183116912842,
94
+ "step": 12
95
+ },
96
+ {
97
+ "epoch": 0.52,
98
+ "grad_norm": 0.9746712446212769,
99
+ "learning_rate": 4.8e-05,
100
+ "loss": 1.0547767877578735,
101
+ "step": 13
102
+ },
103
+ {
104
+ "epoch": 0.56,
105
+ "grad_norm": 0.8821120262145996,
106
+ "learning_rate": 5.2000000000000004e-05,
107
+ "loss": 1.1713128089904785,
108
+ "step": 14
109
+ },
110
+ {
111
+ "epoch": 0.6,
112
+ "grad_norm": 0.7680985927581787,
113
+ "learning_rate": 5.6000000000000006e-05,
114
+ "loss": 1.0929949283599854,
115
+ "step": 15
116
+ },
117
+ {
118
+ "epoch": 0.64,
119
+ "grad_norm": 0.6305053234100342,
120
+ "learning_rate": 6e-05,
121
+ "loss": 0.9419608116149902,
122
+ "step": 16
123
+ },
124
+ {
125
+ "epoch": 0.68,
126
+ "grad_norm": 0.5025432705879211,
127
+ "learning_rate": 6.400000000000001e-05,
128
+ "loss": 0.8088782429695129,
129
+ "step": 17
130
+ },
131
+ {
132
+ "epoch": 0.72,
133
+ "grad_norm": 0.43731531500816345,
134
+ "learning_rate": 6.800000000000001e-05,
135
+ "loss": 0.7616404294967651,
136
+ "step": 18
137
+ },
138
+ {
139
+ "epoch": 0.76,
140
+ "grad_norm": 0.37003830075263977,
141
+ "learning_rate": 7.2e-05,
142
+ "loss": 0.6315687894821167,
143
+ "step": 19
144
+ },
145
+ {
146
+ "epoch": 0.8,
147
+ "grad_norm": 0.7235175967216492,
148
+ "learning_rate": 7.6e-05,
149
+ "loss": 0.6364619731903076,
150
+ "step": 20
151
+ },
152
+ {
153
+ "epoch": 0.84,
154
+ "grad_norm": 0.5470916628837585,
155
+ "learning_rate": 8e-05,
156
+ "loss": 0.8687893748283386,
157
+ "step": 21
158
+ },
159
+ {
160
+ "epoch": 0.88,
161
+ "grad_norm": 0.3039744794368744,
162
+ "learning_rate": 8.4e-05,
163
+ "loss": 0.4590837061405182,
164
+ "step": 22
165
+ },
166
+ {
167
+ "epoch": 0.92,
168
+ "grad_norm": 0.37839385867118835,
169
+ "learning_rate": 8.800000000000001e-05,
170
+ "loss": 0.5385509133338928,
171
+ "step": 23
172
+ },
173
+ {
174
+ "epoch": 0.96,
175
+ "grad_norm": 0.37729412317276,
176
+ "learning_rate": 9.200000000000001e-05,
177
+ "loss": 0.5465127229690552,
178
+ "step": 24
179
+ },
180
+ {
181
+ "epoch": 1.0,
182
+ "grad_norm": 0.38146528601646423,
183
+ "learning_rate": 9.6e-05,
184
+ "loss": 0.509769082069397,
185
+ "step": 25
186
+ },
187
+ {
188
+ "epoch": 1.04,
189
+ "grad_norm": 0.36699211597442627,
190
+ "learning_rate": 0.0001,
191
+ "loss": 0.4363247752189636,
192
+ "step": 26
193
+ },
194
+ {
195
+ "epoch": 1.08,
196
+ "grad_norm": 0.3731786608695984,
197
+ "learning_rate": 9.955555555555556e-05,
198
+ "loss": 0.4297473430633545,
199
+ "step": 27
200
+ },
201
+ {
202
+ "epoch": 1.12,
203
+ "grad_norm": 0.3378784954547882,
204
+ "learning_rate": 9.911111111111112e-05,
205
+ "loss": 0.35973912477493286,
206
+ "step": 28
207
+ },
208
+ {
209
+ "epoch": 1.16,
210
+ "grad_norm": 0.36273664236068726,
211
+ "learning_rate": 9.866666666666668e-05,
212
+ "loss": 0.34903788566589355,
213
+ "step": 29
214
+ },
215
+ {
216
+ "epoch": 1.2,
217
+ "grad_norm": 0.362885981798172,
218
+ "learning_rate": 9.822222222222223e-05,
219
+ "loss": 0.3119792342185974,
220
+ "step": 30
221
+ },
222
+ {
223
+ "epoch": 1.24,
224
+ "grad_norm": 0.3790324032306671,
225
+ "learning_rate": 9.777777777777778e-05,
226
+ "loss": 0.29530155658721924,
227
+ "step": 31
228
+ },
229
+ {
230
+ "epoch": 1.28,
231
+ "grad_norm": 0.37333837151527405,
232
+ "learning_rate": 9.733333333333335e-05,
233
+ "loss": 0.2653456926345825,
234
+ "step": 32
235
+ },
236
+ {
237
+ "epoch": 1.32,
238
+ "grad_norm": 0.32163503766059875,
239
+ "learning_rate": 9.68888888888889e-05,
240
+ "loss": 0.19654956459999084,
241
+ "step": 33
242
+ },
243
+ {
244
+ "epoch": 1.3599999999999999,
245
+ "grad_norm": 0.5297159552574158,
246
+ "learning_rate": 9.644444444444445e-05,
247
+ "loss": 0.23580318689346313,
248
+ "step": 34
249
+ },
250
+ {
251
+ "epoch": 1.4,
252
+ "grad_norm": 0.4474238455295563,
253
+ "learning_rate": 9.6e-05,
254
+ "loss": 0.18798796832561493,
255
+ "step": 35
256
+ },
257
+ {
258
+ "epoch": 1.44,
259
+ "grad_norm": 0.31346794962882996,
260
+ "learning_rate": 9.555555555555557e-05,
261
+ "loss": 0.12066371738910675,
262
+ "step": 36
263
+ },
264
+ {
265
+ "epoch": 1.48,
266
+ "grad_norm": 0.3099532723426819,
267
+ "learning_rate": 9.511111111111112e-05,
268
+ "loss": 0.08859007060527802,
269
+ "step": 37
270
+ },
271
+ {
272
+ "epoch": 1.52,
273
+ "grad_norm": 0.3490828275680542,
274
+ "learning_rate": 9.466666666666667e-05,
275
+ "loss": 0.07878822088241577,
276
+ "step": 38
277
+ },
278
+ {
279
+ "epoch": 1.56,
280
+ "grad_norm": 0.32395538687705994,
281
+ "learning_rate": 9.422222222222223e-05,
282
+ "loss": 0.06694570928812027,
283
+ "step": 39
284
+ },
285
+ {
286
+ "epoch": 1.6,
287
+ "grad_norm": 0.20870603621006012,
288
+ "learning_rate": 9.377777777777779e-05,
289
+ "loss": 0.04379018768668175,
290
+ "step": 40
291
+ },
292
+ {
293
+ "epoch": 1.6400000000000001,
294
+ "grad_norm": 0.3310009837150574,
295
+ "learning_rate": 9.333333333333334e-05,
296
+ "loss": 0.048647329211235046,
297
+ "step": 41
298
+ },
299
+ {
300
+ "epoch": 1.6800000000000002,
301
+ "grad_norm": 0.26949432492256165,
302
+ "learning_rate": 9.28888888888889e-05,
303
+ "loss": 0.039286017417907715,
304
+ "step": 42
305
+ },
306
+ {
307
+ "epoch": 1.72,
308
+ "grad_norm": 0.11029712855815887,
309
+ "learning_rate": 9.244444444444445e-05,
310
+ "loss": 0.029231950640678406,
311
+ "step": 43
312
+ },
313
+ {
314
+ "epoch": 1.76,
315
+ "grad_norm": 0.1476302146911621,
316
+ "learning_rate": 9.200000000000001e-05,
317
+ "loss": 0.027003085240721703,
318
+ "step": 44
319
+ },
320
+ {
321
+ "epoch": 1.8,
322
+ "grad_norm": 0.18617521226406097,
323
+ "learning_rate": 9.155555555555557e-05,
324
+ "loss": 0.025106143206357956,
325
+ "step": 45
326
+ },
327
+ {
328
+ "epoch": 1.8399999999999999,
329
+ "grad_norm": 0.13198262453079224,
330
+ "learning_rate": 9.111111111111112e-05,
331
+ "loss": 0.025741657242178917,
332
+ "step": 46
333
+ },
334
+ {
335
+ "epoch": 1.88,
336
+ "grad_norm": 0.26712384819984436,
337
+ "learning_rate": 9.066666666666667e-05,
338
+ "loss": 0.035036977380514145,
339
+ "step": 47
340
+ },
341
+ {
342
+ "epoch": 1.92,
343
+ "grad_norm": 0.3569182753562927,
344
+ "learning_rate": 9.022222222222224e-05,
345
+ "loss": 0.04259534925222397,
346
+ "step": 48
347
+ },
348
+ {
349
+ "epoch": 1.96,
350
+ "grad_norm": 0.1843830794095993,
351
+ "learning_rate": 8.977777777777779e-05,
352
+ "loss": 0.03471647948026657,
353
+ "step": 49
354
+ },
355
+ {
356
+ "epoch": 2.0,
357
+ "grad_norm": 0.1248057410120964,
358
+ "learning_rate": 8.933333333333334e-05,
359
+ "loss": 0.030936148017644882,
360
+ "step": 50
361
+ },
362
+ {
363
+ "epoch": 2.04,
364
+ "grad_norm": 0.12060711532831192,
365
+ "learning_rate": 8.888888888888889e-05,
366
+ "loss": 0.032452136278152466,
367
+ "step": 51
368
+ },
369
+ {
370
+ "epoch": 2.08,
371
+ "grad_norm": 0.2026030570268631,
372
+ "learning_rate": 8.844444444444445e-05,
373
+ "loss": 0.03268110007047653,
374
+ "step": 52
375
+ },
376
+ {
377
+ "epoch": 2.12,
378
+ "grad_norm": 0.21289987862110138,
379
+ "learning_rate": 8.800000000000001e-05,
380
+ "loss": 0.03406357392668724,
381
+ "step": 53
382
+ },
383
+ {
384
+ "epoch": 2.16,
385
+ "grad_norm": 0.14732478559017181,
386
+ "learning_rate": 8.755555555555556e-05,
387
+ "loss": 0.02936721034348011,
388
+ "step": 54
389
+ },
390
+ {
391
+ "epoch": 2.2,
392
+ "grad_norm": 0.10120426118373871,
393
+ "learning_rate": 8.711111111111112e-05,
394
+ "loss": 0.02511693350970745,
395
+ "step": 55
396
+ },
397
+ {
398
+ "epoch": 2.24,
399
+ "grad_norm": 0.08917918056249619,
400
+ "learning_rate": 8.666666666666667e-05,
401
+ "loss": 0.025877539068460464,
402
+ "step": 56
403
+ },
404
+ {
405
+ "epoch": 2.2800000000000002,
406
+ "grad_norm": 0.08735086023807526,
407
+ "learning_rate": 8.622222222222222e-05,
408
+ "loss": 0.02145460993051529,
409
+ "step": 57
410
+ },
411
+ {
412
+ "epoch": 2.32,
413
+ "grad_norm": 0.07835431396961212,
414
+ "learning_rate": 8.577777777777777e-05,
415
+ "loss": 0.021244943141937256,
416
+ "step": 58
417
+ },
418
+ {
419
+ "epoch": 2.36,
420
+ "grad_norm": 0.06953317672014236,
421
+ "learning_rate": 8.533333333333334e-05,
422
+ "loss": 0.02279437705874443,
423
+ "step": 59
424
+ },
425
+ {
426
+ "epoch": 2.4,
427
+ "grad_norm": 0.0854259729385376,
428
+ "learning_rate": 8.488888888888889e-05,
429
+ "loss": 0.023704543709754944,
430
+ "step": 60
431
+ },
432
+ {
433
+ "epoch": 2.44,
434
+ "grad_norm": 0.17068363726139069,
435
+ "learning_rate": 8.444444444444444e-05,
436
+ "loss": 0.035272784531116486,
437
+ "step": 61
438
+ },
439
+ {
440
+ "epoch": 2.48,
441
+ "grad_norm": 0.11971863359212875,
442
+ "learning_rate": 8.4e-05,
443
+ "loss": 0.02707826718688011,
444
+ "step": 62
445
+ },
446
+ {
447
+ "epoch": 2.52,
448
+ "grad_norm": 0.05303095281124115,
449
+ "learning_rate": 8.355555555555556e-05,
450
+ "loss": 0.01696968823671341,
451
+ "step": 63
452
+ },
453
+ {
454
+ "epoch": 2.56,
455
+ "grad_norm": 0.06503961980342865,
456
+ "learning_rate": 8.311111111111111e-05,
457
+ "loss": 0.018413860350847244,
458
+ "step": 64
459
+ },
460
+ {
461
+ "epoch": 2.6,
462
+ "grad_norm": 0.05390244349837303,
463
+ "learning_rate": 8.266666666666667e-05,
464
+ "loss": 0.01641814410686493,
465
+ "step": 65
466
+ },
467
+ {
468
+ "epoch": 2.64,
469
+ "grad_norm": 0.07149611413478851,
470
+ "learning_rate": 8.222222222222222e-05,
471
+ "loss": 0.020658448338508606,
472
+ "step": 66
473
+ },
474
+ {
475
+ "epoch": 2.68,
476
+ "grad_norm": 0.09244706481695175,
477
+ "learning_rate": 8.177777777777778e-05,
478
+ "loss": 0.022394295781850815,
479
+ "step": 67
480
+ },
481
+ {
482
+ "epoch": 2.7199999999999998,
483
+ "grad_norm": 0.11381954699754715,
484
+ "learning_rate": 8.133333333333334e-05,
485
+ "loss": 0.028476765379309654,
486
+ "step": 68
487
+ },
488
+ {
489
+ "epoch": 2.76,
490
+ "grad_norm": 0.07354001700878143,
491
+ "learning_rate": 8.088888888888889e-05,
492
+ "loss": 0.019497834146022797,
493
+ "step": 69
494
+ },
495
+ {
496
+ "epoch": 2.8,
497
+ "grad_norm": 0.06727641820907593,
498
+ "learning_rate": 8.044444444444444e-05,
499
+ "loss": 0.014356930740177631,
500
+ "step": 70
501
+ },
502
+ {
503
+ "epoch": 2.84,
504
+ "grad_norm": 0.07417713105678558,
505
+ "learning_rate": 8e-05,
506
+ "loss": 0.01823577657341957,
507
+ "step": 71
508
+ },
509
+ {
510
+ "epoch": 2.88,
511
+ "grad_norm": 0.09163317829370499,
512
+ "learning_rate": 7.955555555555556e-05,
513
+ "loss": 0.02139071188867092,
514
+ "step": 72
515
+ },
516
+ {
517
+ "epoch": 2.92,
518
+ "grad_norm": 0.08178975433111191,
519
+ "learning_rate": 7.911111111111111e-05,
520
+ "loss": 0.018335483968257904,
521
+ "step": 73
522
+ },
523
+ {
524
+ "epoch": 2.96,
525
+ "grad_norm": 0.08015220612287521,
526
+ "learning_rate": 7.866666666666666e-05,
527
+ "loss": 0.016001513227820396,
528
+ "step": 74
529
+ },
530
+ {
531
+ "epoch": 3.0,
532
+ "grad_norm": 0.08509402722120285,
533
+ "learning_rate": 7.822222222222223e-05,
534
+ "loss": 0.017747700214385986,
535
+ "step": 75
536
+ },
537
+ {
538
+ "epoch": 3.04,
539
+ "grad_norm": 0.07863253355026245,
540
+ "learning_rate": 7.777777777777778e-05,
541
+ "loss": 0.015054607763886452,
542
+ "step": 76
543
+ },
544
+ {
545
+ "epoch": 3.08,
546
+ "grad_norm": 0.09398715198040009,
547
+ "learning_rate": 7.733333333333333e-05,
548
+ "loss": 0.01887289062142372,
549
+ "step": 77
550
+ },
551
+ {
552
+ "epoch": 3.12,
553
+ "grad_norm": 0.12165197730064392,
554
+ "learning_rate": 7.688888888888889e-05,
555
+ "loss": 0.020169202238321304,
556
+ "step": 78
557
+ },
558
+ {
559
+ "epoch": 3.16,
560
+ "grad_norm": 0.07627179473638535,
561
+ "learning_rate": 7.644444444444445e-05,
562
+ "loss": 0.012153002433478832,
563
+ "step": 79
564
+ },
565
+ {
566
+ "epoch": 3.2,
567
+ "grad_norm": 0.0885142832994461,
568
+ "learning_rate": 7.6e-05,
569
+ "loss": 0.015390444546937943,
570
+ "step": 80
571
+ },
572
+ {
573
+ "epoch": 3.24,
574
+ "grad_norm": 0.11557707190513611,
575
+ "learning_rate": 7.555555555555556e-05,
576
+ "loss": 0.019245222210884094,
577
+ "step": 81
578
+ },
579
+ {
580
+ "epoch": 3.2800000000000002,
581
+ "grad_norm": 0.0976581946015358,
582
+ "learning_rate": 7.511111111111111e-05,
583
+ "loss": 0.014158917590975761,
584
+ "step": 82
585
+ },
586
+ {
587
+ "epoch": 3.32,
588
+ "grad_norm": 0.09829393774271011,
589
+ "learning_rate": 7.466666666666667e-05,
590
+ "loss": 0.013099931180477142,
591
+ "step": 83
592
+ },
593
+ {
594
+ "epoch": 3.36,
595
+ "grad_norm": 0.10063999146223068,
596
+ "learning_rate": 7.422222222222223e-05,
597
+ "loss": 0.013834481127560139,
598
+ "step": 84
599
+ },
600
+ {
601
+ "epoch": 3.4,
602
+ "grad_norm": 0.09943496435880661,
603
+ "learning_rate": 7.377777777777778e-05,
604
+ "loss": 0.012920765206217766,
605
+ "step": 85
606
+ },
607
+ {
608
+ "epoch": 3.44,
609
+ "grad_norm": 0.1093878448009491,
610
+ "learning_rate": 7.333333333333333e-05,
611
+ "loss": 0.013458158820867538,
612
+ "step": 86
613
+ },
614
+ {
615
+ "epoch": 3.48,
616
+ "grad_norm": 0.1128634586930275,
617
+ "learning_rate": 7.28888888888889e-05,
618
+ "loss": 0.013067865744233131,
619
+ "step": 87
620
+ },
621
+ {
622
+ "epoch": 3.52,
623
+ "grad_norm": 0.11049138009548187,
624
+ "learning_rate": 7.244444444444445e-05,
625
+ "loss": 0.01237843930721283,
626
+ "step": 88
627
+ },
628
+ {
629
+ "epoch": 3.56,
630
+ "grad_norm": 0.1535821557044983,
631
+ "learning_rate": 7.2e-05,
632
+ "loss": 0.015146344900131226,
633
+ "step": 89
634
+ },
635
+ {
636
+ "epoch": 3.6,
637
+ "grad_norm": 0.10436677187681198,
638
+ "learning_rate": 7.155555555555555e-05,
639
+ "loss": 0.00996164046227932,
640
+ "step": 90
641
+ },
642
+ {
643
+ "epoch": 3.64,
644
+ "grad_norm": 0.14084051549434662,
645
+ "learning_rate": 7.111111111111112e-05,
646
+ "loss": 0.013795388862490654,
647
+ "step": 91
648
+ },
649
+ {
650
+ "epoch": 3.68,
651
+ "grad_norm": 0.12718933820724487,
652
+ "learning_rate": 7.066666666666667e-05,
653
+ "loss": 0.011878985911607742,
654
+ "step": 92
655
+ },
656
+ {
657
+ "epoch": 3.7199999999999998,
658
+ "grad_norm": 0.1412353217601776,
659
+ "learning_rate": 7.022222222222222e-05,
660
+ "loss": 0.010964864864945412,
661
+ "step": 93
662
+ },
663
+ {
664
+ "epoch": 3.76,
665
+ "grad_norm": 0.11453556269407272,
666
+ "learning_rate": 6.977777777777779e-05,
667
+ "loss": 0.008170144632458687,
668
+ "step": 94
669
+ },
670
+ {
671
+ "epoch": 3.8,
672
+ "grad_norm": 0.16155096888542175,
673
+ "learning_rate": 6.933333333333334e-05,
674
+ "loss": 0.011488870717585087,
675
+ "step": 95
676
+ },
677
+ {
678
+ "epoch": 3.84,
679
+ "grad_norm": 0.11969174444675446,
680
+ "learning_rate": 6.88888888888889e-05,
681
+ "loss": 0.007895090617239475,
682
+ "step": 96
683
+ },
684
+ {
685
+ "epoch": 3.88,
686
+ "grad_norm": 0.22626101970672607,
687
+ "learning_rate": 6.844444444444445e-05,
688
+ "loss": 0.01467936858534813,
689
+ "step": 97
690
+ },
691
+ {
692
+ "epoch": 3.92,
693
+ "grad_norm": 0.21040032804012299,
694
+ "learning_rate": 6.800000000000001e-05,
695
+ "loss": 0.010772328823804855,
696
+ "step": 98
697
+ },
698
+ {
699
+ "epoch": 3.96,
700
+ "grad_norm": 0.19558775424957275,
701
+ "learning_rate": 6.755555555555557e-05,
702
+ "loss": 0.009220557287335396,
703
+ "step": 99
704
+ },
705
+ {
706
+ "epoch": 4.0,
707
+ "grad_norm": 0.18061381578445435,
708
+ "learning_rate": 6.711111111111112e-05,
709
+ "loss": 0.006471008062362671,
710
+ "step": 100
711
+ },
712
+ {
713
+ "epoch": 4.04,
714
+ "grad_norm": 0.12179632484912872,
715
+ "learning_rate": 6.666666666666667e-05,
716
+ "loss": 0.0057976702228188515,
717
+ "step": 101
718
+ },
719
+ {
720
+ "epoch": 4.08,
721
+ "grad_norm": 0.12671399116516113,
722
+ "learning_rate": 6.622222222222224e-05,
723
+ "loss": 0.006621541455388069,
724
+ "step": 102
725
+ },
726
+ {
727
+ "epoch": 4.12,
728
+ "grad_norm": 0.11084511876106262,
729
+ "learning_rate": 6.577777777777779e-05,
730
+ "loss": 0.006054866127669811,
731
+ "step": 103
732
+ },
733
+ {
734
+ "epoch": 4.16,
735
+ "grad_norm": 0.12502190470695496,
736
+ "learning_rate": 6.533333333333334e-05,
737
+ "loss": 0.00817898940294981,
738
+ "step": 104
739
+ },
740
+ {
741
+ "epoch": 4.2,
742
+ "grad_norm": 0.09107036888599396,
743
+ "learning_rate": 6.488888888888889e-05,
744
+ "loss": 0.006295117549598217,
745
+ "step": 105
746
+ },
747
+ {
748
+ "epoch": 4.24,
749
+ "grad_norm": 0.07194884121417999,
750
+ "learning_rate": 6.444444444444446e-05,
751
+ "loss": 0.006192575674504042,
752
+ "step": 106
753
+ },
754
+ {
755
+ "epoch": 4.28,
756
+ "grad_norm": 0.03464571759104729,
757
+ "learning_rate": 6.400000000000001e-05,
758
+ "loss": 0.003843494923785329,
759
+ "step": 107
760
+ },
761
+ {
762
+ "epoch": 4.32,
763
+ "grad_norm": 0.10040883719921112,
764
+ "learning_rate": 6.355555555555556e-05,
765
+ "loss": 0.006318099796772003,
766
+ "step": 108
767
+ },
768
+ {
769
+ "epoch": 4.36,
770
+ "grad_norm": 0.07303845882415771,
771
+ "learning_rate": 6.311111111111112e-05,
772
+ "loss": 0.0047858962789177895,
773
+ "step": 109
774
+ },
775
+ {
776
+ "epoch": 4.4,
777
+ "grad_norm": 0.03440818190574646,
778
+ "learning_rate": 6.266666666666667e-05,
779
+ "loss": 0.004050814546644688,
780
+ "step": 110
781
+ },
782
+ {
783
+ "epoch": 4.44,
784
+ "grad_norm": 0.046613194048404694,
785
+ "learning_rate": 6.222222222222222e-05,
786
+ "loss": 0.0035898215137422085,
787
+ "step": 111
788
+ },
789
+ {
790
+ "epoch": 4.48,
791
+ "grad_norm": 0.02108742855489254,
792
+ "learning_rate": 6.177777777777779e-05,
793
+ "loss": 0.003291932400316,
794
+ "step": 112
795
+ },
796
+ {
797
+ "epoch": 4.52,
798
+ "grad_norm": 0.04408564418554306,
799
+ "learning_rate": 6.133333333333334e-05,
800
+ "loss": 0.0033779453951865435,
801
+ "step": 113
802
+ },
803
+ {
804
+ "epoch": 4.5600000000000005,
805
+ "grad_norm": 0.022311383858323097,
806
+ "learning_rate": 6.08888888888889e-05,
807
+ "loss": 0.0038345090579241514,
808
+ "step": 114
809
+ },
810
+ {
811
+ "epoch": 4.6,
812
+ "grad_norm": 0.026365282014012337,
813
+ "learning_rate": 6.044444444444445e-05,
814
+ "loss": 0.004205222241580486,
815
+ "step": 115
816
+ },
817
+ {
818
+ "epoch": 4.64,
819
+ "grad_norm": 0.04582115262746811,
820
+ "learning_rate": 6e-05,
821
+ "loss": 0.005077291280031204,
822
+ "step": 116
823
+ },
824
+ {
825
+ "epoch": 4.68,
826
+ "grad_norm": 0.05057913810014725,
827
+ "learning_rate": 5.9555555555555554e-05,
828
+ "loss": 0.004747368395328522,
829
+ "step": 117
830
+ },
831
+ {
832
+ "epoch": 4.72,
833
+ "grad_norm": 0.04699229821562767,
834
+ "learning_rate": 5.911111111111112e-05,
835
+ "loss": 0.00538603262975812,
836
+ "step": 118
837
+ },
838
+ {
839
+ "epoch": 4.76,
840
+ "grad_norm": 0.026704438030719757,
841
+ "learning_rate": 5.866666666666667e-05,
842
+ "loss": 0.0041087716817855835,
843
+ "step": 119
844
+ },
845
+ {
846
+ "epoch": 4.8,
847
+ "grad_norm": 0.04175629839301109,
848
+ "learning_rate": 5.8222222222222224e-05,
849
+ "loss": 0.004437651485204697,
850
+ "step": 120
851
+ },
852
+ {
853
+ "epoch": 4.84,
854
+ "grad_norm": 0.032657600939273834,
855
+ "learning_rate": 5.7777777777777776e-05,
856
+ "loss": 0.003728377167135477,
857
+ "step": 121
858
+ },
859
+ {
860
+ "epoch": 4.88,
861
+ "grad_norm": 0.03405195474624634,
862
+ "learning_rate": 5.7333333333333336e-05,
863
+ "loss": 0.005017922259867191,
864
+ "step": 122
865
+ },
866
+ {
867
+ "epoch": 4.92,
868
+ "grad_norm": 0.02600262127816677,
869
+ "learning_rate": 5.6888888888888895e-05,
870
+ "loss": 0.003841507714241743,
871
+ "step": 123
872
+ },
873
+ {
874
+ "epoch": 4.96,
875
+ "grad_norm": 0.03402233496308327,
876
+ "learning_rate": 5.644444444444445e-05,
877
+ "loss": 0.002483899937942624,
878
+ "step": 124
879
+ },
880
+ {
881
+ "epoch": 5.0,
882
+ "grad_norm": 0.03151554986834526,
883
+ "learning_rate": 5.6000000000000006e-05,
884
+ "loss": 0.0036559500731527805,
885
+ "step": 125
886
+ }
887
+ ],
888
+ "logging_steps": 1,
889
+ "max_steps": 250,
890
+ "num_input_tokens_seen": 0,
891
+ "num_train_epochs": 10,
892
+ "save_steps": 500,
893
+ "stateful_callbacks": {
894
+ "TrainerControl": {
895
+ "args": {
896
+ "should_epoch_stop": false,
897
+ "should_evaluate": false,
898
+ "should_log": false,
899
+ "should_save": true,
900
+ "should_training_stop": false
901
+ },
902
+ "attributes": {}
903
+ }
904
+ },
905
+ "total_flos": 6131631651225600.0,
906
+ "train_batch_size": 2,
907
+ "trial_name": null,
908
+ "trial_params": null
909
+ }
checkpoint-125/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:645419f21f4d6019a05370e7bbe3d7fc33fe5acc897c23264b7af2a7ed0d0af0
3
+ size 5713
checkpoint-1386/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Qwen3-4B-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/Qwen3-4B-unsloth-bnb-4bit
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.19.1
checkpoint-1386/adapter_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen3ForCausalLM",
7
+ "parent_library": "transformers.models.qwen3.modeling_qwen3",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/Qwen3-4B-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,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 16,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.0,
26
+ "lora_ga_config": null,
27
+ "megatron_config": null,
28
+ "megatron_core": "megatron.core",
29
+ "modules_to_save": null,
30
+ "peft_type": "LORA",
31
+ "peft_version": "0.19.1",
32
+ "qalora_group_size": 16,
33
+ "r": 16,
34
+ "rank_pattern": {},
35
+ "revision": null,
36
+ "target_modules": [
37
+ "q_proj",
38
+ "o_proj",
39
+ "up_proj",
40
+ "down_proj",
41
+ "v_proj",
42
+ "k_proj",
43
+ "gate_proj"
44
+ ],
45
+ "target_parameters": null,
46
+ "task_type": "CAUSAL_LM",
47
+ "trainable_token_indices": null,
48
+ "use_bdlora": null,
49
+ "use_dora": false,
50
+ "use_qalora": false,
51
+ "use_rslora": false
52
+ }
checkpoint-1386/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:942803e6b3908e3c6887a1bdea9d0da098703e4534e1ca18b3a16b65204880b8
3
+ size 132187888
checkpoint-1386/chat_template.jinja ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 forward_message in messages %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- set message = messages[index] %}
21
+ {%- set tool_start = '<tool_response>' %}
22
+ {%- set tool_start_length = tool_start|length %}
23
+ {%- set start_of_message = message.content[:tool_start_length] %}
24
+ {%- set tool_end = '</tool_response>' %}
25
+ {%- set tool_end_length = tool_end|length %}
26
+ {%- set start_pos = (message.content|length) - tool_end_length %}
27
+ {%- if start_pos < 0 %}
28
+ {%- set start_pos = 0 %}
29
+ {%- endif %}
30
+ {%- set end_of_message = message.content[start_pos:] %}
31
+ {%- if ns.multi_step_tool and message.role == "user" and not(start_of_message == tool_start and end_of_message == tool_end) %}
32
+ {%- set ns.multi_step_tool = false %}
33
+ {%- set ns.last_query_index = index %}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- for message in messages %}
37
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
38
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
39
+ {%- elif message.role == "assistant" %}
40
+ {%- set content = message.content %}
41
+ {%- set reasoning_content = '' %}
42
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
43
+ {%- set reasoning_content = message.reasoning_content %}
44
+ {%- else %}
45
+ {%- if '</think>' in message.content %}
46
+ {%- set content = (message.content.split('</think>')|last).lstrip('\n') %}
47
+ {%- set reasoning_content = (message.content.split('</think>')|first).rstrip('\n') %}
48
+ {%- set reasoning_content = (reasoning_content.split('<think>')|last).lstrip('\n') %}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- if loop.index0 > ns.last_query_index %}
52
+ {%- if loop.last or (not loop.last and reasoning_content) %}
53
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
54
+ {%- else %}
55
+ {{- '<|im_start|>' + message.role + '\n' + content }}
56
+ {%- endif %}
57
+ {%- else %}
58
+ {{- '<|im_start|>' + message.role + '\n' + content }}
59
+ {%- endif %}
60
+ {%- if message.tool_calls %}
61
+ {%- for tool_call in message.tool_calls %}
62
+ {%- if (loop.first and content) or (not loop.first) %}
63
+ {{- '\n' }}
64
+ {%- endif %}
65
+ {%- if tool_call.function %}
66
+ {%- set tool_call = tool_call.function %}
67
+ {%- endif %}
68
+ {{- '<tool_call>\n{"name": "' }}
69
+ {{- tool_call.name }}
70
+ {{- '", "arguments": ' }}
71
+ {%- if tool_call.arguments is string %}
72
+ {{- tool_call.arguments }}
73
+ {%- else %}
74
+ {{- tool_call.arguments | tojson }}
75
+ {%- endif %}
76
+ {{- '}\n</tool_call>' }}
77
+ {%- endfor %}
78
+ {%- endif %}
79
+ {{- '<|im_end|>\n' }}
80
+ {%- elif message.role == "tool" %}
81
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
82
+ {{- '<|im_start|>user' }}
83
+ {%- endif %}
84
+ {{- '\n<tool_response>\n' }}
85
+ {{- message.content }}
86
+ {{- '\n</tool_response>' }}
87
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
88
+ {{- '<|im_end|>\n' }}
89
+ {%- endif %}
90
+ {%- endif %}
91
+ {%- endfor %}
92
+ {%- if add_generation_prompt %}
93
+ {{- '<|im_start|>assistant\n' }}
94
+ {%- if enable_thinking is defined and enable_thinking is false %}
95
+ {{- '<think>\n\n</think>\n\n' }}
96
+ {%- endif %}
97
+ {%- endif %}