JackyZhuo commited on
Commit
5feb9ad
·
verified ·
1 Parent(s): ff62d79

Upload folder using huggingface_hub

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
+ checkpoint-10080/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
checkpoint-10080/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-VL-3B-Instruct
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
checkpoint-10080/adapter_config.json ADDED
@@ -0,0 +1,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2.5-VL-3B-Instruct",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 128,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "model.layers.16.self_attn.o_proj",
24
+ "model.layers.12.self_attn.o_proj",
25
+ "model.layers.4.self_attn.q_proj",
26
+ "model.layers.5.mlp.down_proj",
27
+ "model.layers.6.self_attn.v_proj",
28
+ "model.layers.5.self_attn.q_proj",
29
+ "model.layers.0.mlp.up_proj",
30
+ "model.layers.2.mlp.gate_proj",
31
+ "model.layers.6.mlp.down_proj",
32
+ "model.layers.11.self_attn.v_proj",
33
+ "model.layers.8.mlp.down_proj",
34
+ "model.layers.33.mlp.gate_proj",
35
+ "model.layers.15.self_attn.v_proj",
36
+ "model.layers.19.mlp.gate_proj",
37
+ "model.layers.15.self_attn.q_proj",
38
+ "model.layers.23.mlp.down_proj",
39
+ "model.layers.34.self_attn.o_proj",
40
+ "model.layers.2.self_attn.q_proj",
41
+ "model.layers.17.self_attn.o_proj",
42
+ "model.layers.0.mlp.down_proj",
43
+ "model.layers.26.self_attn.v_proj",
44
+ "model.layers.18.self_attn.k_proj",
45
+ "model.layers.13.self_attn.k_proj",
46
+ "model.layers.30.self_attn.o_proj",
47
+ "model.layers.24.self_attn.q_proj",
48
+ "model.layers.26.mlp.gate_proj",
49
+ "model.layers.25.mlp.down_proj",
50
+ "model.layers.30.self_attn.q_proj",
51
+ "model.layers.18.mlp.up_proj",
52
+ "model.layers.20.mlp.down_proj",
53
+ "model.layers.0.self_attn.o_proj",
54
+ "model.layers.11.mlp.gate_proj",
55
+ "model.layers.21.self_attn.v_proj",
56
+ "model.layers.0.mlp.gate_proj",
57
+ "model.layers.23.mlp.up_proj",
58
+ "model.layers.27.mlp.up_proj",
59
+ "model.layers.18.self_attn.o_proj",
60
+ "model.layers.19.mlp.down_proj",
61
+ "model.layers.25.self_attn.o_proj",
62
+ "model.layers.0.self_attn.v_proj",
63
+ "model.layers.29.self_attn.q_proj",
64
+ "model.layers.9.self_attn.k_proj",
65
+ "model.layers.3.self_attn.o_proj",
66
+ "model.layers.19.self_attn.v_proj",
67
+ "model.layers.32.self_attn.q_proj",
68
+ "model.layers.9.self_attn.v_proj",
69
+ "model.layers.5.self_attn.o_proj",
70
+ "model.layers.21.mlp.gate_proj",
71
+ "model.layers.7.self_attn.q_proj",
72
+ "model.layers.4.mlp.up_proj",
73
+ "model.layers.5.self_attn.k_proj",
74
+ "model.layers.31.mlp.down_proj",
75
+ "model.layers.21.self_attn.q_proj",
76
+ "model.layers.27.self_attn.q_proj",
77
+ "model.layers.28.mlp.down_proj",
78
+ "model.layers.25.self_attn.q_proj",
79
+ "model.layers.33.self_attn.o_proj",
80
+ "model.layers.29.mlp.up_proj",
81
+ "model.layers.23.self_attn.k_proj",
82
+ "model.layers.2.mlp.up_proj",
83
+ "model.layers.20.self_attn.q_proj",
84
+ "model.layers.8.self_attn.k_proj",
85
+ "model.layers.5.mlp.gate_proj",
86
+ "model.layers.7.mlp.down_proj",
87
+ "model.layers.16.self_attn.v_proj",
88
+ "model.layers.10.mlp.down_proj",
89
+ "model.layers.19.self_attn.k_proj",
90
+ "model.layers.17.mlp.gate_proj",
91
+ "model.layers.35.self_attn.k_proj",
92
+ "model.layers.28.self_attn.k_proj",
93
+ "model.layers.17.mlp.up_proj",
94
+ "model.layers.4.self_attn.v_proj",
95
+ "model.layers.5.self_attn.v_proj",
96
+ "model.layers.13.self_attn.o_proj",
97
+ "model.layers.29.self_attn.v_proj",
98
+ "model.layers.10.self_attn.k_proj",
99
+ "model.layers.23.self_attn.v_proj",
100
+ "model.layers.8.mlp.gate_proj",
101
+ "model.layers.16.self_attn.k_proj",
102
+ "model.layers.34.mlp.down_proj",
103
+ "model.layers.35.self_attn.q_proj",
104
+ "model.layers.12.self_attn.v_proj",
105
+ "model.layers.13.self_attn.q_proj",
106
+ "model.layers.28.mlp.up_proj",
107
+ "model.layers.31.self_attn.q_proj",
108
+ "model.layers.19.mlp.up_proj",
109
+ "model.layers.31.mlp.gate_proj",
110
+ "model.layers.12.mlp.gate_proj",
111
+ "model.layers.9.mlp.up_proj",
112
+ "model.layers.11.self_attn.o_proj",
113
+ "model.layers.9.self_attn.o_proj",
114
+ "model.layers.2.mlp.down_proj",
115
+ "model.layers.28.self_attn.o_proj",
116
+ "model.layers.3.self_attn.k_proj",
117
+ "model.layers.7.mlp.gate_proj",
118
+ "model.layers.30.mlp.down_proj",
119
+ "model.layers.18.self_attn.q_proj",
120
+ "model.layers.7.self_attn.o_proj",
121
+ "model.layers.3.self_attn.q_proj",
122
+ "model.layers.20.self_attn.v_proj",
123
+ "model.layers.6.mlp.up_proj",
124
+ "model.layers.35.mlp.down_proj",
125
+ "model.layers.27.self_attn.k_proj",
126
+ "model.layers.17.self_attn.k_proj",
127
+ "model.layers.3.self_attn.v_proj",
128
+ "model.layers.27.self_attn.o_proj",
129
+ "model.layers.31.self_attn.k_proj",
130
+ "model.layers.7.self_attn.k_proj",
131
+ "model.layers.30.mlp.gate_proj",
132
+ "model.layers.25.self_attn.k_proj",
133
+ "model.layers.2.self_attn.o_proj",
134
+ "model.layers.22.mlp.gate_proj",
135
+ "model.layers.9.mlp.gate_proj",
136
+ "model.layers.33.mlp.down_proj",
137
+ "model.layers.13.mlp.gate_proj",
138
+ "model.layers.15.self_attn.o_proj",
139
+ "model.layers.16.mlp.up_proj",
140
+ "model.layers.17.self_attn.v_proj",
141
+ "model.layers.20.self_attn.o_proj",
142
+ "model.layers.17.mlp.down_proj",
143
+ "model.layers.30.mlp.up_proj",
144
+ "model.layers.27.mlp.down_proj",
145
+ "model.layers.6.mlp.gate_proj",
146
+ "model.layers.8.mlp.up_proj",
147
+ "model.layers.7.mlp.up_proj",
148
+ "model.layers.12.self_attn.k_proj",
149
+ "model.layers.10.mlp.up_proj",
150
+ "model.layers.11.self_attn.k_proj",
151
+ "model.layers.24.self_attn.v_proj",
152
+ "model.layers.12.mlp.up_proj",
153
+ "model.layers.27.self_attn.v_proj",
154
+ "model.layers.0.self_attn.q_proj",
155
+ "model.layers.7.self_attn.v_proj",
156
+ "model.layers.33.self_attn.k_proj",
157
+ "model.layers.20.mlp.gate_proj",
158
+ "model.layers.6.self_attn.k_proj",
159
+ "model.layers.6.self_attn.q_proj",
160
+ "model.layers.8.self_attn.o_proj",
161
+ "model.layers.34.self_attn.q_proj",
162
+ "model.layers.10.self_attn.v_proj",
163
+ "model.layers.11.self_attn.q_proj",
164
+ "model.layers.14.mlp.up_proj",
165
+ "model.layers.3.mlp.down_proj",
166
+ "model.layers.14.mlp.gate_proj",
167
+ "model.layers.1.self_attn.o_proj",
168
+ "model.layers.22.self_attn.v_proj",
169
+ "model.layers.0.self_attn.k_proj",
170
+ "model.layers.20.self_attn.k_proj",
171
+ "model.layers.35.self_attn.o_proj",
172
+ "model.layers.33.mlp.up_proj",
173
+ "model.layers.22.mlp.down_proj",
174
+ "model.layers.22.self_attn.k_proj",
175
+ "model.layers.12.mlp.down_proj",
176
+ "model.layers.5.mlp.up_proj",
177
+ "model.layers.16.mlp.down_proj",
178
+ "model.layers.24.mlp.gate_proj",
179
+ "model.layers.24.mlp.up_proj",
180
+ "model.layers.32.self_attn.v_proj",
181
+ "model.layers.21.self_attn.k_proj",
182
+ "model.layers.11.mlp.down_proj",
183
+ "model.layers.8.self_attn.q_proj",
184
+ "model.layers.27.mlp.gate_proj",
185
+ "model.layers.23.mlp.gate_proj",
186
+ "model.layers.32.self_attn.k_proj",
187
+ "model.layers.34.mlp.gate_proj",
188
+ "model.layers.34.mlp.up_proj",
189
+ "model.layers.8.self_attn.v_proj",
190
+ "model.layers.14.self_attn.k_proj",
191
+ "model.layers.13.self_attn.v_proj",
192
+ "model.layers.14.mlp.down_proj",
193
+ "model.layers.15.mlp.gate_proj",
194
+ "model.layers.1.mlp.down_proj",
195
+ "model.layers.21.mlp.up_proj",
196
+ "model.layers.32.self_attn.o_proj",
197
+ "model.layers.22.self_attn.o_proj",
198
+ "model.layers.31.self_attn.o_proj",
199
+ "model.layers.15.self_attn.k_proj",
200
+ "model.layers.23.self_attn.o_proj",
201
+ "model.layers.26.self_attn.o_proj",
202
+ "model.layers.25.mlp.up_proj",
203
+ "model.layers.1.mlp.up_proj",
204
+ "model.layers.1.self_attn.q_proj",
205
+ "model.layers.28.self_attn.q_proj",
206
+ "model.layers.23.self_attn.q_proj",
207
+ "model.layers.35.self_attn.v_proj",
208
+ "model.layers.1.mlp.gate_proj",
209
+ "model.layers.26.mlp.up_proj",
210
+ "model.layers.29.mlp.down_proj",
211
+ "model.layers.25.self_attn.v_proj",
212
+ "model.layers.10.self_attn.q_proj",
213
+ "model.layers.16.self_attn.q_proj",
214
+ "model.layers.1.self_attn.v_proj",
215
+ "model.layers.20.mlp.up_proj",
216
+ "model.layers.6.self_attn.o_proj",
217
+ "model.layers.10.mlp.gate_proj",
218
+ "model.layers.21.self_attn.o_proj",
219
+ "model.layers.24.mlp.down_proj",
220
+ "model.layers.19.self_attn.q_proj",
221
+ "model.layers.26.self_attn.k_proj",
222
+ "model.layers.13.mlp.down_proj",
223
+ "model.layers.22.self_attn.q_proj",
224
+ "model.layers.16.mlp.gate_proj",
225
+ "model.layers.31.self_attn.v_proj",
226
+ "model.layers.29.self_attn.o_proj",
227
+ "model.layers.2.self_attn.v_proj",
228
+ "model.layers.32.mlp.down_proj",
229
+ "model.layers.18.mlp.down_proj",
230
+ "model.layers.33.self_attn.v_proj",
231
+ "model.layers.28.self_attn.v_proj",
232
+ "model.layers.21.mlp.down_proj",
233
+ "model.layers.30.self_attn.v_proj",
234
+ "model.layers.9.mlp.down_proj",
235
+ "model.layers.35.mlp.gate_proj",
236
+ "model.layers.18.self_attn.v_proj",
237
+ "model.layers.15.mlp.down_proj",
238
+ "model.layers.24.self_attn.k_proj",
239
+ "model.layers.18.mlp.gate_proj",
240
+ "model.layers.33.self_attn.q_proj",
241
+ "model.layers.3.mlp.gate_proj",
242
+ "model.layers.14.self_attn.q_proj",
243
+ "model.layers.29.mlp.gate_proj",
244
+ "model.layers.30.self_attn.k_proj",
245
+ "model.layers.15.mlp.up_proj",
246
+ "model.layers.1.self_attn.k_proj",
247
+ "model.layers.22.mlp.up_proj",
248
+ "model.layers.32.mlp.up_proj",
249
+ "model.layers.26.self_attn.q_proj",
250
+ "model.layers.4.self_attn.o_proj",
251
+ "model.layers.14.self_attn.o_proj",
252
+ "model.layers.19.self_attn.o_proj",
253
+ "model.layers.28.mlp.gate_proj",
254
+ "model.layers.29.self_attn.k_proj",
255
+ "model.layers.14.self_attn.v_proj",
256
+ "model.layers.32.mlp.gate_proj",
257
+ "model.layers.34.self_attn.v_proj",
258
+ "model.layers.31.mlp.up_proj",
259
+ "model.layers.17.self_attn.q_proj",
260
+ "model.layers.25.mlp.gate_proj",
261
+ "model.layers.4.mlp.gate_proj",
262
+ "model.layers.35.mlp.up_proj",
263
+ "model.layers.13.mlp.up_proj",
264
+ "model.layers.9.self_attn.q_proj",
265
+ "model.layers.24.self_attn.o_proj",
266
+ "model.layers.11.mlp.up_proj",
267
+ "model.layers.12.self_attn.q_proj",
268
+ "model.layers.26.mlp.down_proj",
269
+ "model.layers.3.mlp.up_proj",
270
+ "model.layers.4.self_attn.k_proj",
271
+ "model.layers.34.self_attn.k_proj",
272
+ "model.layers.10.self_attn.o_proj",
273
+ "model.layers.4.mlp.down_proj",
274
+ "model.layers.2.self_attn.k_proj"
275
+ ],
276
+ "task_type": "CAUSAL_LM",
277
+ "use_dora": false,
278
+ "use_rslora": false
279
+ }
checkpoint-10080/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88c931eba2c97514cde814b9785356a563e3bcd1dc6486d33fba85fa1de40e30
3
+ size 1481986344
checkpoint-10080/model_config.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_config": {
3
+ "meta_data": "/mnt/petrelfs/zhuole/data/preference_pairs.json",
4
+ "data_dir": "/path/to/dataset",
5
+ "meta_data_test": null,
6
+ "max_frame_pixels": 1003520,
7
+ "num_frames": null,
8
+ "fps": 2.0,
9
+ "p_shuffle_frames": 0.0,
10
+ "p_color_jitter": 0.0,
11
+ "eval_dim": [
12
+ "VQ"
13
+ ],
14
+ "prompt_template_type": "detailed_special",
15
+ "add_noise": false,
16
+ "sample_type": "uniform",
17
+ "use_tied_data": false
18
+ },
19
+ "training_args": {
20
+ "output_dir": "rm_output",
21
+ "overwrite_output_dir": false,
22
+ "do_train": false,
23
+ "do_eval": true,
24
+ "do_predict": false,
25
+ "eval_strategy": "steps",
26
+ "prediction_loss_only": false,
27
+ "per_device_train_batch_size": 1,
28
+ "per_device_eval_batch_size": 4,
29
+ "per_gpu_train_batch_size": null,
30
+ "per_gpu_eval_batch_size": null,
31
+ "gradient_accumulation_steps": 4,
32
+ "eval_accumulation_steps": null,
33
+ "eval_delay": 0,
34
+ "torch_empty_cache_steps": null,
35
+ "learning_rate": 2e-06,
36
+ "weight_decay": 0.0,
37
+ "adam_beta1": 0.9,
38
+ "adam_beta2": 0.999,
39
+ "adam_epsilon": 1e-08,
40
+ "max_grad_norm": 1.0,
41
+ "num_train_epochs": 3.0,
42
+ "max_steps": -1,
43
+ "lr_scheduler_type": "constant_with_warmup",
44
+ "lr_scheduler_kwargs": {},
45
+ "warmup_ratio": 0.05,
46
+ "warmup_steps": 0,
47
+ "log_level": "passive",
48
+ "log_level_replica": "warning",
49
+ "log_on_each_node": true,
50
+ "logging_dir": "rm_output/runs/Apr04_05-14-28_SH-IDC1-10-140-0-200",
51
+ "logging_strategy": "steps",
52
+ "logging_first_step": false,
53
+ "logging_steps": 50,
54
+ "logging_nan_inf_filter": true,
55
+ "save_strategy": "steps",
56
+ "save_steps": 1260,
57
+ "save_total_limit": null,
58
+ "save_safetensors": true,
59
+ "save_on_each_node": false,
60
+ "save_only_model": true,
61
+ "restore_callback_states_from_checkpoint": false,
62
+ "no_cuda": false,
63
+ "use_cpu": false,
64
+ "use_mps_device": false,
65
+ "seed": 42,
66
+ "data_seed": null,
67
+ "jit_mode_eval": false,
68
+ "use_ipex": false,
69
+ "bf16": true,
70
+ "fp16": false,
71
+ "fp16_opt_level": "O1",
72
+ "half_precision_backend": "auto",
73
+ "bf16_full_eval": false,
74
+ "fp16_full_eval": false,
75
+ "tf32": null,
76
+ "ddp_backend": null,
77
+ "tpu_num_cores": null,
78
+ "tpu_metrics_debug": false,
79
+ "debug": [],
80
+ "dataloader_drop_last": false,
81
+ "eval_steps": 504,
82
+ "dataloader_num_workers": 8,
83
+ "dataloader_prefetch_factor": null,
84
+ "past_index": -1,
85
+ "run_name": "rm_output",
86
+ "disable_tqdm": false,
87
+ "remove_unused_columns": false,
88
+ "label_names": null,
89
+ "load_best_model_at_end": false,
90
+ "metric_for_best_model": null,
91
+ "greater_is_better": null,
92
+ "ignore_data_skip": false,
93
+ "fsdp": [],
94
+ "fsdp_min_num_params": 0,
95
+ "fsdp_config": {
96
+ "min_num_params": 0,
97
+ "xla": false,
98
+ "xla_fsdp_v2": false,
99
+ "xla_fsdp_grad_ckpt": false
100
+ },
101
+ "tp_size": 0,
102
+ "fsdp_transformer_layer_cls_to_wrap": null,
103
+ "accelerator_config": {
104
+ "split_batches": false,
105
+ "dispatch_batches": null,
106
+ "even_batches": true,
107
+ "use_seedable_sampler": true,
108
+ "non_blocking": false,
109
+ "gradient_accumulation_kwargs": null,
110
+ "use_configured_state": false
111
+ },
112
+ "deepspeed": "ds_config/zero2.json",
113
+ "label_smoothing_factor": 0.0,
114
+ "optim": "adamw_torch",
115
+ "optim_args": null,
116
+ "adafactor": false,
117
+ "group_by_length": false,
118
+ "length_column_name": "length",
119
+ "report_to": [
120
+ "wandb"
121
+ ],
122
+ "ddp_find_unused_parameters": null,
123
+ "ddp_bucket_cap_mb": null,
124
+ "ddp_broadcast_buffers": null,
125
+ "dataloader_pin_memory": true,
126
+ "dataloader_persistent_workers": false,
127
+ "skip_memory_metrics": true,
128
+ "use_legacy_prediction_loop": false,
129
+ "push_to_hub": false,
130
+ "resume_from_checkpoint": null,
131
+ "hub_model_id": null,
132
+ "hub_strategy": "every_save",
133
+ "hub_token": null,
134
+ "hub_private_repo": null,
135
+ "hub_always_push": false,
136
+ "gradient_checkpointing": false,
137
+ "gradient_checkpointing_kwargs": null,
138
+ "include_inputs_for_metrics": false,
139
+ "include_for_metrics": [],
140
+ "eval_do_concat_batches": true,
141
+ "fp16_backend": "auto",
142
+ "evaluation_strategy": null,
143
+ "push_to_hub_model_id": null,
144
+ "push_to_hub_organization": null,
145
+ "push_to_hub_token": null,
146
+ "mp_parameters": "",
147
+ "auto_find_batch_size": false,
148
+ "full_determinism": false,
149
+ "torchdynamo": null,
150
+ "ray_scope": "last",
151
+ "ddp_timeout": 1800,
152
+ "torch_compile": false,
153
+ "torch_compile_backend": null,
154
+ "torch_compile_mode": null,
155
+ "dispatch_batches": null,
156
+ "split_batches": null,
157
+ "include_tokens_per_second": false,
158
+ "include_num_input_tokens_seen": false,
159
+ "neftune_noise_alpha": null,
160
+ "optim_target_modules": null,
161
+ "batch_eval_metrics": false,
162
+ "eval_on_start": false,
163
+ "use_liger_kernel": false,
164
+ "eval_use_gather_object": false,
165
+ "average_tokens_across_devices": false,
166
+ "max_length": 4096,
167
+ "dataset_num_proc": null,
168
+ "center_rewards_coefficient": null,
169
+ "disable_flash_attn2": false,
170
+ "vision_lr": 2e-06,
171
+ "merger_lr": 2e-06,
172
+ "special_token_lr": 2e-06,
173
+ "conduct_eval": true,
174
+ "load_from_pretrained": null,
175
+ "load_from_pretrained_step": null,
176
+ "logging_epochs": 0.01,
177
+ "eval_epochs": 0.1,
178
+ "save_epochs": 0.25,
179
+ "save_full_model": false
180
+ },
181
+ "model_config": {
182
+ "model_name_or_path": "Qwen/Qwen2.5-VL-3B-Instruct",
183
+ "model_revision": "main",
184
+ "output_dim": 1,
185
+ "use_special_tokens": true,
186
+ "freeze_vision_tower": false,
187
+ "freeze_llm": false,
188
+ "tune_merger": true,
189
+ "torch_dtype": "bfloat16",
190
+ "trust_remote_code": false,
191
+ "attn_implementation": null,
192
+ "load_in_8bit": false,
193
+ "load_in_4bit": false,
194
+ "bnb_4bit_quant_type": "nf4",
195
+ "use_bnb_nested_quant": false,
196
+ "reward_token": "special",
197
+ "loss_type": "btt"
198
+ },
199
+ "peft_lora_config": {
200
+ "lora_enable": true,
201
+ "vision_lora": false,
202
+ "lora_r": 64,
203
+ "lora_alpha": 128,
204
+ "lora_dropout": 0.05,
205
+ "lora_target_modules": null,
206
+ "lora_namespan_exclude": [
207
+ "lm_head",
208
+ "rm_head",
209
+ "embed_tokens",
210
+ "visual"
211
+ ],
212
+ "lora_modules_to_save": null,
213
+ "lora_task_type": "CAUSAL_LM",
214
+ "use_rslora": false,
215
+ "num_lora_modules": -1
216
+ }
217
+ }
checkpoint-10080/non_lora_state_dict.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:361b3d41686dafcc5ed8d0ea35ff53b2cff528d88cdaa9cb235c242f5b4eef11
3
+ size 1958730034
checkpoint-10080/tokenizer/added_tokens.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|VQ_reward|>": 151665,
5
+ "<|box_end|>": 151649,
6
+ "<|box_start|>": 151648,
7
+ "<|endoftext|>": 151643,
8
+ "<|file_sep|>": 151664,
9
+ "<|fim_middle|>": 151660,
10
+ "<|fim_pad|>": 151662,
11
+ "<|fim_prefix|>": 151659,
12
+ "<|fim_suffix|>": 151661,
13
+ "<|im_end|>": 151645,
14
+ "<|im_start|>": 151644,
15
+ "<|image_pad|>": 151655,
16
+ "<|object_ref_end|>": 151647,
17
+ "<|object_ref_start|>": 151646,
18
+ "<|quad_end|>": 151651,
19
+ "<|quad_start|>": 151650,
20
+ "<|repo_name|>": 151663,
21
+ "<|video_pad|>": 151656,
22
+ "<|vision_end|>": 151653,
23
+ "<|vision_pad|>": 151654,
24
+ "<|vision_start|>": 151652
25
+ }
checkpoint-10080/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-10080/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<|VQ_reward|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ }
10
+ ],
11
+ "eos_token": {
12
+ "content": "<|im_end|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "pad_token": {
19
+ "content": "<|endoftext|>",
20
+ "lstrip": false,
21
+ "normalized": false,
22
+ "rstrip": false,
23
+ "single_word": false
24
+ }
25
+ }
checkpoint-10080/tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8be5e8383b3f0bdd49f8044d590ca09c71538b142fbbdbeb6c93d4909fa045b0
3
+ size 11422086
checkpoint-10080/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|VQ_reward|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ }
189
+ },
190
+ "additional_special_tokens": [
191
+ "<|VQ_reward|>"
192
+ ],
193
+ "bos_token": null,
194
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- '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 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",
195
+ "clean_up_tokenization_spaces": false,
196
+ "eos_token": "<|im_end|>",
197
+ "errors": "replace",
198
+ "extra_special_tokens": {},
199
+ "model_max_length": 131072,
200
+ "pad_token": "<|endoftext|>",
201
+ "padding_side": "right",
202
+ "split_special_tokens": false,
203
+ "tokenizer_class": "Qwen2Tokenizer",
204
+ "unk_token": null
205
+ }
checkpoint-10080/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-10080/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d62a2bbdd1c4a3e926574e52297c984e2028e692e0e418cbf54ce72de6246675
3
+ size 6968