xxue752 commited on
Commit
ec5c018
·
verified ·
1 Parent(s): 9f9db8f

Upload 15 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ Menta/tokenizer.json filter=lfs diff=lfs merge=lfs -text
Menta/README.md ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-4B-Instruct-2507
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-4B-Instruct-2507
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- 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. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ 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).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.17.1
Menta/adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-4B-Instruct-2507",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 8,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "q_proj",
29
+ "k_proj",
30
+ "o_proj",
31
+ "v_proj"
32
+ ],
33
+ "target_parameters": null,
34
+ "task_type": "CAUSAL_LM",
35
+ "trainable_token_indices": null,
36
+ "use_dora": false,
37
+ "use_qalora": false,
38
+ "use_rslora": false
39
+ }
Menta/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf8e61c7f44e72367d974a04334ce0006272604694d77c7d7c5379cb69a0e43e
3
+ size 23631240
Menta/added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
Menta/chat_template.jinja ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ {%- for message in messages %}
18
+ {%- if message.content is string %}
19
+ {%- set content = message.content %}
20
+ {%- else %}
21
+ {%- set content = '' %}
22
+ {%- endif %}
23
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
24
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
25
+ {%- elif message.role == "assistant" %}
26
+ {{- '<|im_start|>' + message.role + '\n' + content }}
27
+ {%- if message.tool_calls %}
28
+ {%- for tool_call in message.tool_calls %}
29
+ {%- if (loop.first and content) or (not loop.first) %}
30
+ {{- '\n' }}
31
+ {%- endif %}
32
+ {%- if tool_call.function %}
33
+ {%- set tool_call = tool_call.function %}
34
+ {%- endif %}
35
+ {{- '<tool_call>\n{"name": "' }}
36
+ {{- tool_call.name }}
37
+ {{- '", "arguments": ' }}
38
+ {%- if tool_call.arguments is string %}
39
+ {{- tool_call.arguments }}
40
+ {%- else %}
41
+ {{- tool_call.arguments | tojson }}
42
+ {%- endif %}
43
+ {{- '}\n</tool_call>' }}
44
+ {%- endfor %}
45
+ {%- endif %}
46
+ {{- '<|im_end|>\n' }}
47
+ {%- elif message.role == "tool" %}
48
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
49
+ {{- '<|im_start|>user' }}
50
+ {%- endif %}
51
+ {{- '\n<tool_response>\n' }}
52
+ {{- content }}
53
+ {{- '\n</tool_response>' }}
54
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
55
+ {{- '<|im_end|>\n' }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- endfor %}
59
+ {%- if add_generation_prompt %}
60
+ {{- '<|im_start|>assistant\n' }}
61
+ {%- endif %}
Menta/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
Menta/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b50f881d2ee07e9280ebb8f6cd0246b8850d2f3f3f1abec2d6c73521f3795b
3
+ size 47427979
Menta/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:788ea5a4e5b3f751353072a844c13567d8cb7fd2256239a2c817180d43be5ce9
3
+ size 14645
Menta/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6cfa1b0a6cbc14b460ef3b255c1c98a8d3516a97fdf7e2ce228a615aee28cd0
3
+ size 1465
Menta/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
Menta/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:574de68a0f63f2004784a421c7d42c2b2786c05cb38542d2ed3525757a1f7fde
3
+ size 11422932
Menta/tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 1010000,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
Menta/trainer_state.json ADDED
@@ -0,0 +1,449 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 3000,
3
+ "best_metric": 2.048635482788086,
4
+ "best_model_checkpoint": "./qwen3_lora_multitask_output_logprob/config_1/checkpoint-3000",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 4968,
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.06038647342995169,
14
+ "grad_norm": 0.7042117714881897,
15
+ "learning_rate": 0.000495,
16
+ "loss": 2.5543,
17
+ "step": 100
18
+ },
19
+ {
20
+ "epoch": 0.12077294685990338,
21
+ "grad_norm": 0.683829128742218,
22
+ "learning_rate": 0.0004898315529991783,
23
+ "loss": 2.1273,
24
+ "step": 200
25
+ },
26
+ {
27
+ "epoch": 0.18115942028985507,
28
+ "grad_norm": 0.7821890115737915,
29
+ "learning_rate": 0.0004795603944124897,
30
+ "loss": 2.1013,
31
+ "step": 300
32
+ },
33
+ {
34
+ "epoch": 0.24154589371980675,
35
+ "grad_norm": 0.7839072942733765,
36
+ "learning_rate": 0.0004692892358258012,
37
+ "loss": 2.1201,
38
+ "step": 400
39
+ },
40
+ {
41
+ "epoch": 0.30193236714975846,
42
+ "grad_norm": 0.6462593674659729,
43
+ "learning_rate": 0.0004590180772391126,
44
+ "loss": 2.0848,
45
+ "step": 500
46
+ },
47
+ {
48
+ "epoch": 0.30193236714975846,
49
+ "eval_loss": 2.0794577598571777,
50
+ "eval_runtime": 45.4355,
51
+ "eval_samples_per_second": 16.177,
52
+ "eval_steps_per_second": 4.05,
53
+ "step": 500
54
+ },
55
+ {
56
+ "epoch": 0.36231884057971014,
57
+ "grad_norm": 1.08709716796875,
58
+ "learning_rate": 0.000448746918652424,
59
+ "loss": 2.0871,
60
+ "step": 600
61
+ },
62
+ {
63
+ "epoch": 0.4227053140096618,
64
+ "grad_norm": 0.8491250872612,
65
+ "learning_rate": 0.0004384757600657354,
66
+ "loss": 2.069,
67
+ "step": 700
68
+ },
69
+ {
70
+ "epoch": 0.4830917874396135,
71
+ "grad_norm": 0.8505752682685852,
72
+ "learning_rate": 0.0004282046014790468,
73
+ "loss": 2.1031,
74
+ "step": 800
75
+ },
76
+ {
77
+ "epoch": 0.5434782608695652,
78
+ "grad_norm": 0.8747426271438599,
79
+ "learning_rate": 0.00041793344289235826,
80
+ "loss": 2.0675,
81
+ "step": 900
82
+ },
83
+ {
84
+ "epoch": 0.6038647342995169,
85
+ "grad_norm": 0.8112818002700806,
86
+ "learning_rate": 0.0004076622843056697,
87
+ "loss": 2.035,
88
+ "step": 1000
89
+ },
90
+ {
91
+ "epoch": 0.6038647342995169,
92
+ "eval_loss": 2.064408540725708,
93
+ "eval_runtime": 45.3258,
94
+ "eval_samples_per_second": 16.216,
95
+ "eval_steps_per_second": 4.06,
96
+ "step": 1000
97
+ },
98
+ {
99
+ "epoch": 0.6642512077294686,
100
+ "grad_norm": 0.8023479580879211,
101
+ "learning_rate": 0.0003973911257189811,
102
+ "loss": 2.0594,
103
+ "step": 1100
104
+ },
105
+ {
106
+ "epoch": 0.7246376811594203,
107
+ "grad_norm": 0.9348495602607727,
108
+ "learning_rate": 0.00038711996713229255,
109
+ "loss": 1.9706,
110
+ "step": 1200
111
+ },
112
+ {
113
+ "epoch": 0.785024154589372,
114
+ "grad_norm": 0.8656277060508728,
115
+ "learning_rate": 0.00037684880854560394,
116
+ "loss": 2.0194,
117
+ "step": 1300
118
+ },
119
+ {
120
+ "epoch": 0.8454106280193237,
121
+ "grad_norm": 0.899181067943573,
122
+ "learning_rate": 0.00036657764995891534,
123
+ "loss": 2.0178,
124
+ "step": 1400
125
+ },
126
+ {
127
+ "epoch": 0.9057971014492754,
128
+ "grad_norm": 0.9141527414321899,
129
+ "learning_rate": 0.0003563064913722268,
130
+ "loss": 2.0371,
131
+ "step": 1500
132
+ },
133
+ {
134
+ "epoch": 0.9057971014492754,
135
+ "eval_loss": 2.055431365966797,
136
+ "eval_runtime": 45.3915,
137
+ "eval_samples_per_second": 16.192,
138
+ "eval_steps_per_second": 4.054,
139
+ "step": 1500
140
+ },
141
+ {
142
+ "epoch": 0.966183574879227,
143
+ "grad_norm": 1.0180304050445557,
144
+ "learning_rate": 0.00034603533278553824,
145
+ "loss": 2.0254,
146
+ "step": 1600
147
+ },
148
+ {
149
+ "epoch": 1.0265700483091786,
150
+ "grad_norm": 1.0414997339248657,
151
+ "learning_rate": 0.00033576417419884963,
152
+ "loss": 1.9749,
153
+ "step": 1700
154
+ },
155
+ {
156
+ "epoch": 1.0869565217391304,
157
+ "grad_norm": 1.15347421169281,
158
+ "learning_rate": 0.00032549301561216103,
159
+ "loss": 1.7882,
160
+ "step": 1800
161
+ },
162
+ {
163
+ "epoch": 1.1473429951690821,
164
+ "grad_norm": 1.247313141822815,
165
+ "learning_rate": 0.0003152218570254725,
166
+ "loss": 1.8447,
167
+ "step": 1900
168
+ },
169
+ {
170
+ "epoch": 1.2077294685990339,
171
+ "grad_norm": 1.1481050252914429,
172
+ "learning_rate": 0.0003049506984387839,
173
+ "loss": 1.8997,
174
+ "step": 2000
175
+ },
176
+ {
177
+ "epoch": 1.2077294685990339,
178
+ "eval_loss": 2.066617727279663,
179
+ "eval_runtime": 45.5973,
180
+ "eval_samples_per_second": 16.119,
181
+ "eval_steps_per_second": 4.035,
182
+ "step": 2000
183
+ },
184
+ {
185
+ "epoch": 1.2681159420289856,
186
+ "grad_norm": 1.1704497337341309,
187
+ "learning_rate": 0.0002946795398520953,
188
+ "loss": 1.8558,
189
+ "step": 2100
190
+ },
191
+ {
192
+ "epoch": 1.3285024154589373,
193
+ "grad_norm": 1.0295543670654297,
194
+ "learning_rate": 0.00028440838126540677,
195
+ "loss": 1.8212,
196
+ "step": 2200
197
+ },
198
+ {
199
+ "epoch": 1.3888888888888888,
200
+ "grad_norm": 1.4280544519424438,
201
+ "learning_rate": 0.00027413722267871816,
202
+ "loss": 1.8536,
203
+ "step": 2300
204
+ },
205
+ {
206
+ "epoch": 1.4492753623188406,
207
+ "grad_norm": 1.1617194414138794,
208
+ "learning_rate": 0.00026386606409202956,
209
+ "loss": 1.8502,
210
+ "step": 2400
211
+ },
212
+ {
213
+ "epoch": 1.5096618357487923,
214
+ "grad_norm": 1.466346025466919,
215
+ "learning_rate": 0.000253594905505341,
216
+ "loss": 1.8248,
217
+ "step": 2500
218
+ },
219
+ {
220
+ "epoch": 1.5096618357487923,
221
+ "eval_loss": 2.058035135269165,
222
+ "eval_runtime": 45.564,
223
+ "eval_samples_per_second": 16.131,
224
+ "eval_steps_per_second": 4.038,
225
+ "step": 2500
226
+ },
227
+ {
228
+ "epoch": 1.5700483091787438,
229
+ "grad_norm": 1.2693666219711304,
230
+ "learning_rate": 0.0002433237469186524,
231
+ "loss": 1.8562,
232
+ "step": 2600
233
+ },
234
+ {
235
+ "epoch": 1.6304347826086958,
236
+ "grad_norm": 1.1814815998077393,
237
+ "learning_rate": 0.00023305258833196385,
238
+ "loss": 1.7981,
239
+ "step": 2700
240
+ },
241
+ {
242
+ "epoch": 1.6908212560386473,
243
+ "grad_norm": 1.3537830114364624,
244
+ "learning_rate": 0.00022278142974527527,
245
+ "loss": 1.8252,
246
+ "step": 2800
247
+ },
248
+ {
249
+ "epoch": 1.751207729468599,
250
+ "grad_norm": 1.2975963354110718,
251
+ "learning_rate": 0.0002125102711585867,
252
+ "loss": 1.7719,
253
+ "step": 2900
254
+ },
255
+ {
256
+ "epoch": 1.8115942028985508,
257
+ "grad_norm": 1.5528435707092285,
258
+ "learning_rate": 0.00020223911257189812,
259
+ "loss": 1.7948,
260
+ "step": 3000
261
+ },
262
+ {
263
+ "epoch": 1.8115942028985508,
264
+ "eval_loss": 2.048635482788086,
265
+ "eval_runtime": 45.5817,
266
+ "eval_samples_per_second": 16.125,
267
+ "eval_steps_per_second": 4.037,
268
+ "step": 3000
269
+ },
270
+ {
271
+ "epoch": 1.8719806763285023,
272
+ "grad_norm": 1.17332124710083,
273
+ "learning_rate": 0.00019196795398520951,
274
+ "loss": 1.7871,
275
+ "step": 3100
276
+ },
277
+ {
278
+ "epoch": 1.9323671497584543,
279
+ "grad_norm": 1.4665601253509521,
280
+ "learning_rate": 0.00018169679539852096,
281
+ "loss": 1.7505,
282
+ "step": 3200
283
+ },
284
+ {
285
+ "epoch": 1.9927536231884058,
286
+ "grad_norm": 1.540218472480774,
287
+ "learning_rate": 0.00017142563681183238,
288
+ "loss": 1.7851,
289
+ "step": 3300
290
+ },
291
+ {
292
+ "epoch": 2.0531400966183573,
293
+ "grad_norm": 1.7435839176177979,
294
+ "learning_rate": 0.00016115447822514378,
295
+ "loss": 1.627,
296
+ "step": 3400
297
+ },
298
+ {
299
+ "epoch": 2.1135265700483092,
300
+ "grad_norm": 1.6157972812652588,
301
+ "learning_rate": 0.00015088331963845523,
302
+ "loss": 1.4929,
303
+ "step": 3500
304
+ },
305
+ {
306
+ "epoch": 2.1135265700483092,
307
+ "eval_loss": 2.0852222442626953,
308
+ "eval_runtime": 45.5366,
309
+ "eval_samples_per_second": 16.141,
310
+ "eval_steps_per_second": 4.041,
311
+ "step": 3500
312
+ },
313
+ {
314
+ "epoch": 2.1739130434782608,
315
+ "grad_norm": 1.6053498983383179,
316
+ "learning_rate": 0.00014061216105176662,
317
+ "loss": 1.5793,
318
+ "step": 3600
319
+ },
320
+ {
321
+ "epoch": 2.2342995169082127,
322
+ "grad_norm": 1.8563237190246582,
323
+ "learning_rate": 0.00013034100246507807,
324
+ "loss": 1.6087,
325
+ "step": 3700
326
+ },
327
+ {
328
+ "epoch": 2.2946859903381642,
329
+ "grad_norm": 1.5959372520446777,
330
+ "learning_rate": 0.00012006984387838948,
331
+ "loss": 1.5558,
332
+ "step": 3800
333
+ },
334
+ {
335
+ "epoch": 2.355072463768116,
336
+ "grad_norm": 1.7335354089736938,
337
+ "learning_rate": 0.0001097986852917009,
338
+ "loss": 1.5653,
339
+ "step": 3900
340
+ },
341
+ {
342
+ "epoch": 2.4154589371980677,
343
+ "grad_norm": 1.939560890197754,
344
+ "learning_rate": 9.952752670501234e-05,
345
+ "loss": 1.5306,
346
+ "step": 4000
347
+ },
348
+ {
349
+ "epoch": 2.4154589371980677,
350
+ "eval_loss": 2.0776526927948,
351
+ "eval_runtime": 45.5747,
352
+ "eval_samples_per_second": 16.127,
353
+ "eval_steps_per_second": 4.037,
354
+ "step": 4000
355
+ },
356
+ {
357
+ "epoch": 2.475845410628019,
358
+ "grad_norm": 1.7609752416610718,
359
+ "learning_rate": 8.925636811832375e-05,
360
+ "loss": 1.5559,
361
+ "step": 4100
362
+ },
363
+ {
364
+ "epoch": 2.536231884057971,
365
+ "grad_norm": 1.9164323806762695,
366
+ "learning_rate": 7.898520953163517e-05,
367
+ "loss": 1.5846,
368
+ "step": 4200
369
+ },
370
+ {
371
+ "epoch": 2.5966183574879227,
372
+ "grad_norm": 2.058566093444824,
373
+ "learning_rate": 6.871405094494659e-05,
374
+ "loss": 1.5144,
375
+ "step": 4300
376
+ },
377
+ {
378
+ "epoch": 2.6570048309178746,
379
+ "grad_norm": 2.0145790576934814,
380
+ "learning_rate": 5.8442892358258013e-05,
381
+ "loss": 1.5349,
382
+ "step": 4400
383
+ },
384
+ {
385
+ "epoch": 2.717391304347826,
386
+ "grad_norm": 1.6486459970474243,
387
+ "learning_rate": 4.8171733771569435e-05,
388
+ "loss": 1.5616,
389
+ "step": 4500
390
+ },
391
+ {
392
+ "epoch": 2.717391304347826,
393
+ "eval_loss": 2.0784645080566406,
394
+ "eval_runtime": 45.5266,
395
+ "eval_samples_per_second": 16.144,
396
+ "eval_steps_per_second": 4.042,
397
+ "step": 4500
398
+ },
399
+ {
400
+ "epoch": 2.7777777777777777,
401
+ "grad_norm": 2.2725300788879395,
402
+ "learning_rate": 3.790057518488085e-05,
403
+ "loss": 1.5013,
404
+ "step": 4600
405
+ },
406
+ {
407
+ "epoch": 2.838164251207729,
408
+ "grad_norm": 1.4655210971832275,
409
+ "learning_rate": 2.762941659819228e-05,
410
+ "loss": 1.4814,
411
+ "step": 4700
412
+ },
413
+ {
414
+ "epoch": 2.898550724637681,
415
+ "grad_norm": 1.7279577255249023,
416
+ "learning_rate": 1.7358258011503698e-05,
417
+ "loss": 1.5341,
418
+ "step": 4800
419
+ },
420
+ {
421
+ "epoch": 2.958937198067633,
422
+ "grad_norm": 2.0700881481170654,
423
+ "learning_rate": 7.087099424815119e-06,
424
+ "loss": 1.543,
425
+ "step": 4900
426
+ }
427
+ ],
428
+ "logging_steps": 100,
429
+ "max_steps": 4968,
430
+ "num_input_tokens_seen": 0,
431
+ "num_train_epochs": 3,
432
+ "save_steps": 500,
433
+ "stateful_callbacks": {
434
+ "TrainerControl": {
435
+ "args": {
436
+ "should_epoch_stop": false,
437
+ "should_evaluate": false,
438
+ "should_log": false,
439
+ "should_save": true,
440
+ "should_training_stop": true
441
+ },
442
+ "attributes": {}
443
+ }
444
+ },
445
+ "total_flos": 2.2210720529330995e+17,
446
+ "train_batch_size": 4,
447
+ "trial_name": null,
448
+ "trial_params": null
449
+ }
Menta/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e830292fc1cbf30fafebaa7e779e51f1bfa8482097117c3bf9dd4db908b3a6e
3
+ size 5841
Menta/vocab.json ADDED
The diff for this file is too large to render. See raw diff