bluuluu commited on
Commit
ff536ee
·
verified ·
1 Parent(s): c2027de

Model save

Browse files
README.md CHANGED
@@ -1,19 +1,14 @@
1
  ---
2
- base_model: Qwen/Qwen2.5-1.5B-Instruct
3
- datasets: HuggingFaceH4/Bespoke-Stratos-17k
4
  library_name: transformers
5
  model_name: Qwen2.5-1.5B-Open-R1-Distill
6
  tags:
7
  - generated_from_trainer
8
- - open-r1
9
- - trl
10
- - sft
11
  licence: license
12
  ---
13
 
14
  # Model Card for Qwen2.5-1.5B-Open-R1-Distill
15
 
16
- This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) on the [HuggingFaceH4/Bespoke-Stratos-17k](https://huggingface.co/datasets/HuggingFaceH4/Bespoke-Stratos-17k) dataset.
17
  It has been trained using [TRL](https://github.com/huggingface/trl).
18
 
19
  ## Quick start
@@ -29,7 +24,7 @@ print(output["generated_text"])
29
 
30
  ## Training procedure
31
 
32
- [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/2741919970-hustvl/huggingface/runs/8v0s3ur8)
33
 
34
 
35
  This model was trained with SFT.
 
1
  ---
 
 
2
  library_name: transformers
3
  model_name: Qwen2.5-1.5B-Open-R1-Distill
4
  tags:
5
  - generated_from_trainer
 
 
 
6
  licence: license
7
  ---
8
 
9
  # Model Card for Qwen2.5-1.5B-Open-R1-Distill
10
 
11
+ This model is a fine-tuned version of [None](https://huggingface.co/None).
12
  It has been trained using [TRL](https://github.com/huggingface/trl).
13
 
14
  ## Quick start
 
24
 
25
  ## Training procedure
26
 
27
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/2741919970-hustvl/huggingface/runs/kmc58nu5)
28
 
29
 
30
  This model was trained with SFT.
all_results.json CHANGED
@@ -1,13 +1,8 @@
1
  {
2
- "eval_loss": 0.7947947978973389,
3
- "eval_runtime": 27.9803,
4
- "eval_samples": 100,
5
- "eval_samples_per_second": 9.185,
6
- "eval_steps_per_second": 1.179,
7
- "total_flos": 76959556042752.0,
8
- "train_loss": 0.8068137678457665,
9
- "train_runtime": 18078.9101,
10
  "train_samples": 16610,
11
- "train_samples_per_second": 2.392,
12
- "train_steps_per_second": 0.075
13
  }
 
1
  {
2
+ "total_flos": 0.0,
3
+ "train_loss": 0.984842965855427,
4
+ "train_runtime": 39952.7795,
 
 
 
 
 
5
  "train_samples": 16610,
6
+ "train_samples_per_second": 3.298,
7
+ "train_steps_per_second": 0.103
8
  }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f02c925bf03bb323f85ea2ca3bbbcc6277a912ae0dd38ad8ed4a857b8d2a6d51
3
+ size 2687651730
special_tokens_map.json CHANGED
@@ -1,25 +1,24 @@
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": "<|im_end|>"
 
 
 
 
 
 
 
25
  }
 
1
  {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
 
 
 
 
 
 
 
 
9
  "eos_token": {
10
+ "content": "<|endoftext|>",
11
  "lstrip": false,
12
  "normalized": false,
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
  }
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
- size 11421896
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4c0d99d84af59e9126913fafe5210822963e9a3065ee43e6833b358b0c2f825
3
+ size 3564303
tokenizer_config.json CHANGED
@@ -1,8 +1,9 @@
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,
@@ -10,199 +11,206 @@
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
  },
182
- "additional_special_tokens": [
183
- "<|im_start|>",
184
- "<|im_end|>",
185
- "<|object_ref_start|>",
186
- "<|object_ref_end|>",
187
- "<|box_start|>",
188
- "<|box_end|>",
189
- "<|quad_start|>",
190
- "<|quad_end|>",
191
- "<|vision_start|>",
192
- "<|vision_end|>",
193
- "<|vision_pad|>",
194
- "<|image_pad|>",
195
- "<|video_pad|>"
196
- ],
197
- "bos_token": null,
198
- "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# 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>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
199
  "clean_up_tokenization_spaces": false,
200
- "eos_token": "<|im_end|>",
201
- "errors": "replace",
202
  "extra_special_tokens": {},
203
- "model_max_length": 131072,
204
- "pad_token": "<|im_end|>",
205
- "split_special_tokens": false,
206
- "tokenizer_class": "Qwen2Tokenizer",
207
- "unk_token": null
208
  }
 
1
  {
2
  "add_bos_token": false,
3
+ "add_eos_token": false,
4
  "add_prefix_space": false,
5
  "added_tokens_decoder": {
6
+ "0": {
7
  "content": "<|endoftext|>",
8
  "lstrip": false,
9
  "normalized": false,
 
11
  "single_word": false,
12
  "special": true
13
  },
14
+ "1": {
15
+ "content": "<|padding|>",
16
  "lstrip": false,
17
  "normalized": false,
18
  "rstrip": false,
19
  "single_word": false,
20
  "special": true
21
  },
22
+ "50254": {
23
+ "content": " ",
24
  "lstrip": false,
25
+ "normalized": true,
26
  "rstrip": false,
27
  "single_word": false,
28
+ "special": false
29
  },
30
+ "50255": {
31
+ "content": " ",
32
  "lstrip": false,
33
+ "normalized": true,
34
  "rstrip": false,
35
  "single_word": false,
36
+ "special": false
37
  },
38
+ "50256": {
39
+ "content": " ",
40
  "lstrip": false,
41
+ "normalized": true,
42
  "rstrip": false,
43
  "single_word": false,
44
+ "special": false
45
  },
46
+ "50257": {
47
+ "content": " ",
48
  "lstrip": false,
49
+ "normalized": true,
50
  "rstrip": false,
51
  "single_word": false,
52
+ "special": false
53
  },
54
+ "50258": {
55
+ "content": " ",
56
  "lstrip": false,
57
+ "normalized": true,
58
  "rstrip": false,
59
  "single_word": false,
60
+ "special": false
61
  },
62
+ "50259": {
63
+ "content": " ",
64
  "lstrip": false,
65
+ "normalized": true,
66
  "rstrip": false,
67
  "single_word": false,
68
+ "special": false
69
  },
70
+ "50260": {
71
+ "content": " ",
72
  "lstrip": false,
73
+ "normalized": true,
74
  "rstrip": false,
75
  "single_word": false,
76
+ "special": false
77
  },
78
+ "50261": {
79
+ "content": " ",
80
  "lstrip": false,
81
+ "normalized": true,
82
  "rstrip": false,
83
  "single_word": false,
84
+ "special": false
85
  },
86
+ "50262": {
87
+ "content": " ",
88
  "lstrip": false,
89
+ "normalized": true,
90
  "rstrip": false,
91
  "single_word": false,
92
+ "special": false
93
  },
94
+ "50263": {
95
+ "content": " ",
96
  "lstrip": false,
97
+ "normalized": true,
98
  "rstrip": false,
99
  "single_word": false,
100
+ "special": false
101
  },
102
+ "50264": {
103
+ "content": " ",
104
  "lstrip": false,
105
+ "normalized": true,
106
  "rstrip": false,
107
  "single_word": false,
108
+ "special": false
109
  },
110
+ "50265": {
111
+ "content": " ",
112
  "lstrip": false,
113
+ "normalized": true,
114
  "rstrip": false,
115
  "single_word": false,
116
+ "special": false
117
  },
118
+ "50266": {
119
+ "content": " ",
120
  "lstrip": false,
121
+ "normalized": true,
122
  "rstrip": false,
123
  "single_word": false,
124
  "special": false
125
  },
126
+ "50267": {
127
+ "content": " ",
128
  "lstrip": false,
129
+ "normalized": true,
130
  "rstrip": false,
131
  "single_word": false,
132
  "special": false
133
  },
134
+ "50268": {
135
+ "content": " ",
136
  "lstrip": false,
137
+ "normalized": true,
138
  "rstrip": false,
139
  "single_word": false,
140
  "special": false
141
  },
142
+ "50269": {
143
+ "content": " ",
144
  "lstrip": false,
145
+ "normalized": true,
146
  "rstrip": false,
147
  "single_word": false,
148
  "special": false
149
  },
150
+ "50270": {
151
+ "content": " ",
152
  "lstrip": false,
153
+ "normalized": true,
154
  "rstrip": false,
155
  "single_word": false,
156
  "special": false
157
  },
158
+ "50271": {
159
+ "content": " ",
160
  "lstrip": false,
161
+ "normalized": true,
162
  "rstrip": false,
163
  "single_word": false,
164
  "special": false
165
  },
166
+ "50272": {
167
+ "content": " ",
168
  "lstrip": false,
169
+ "normalized": true,
170
  "rstrip": false,
171
  "single_word": false,
172
  "special": false
173
  },
174
+ "50273": {
175
+ "content": " ",
176
  "lstrip": false,
177
+ "normalized": true,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ },
182
+ "50274": {
183
+ "content": " ",
184
+ "lstrip": false,
185
+ "normalized": true,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": false
189
+ },
190
+ "50275": {
191
+ "content": " ",
192
+ "lstrip": false,
193
+ "normalized": true,
194
+ "rstrip": false,
195
+ "single_word": false,
196
+ "special": false
197
+ },
198
+ "50276": {
199
+ "content": " ",
200
+ "lstrip": false,
201
+ "normalized": true,
202
  "rstrip": false,
203
  "single_word": false,
204
  "special": false
205
  }
206
  },
207
+ "bos_token": "<|endoftext|>",
208
+ "chat_template": "\n{%- if tools %}\n <|im_start|>system\n {%- if messages[0]['role'] == 'system' %}\n {{ messages[0]['content'] }}\n {%- else %}\n You are Mamba. You are a helpful assistant.\n {%- endif %}\n <|im_end|>\n <|im_start|>system\n # Tools\n \n You may call one or more functions to assist with the user query.\n You are provided with function signatures within <tools></tools> XML tags:\n <tools>\n {%- for tool in tools %}\n {{ tool | tojson }}\n {%- endfor %}\n </tools>\n \n For 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>\n <|im_end|>\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n <|im_start|>system\n {{ messages[0]['content'] }}\n <|im_end|>\n {%- else %}\n <|im_start|>system\n You are Mamba. You are a helpful assistant.\n <|im_end|>\n {%- endif %}\n{%- endif %}\n\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n <|im_start|>{{ message.role }}\n {{ message.content }}\n <|im_end|>\n {%- elif message.role == \"assistant\" %}\n <|im_start|>assistant\n {%- if message.content %}\n {{ message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n <tool_call>\n {\"name\": \"{{ tool_call.name }}\", \"arguments\": {{ tool_call.arguments | tojson }}}\n </tool_call>\n {%- endfor %}\n <|im_end|>\n {%- elif message.role == \"tool\" %}\n {%- if loop.index0 == 0 or messages[loop.index0 - 1].role != \"tool\" %}\n <|im_start|>user\n {%- endif %}\n <tool_response>\n {{ message.content }}\n </tool_response>\n {%- if loop.last or messages[loop.index0 + 1].role != \"tool\" %}\n <|im_end|>\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n\n{%- if add_generation_prompt %}\n <|im_start|>assistant\n{%- endif %}\n",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
  "clean_up_tokenization_spaces": false,
210
+ "eos_token": "<|endoftext|>",
 
211
  "extra_special_tokens": {},
212
+ "model_max_length": 1000000000000000019884624838656,
213
+ "pad_token": "<|endoftext|>",
214
+ "tokenizer_class": "GPTNeoXTokenizer",
215
+ "unk_token": "<|endoftext|>"
 
216
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "total_flos": 76959556042752.0,
3
- "train_loss": 0.8068137678457665,
4
- "train_runtime": 18078.9101,
5
  "train_samples": 16610,
6
- "train_samples_per_second": 2.392,
7
- "train_steps_per_second": 0.075
8
  }
 
1
  {
2
+ "total_flos": 0.0,
3
+ "train_loss": 0.984842965855427,
4
+ "train_runtime": 39952.7795,
5
  "train_samples": 16610,
6
+ "train_samples_per_second": 3.298,
7
+ "train_steps_per_second": 0.103
8
  }
trainer_state.json CHANGED
The diff for this file is too large to render. See raw diff
 
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3d60e2086dd88927d46a3ffa1d5ec1ab404d991d69e1288db51a9e380ef723a6
3
- size 8632
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e9f85f84709485ec288fc5261a93449e11063558dfd5d1855dd1fb849067490
3
+ size 8376