A2H0H0R1 commited on
Commit
91770ac
1 Parent(s): 81be85e

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Qwen/Qwen-7B-Chat-Int4
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
+
201
+
202
+ ### Framework versions
203
+
204
+ - PEFT 0.7.2.dev0
adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen-7B-Chat-Int4",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 16,
13
+ "lora_dropout": 0.05,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 64,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "c_proj",
23
+ "c_attn",
24
+ "w2",
25
+ "w1"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_rslora": false
29
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa839560453297a8d39091e272e2db43c0731b76ae25dbacd1baff480cb37928
3
+ size 286302920
qwen.tiktoken ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "pad_token": "<|endoftext|>"
3
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {},
3
+ "auto_map": {
4
+ "AutoTokenizer": [
5
+ "Qwen/Qwen-7B-Chat-Int4--tokenization_qwen.QWenTokenizer",
6
+ null
7
+ ]
8
+ },
9
+ "clean_up_tokenization_spaces": true,
10
+ "model_max_length": 2048,
11
+ "pad_token": "<|endoftext|>",
12
+ "padding_side": "right",
13
+ "tokenizer_class": "QWenTokenizer"
14
+ }
trainer_state.json ADDED
@@ -0,0 +1,390 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.948453608247423,
5
+ "eval_steps": 500,
6
+ "global_step": 60,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.08,
13
+ "learning_rate": 0.0,
14
+ "loss": 2.1604,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.16,
19
+ "learning_rate": 0.0003,
20
+ "loss": 1.8622,
21
+ "step": 2
22
+ },
23
+ {
24
+ "epoch": 0.25,
25
+ "learning_rate": 0.0003,
26
+ "loss": 1.9463,
27
+ "step": 3
28
+ },
29
+ {
30
+ "epoch": 0.33,
31
+ "learning_rate": 0.0003,
32
+ "loss": 1.4473,
33
+ "step": 4
34
+ },
35
+ {
36
+ "epoch": 0.41,
37
+ "learning_rate": 0.0003,
38
+ "loss": 1.668,
39
+ "step": 5
40
+ },
41
+ {
42
+ "epoch": 0.49,
43
+ "learning_rate": 0.0003,
44
+ "loss": 1.5916,
45
+ "step": 6
46
+ },
47
+ {
48
+ "epoch": 0.58,
49
+ "learning_rate": 0.0003,
50
+ "loss": 1.5706,
51
+ "step": 7
52
+ },
53
+ {
54
+ "epoch": 0.66,
55
+ "learning_rate": 0.0003,
56
+ "loss": 1.7616,
57
+ "step": 8
58
+ },
59
+ {
60
+ "epoch": 0.74,
61
+ "learning_rate": 0.0003,
62
+ "loss": 1.6622,
63
+ "step": 9
64
+ },
65
+ {
66
+ "epoch": 0.82,
67
+ "learning_rate": 0.0003,
68
+ "loss": 1.7693,
69
+ "step": 10
70
+ },
71
+ {
72
+ "epoch": 0.91,
73
+ "learning_rate": 0.0003,
74
+ "loss": 1.4949,
75
+ "step": 11
76
+ },
77
+ {
78
+ "epoch": 0.99,
79
+ "learning_rate": 0.0003,
80
+ "loss": 1.4915,
81
+ "step": 12
82
+ },
83
+ {
84
+ "epoch": 1.07,
85
+ "learning_rate": 0.0003,
86
+ "loss": 1.1377,
87
+ "step": 13
88
+ },
89
+ {
90
+ "epoch": 1.15,
91
+ "learning_rate": 0.0003,
92
+ "loss": 1.2455,
93
+ "step": 14
94
+ },
95
+ {
96
+ "epoch": 1.24,
97
+ "learning_rate": 0.0003,
98
+ "loss": 1.4614,
99
+ "step": 15
100
+ },
101
+ {
102
+ "epoch": 1.32,
103
+ "learning_rate": 0.0003,
104
+ "loss": 1.3197,
105
+ "step": 16
106
+ },
107
+ {
108
+ "epoch": 1.4,
109
+ "learning_rate": 0.0003,
110
+ "loss": 1.1472,
111
+ "step": 17
112
+ },
113
+ {
114
+ "epoch": 1.48,
115
+ "learning_rate": 0.0003,
116
+ "loss": 1.4865,
117
+ "step": 18
118
+ },
119
+ {
120
+ "epoch": 1.57,
121
+ "learning_rate": 0.0003,
122
+ "loss": 1.0797,
123
+ "step": 19
124
+ },
125
+ {
126
+ "epoch": 1.65,
127
+ "learning_rate": 0.0003,
128
+ "loss": 1.1111,
129
+ "step": 20
130
+ },
131
+ {
132
+ "epoch": 1.73,
133
+ "learning_rate": 0.0003,
134
+ "loss": 1.0739,
135
+ "step": 21
136
+ },
137
+ {
138
+ "epoch": 1.81,
139
+ "learning_rate": 0.0003,
140
+ "loss": 1.055,
141
+ "step": 22
142
+ },
143
+ {
144
+ "epoch": 1.9,
145
+ "learning_rate": 0.0003,
146
+ "loss": 1.1461,
147
+ "step": 23
148
+ },
149
+ {
150
+ "epoch": 1.98,
151
+ "learning_rate": 0.0003,
152
+ "loss": 0.8745,
153
+ "step": 24
154
+ },
155
+ {
156
+ "epoch": 2.06,
157
+ "learning_rate": 0.0003,
158
+ "loss": 0.7532,
159
+ "step": 25
160
+ },
161
+ {
162
+ "epoch": 2.14,
163
+ "learning_rate": 0.0003,
164
+ "loss": 0.7711,
165
+ "step": 26
166
+ },
167
+ {
168
+ "epoch": 2.23,
169
+ "learning_rate": 0.0003,
170
+ "loss": 0.601,
171
+ "step": 27
172
+ },
173
+ {
174
+ "epoch": 2.31,
175
+ "learning_rate": 0.0003,
176
+ "loss": 0.7436,
177
+ "step": 28
178
+ },
179
+ {
180
+ "epoch": 2.39,
181
+ "learning_rate": 0.0003,
182
+ "loss": 0.9629,
183
+ "step": 29
184
+ },
185
+ {
186
+ "epoch": 2.47,
187
+ "learning_rate": 0.0003,
188
+ "loss": 0.7948,
189
+ "step": 30
190
+ },
191
+ {
192
+ "epoch": 2.56,
193
+ "learning_rate": 0.0003,
194
+ "loss": 0.7265,
195
+ "step": 31
196
+ },
197
+ {
198
+ "epoch": 2.64,
199
+ "learning_rate": 0.0003,
200
+ "loss": 0.6751,
201
+ "step": 32
202
+ },
203
+ {
204
+ "epoch": 2.72,
205
+ "learning_rate": 0.0003,
206
+ "loss": 0.6175,
207
+ "step": 33
208
+ },
209
+ {
210
+ "epoch": 2.8,
211
+ "learning_rate": 0.0003,
212
+ "loss": 0.5347,
213
+ "step": 34
214
+ },
215
+ {
216
+ "epoch": 2.89,
217
+ "learning_rate": 0.0003,
218
+ "loss": 0.6743,
219
+ "step": 35
220
+ },
221
+ {
222
+ "epoch": 2.97,
223
+ "learning_rate": 0.0003,
224
+ "loss": 0.5514,
225
+ "step": 36
226
+ },
227
+ {
228
+ "epoch": 3.05,
229
+ "learning_rate": 0.0003,
230
+ "loss": 0.451,
231
+ "step": 37
232
+ },
233
+ {
234
+ "epoch": 3.13,
235
+ "learning_rate": 0.0003,
236
+ "loss": 0.6012,
237
+ "step": 38
238
+ },
239
+ {
240
+ "epoch": 3.22,
241
+ "learning_rate": 0.0003,
242
+ "loss": 0.309,
243
+ "step": 39
244
+ },
245
+ {
246
+ "epoch": 3.3,
247
+ "learning_rate": 0.0003,
248
+ "loss": 0.391,
249
+ "step": 40
250
+ },
251
+ {
252
+ "epoch": 3.38,
253
+ "learning_rate": 0.0003,
254
+ "loss": 0.414,
255
+ "step": 41
256
+ },
257
+ {
258
+ "epoch": 3.46,
259
+ "learning_rate": 0.0003,
260
+ "loss": 0.3751,
261
+ "step": 42
262
+ },
263
+ {
264
+ "epoch": 3.55,
265
+ "learning_rate": 0.0003,
266
+ "loss": 0.2296,
267
+ "step": 43
268
+ },
269
+ {
270
+ "epoch": 3.63,
271
+ "learning_rate": 0.0003,
272
+ "loss": 0.5003,
273
+ "step": 44
274
+ },
275
+ {
276
+ "epoch": 3.71,
277
+ "learning_rate": 0.0003,
278
+ "loss": 0.3704,
279
+ "step": 45
280
+ },
281
+ {
282
+ "epoch": 3.79,
283
+ "learning_rate": 0.0003,
284
+ "loss": 0.4085,
285
+ "step": 46
286
+ },
287
+ {
288
+ "epoch": 3.88,
289
+ "learning_rate": 0.0003,
290
+ "loss": 0.4152,
291
+ "step": 47
292
+ },
293
+ {
294
+ "epoch": 3.96,
295
+ "learning_rate": 0.0003,
296
+ "loss": 0.4042,
297
+ "step": 48
298
+ },
299
+ {
300
+ "epoch": 4.04,
301
+ "learning_rate": 0.0003,
302
+ "loss": 0.2674,
303
+ "step": 49
304
+ },
305
+ {
306
+ "epoch": 4.12,
307
+ "learning_rate": 0.0003,
308
+ "loss": 0.1529,
309
+ "step": 50
310
+ },
311
+ {
312
+ "epoch": 4.21,
313
+ "learning_rate": 0.0003,
314
+ "loss": 0.2256,
315
+ "step": 51
316
+ },
317
+ {
318
+ "epoch": 4.29,
319
+ "learning_rate": 0.0003,
320
+ "loss": 0.2363,
321
+ "step": 52
322
+ },
323
+ {
324
+ "epoch": 4.37,
325
+ "learning_rate": 0.0003,
326
+ "loss": 0.2326,
327
+ "step": 53
328
+ },
329
+ {
330
+ "epoch": 4.45,
331
+ "learning_rate": 0.0003,
332
+ "loss": 0.3368,
333
+ "step": 54
334
+ },
335
+ {
336
+ "epoch": 4.54,
337
+ "learning_rate": 0.0003,
338
+ "loss": 0.1513,
339
+ "step": 55
340
+ },
341
+ {
342
+ "epoch": 4.62,
343
+ "learning_rate": 0.0003,
344
+ "loss": 0.1721,
345
+ "step": 56
346
+ },
347
+ {
348
+ "epoch": 4.7,
349
+ "learning_rate": 0.0003,
350
+ "loss": 0.1693,
351
+ "step": 57
352
+ },
353
+ {
354
+ "epoch": 4.78,
355
+ "learning_rate": 0.0003,
356
+ "loss": 0.5106,
357
+ "step": 58
358
+ },
359
+ {
360
+ "epoch": 4.87,
361
+ "learning_rate": 0.0003,
362
+ "loss": 0.1793,
363
+ "step": 59
364
+ },
365
+ {
366
+ "epoch": 4.95,
367
+ "learning_rate": 0.0003,
368
+ "loss": 0.1768,
369
+ "step": 60
370
+ },
371
+ {
372
+ "epoch": 4.95,
373
+ "step": 60,
374
+ "total_flos": 9032879937945600.0,
375
+ "train_loss": 0.8441792408625285,
376
+ "train_runtime": 6463.9545,
377
+ "train_samples_per_second": 0.15,
378
+ "train_steps_per_second": 0.009
379
+ }
380
+ ],
381
+ "logging_steps": 1.0,
382
+ "max_steps": 60,
383
+ "num_input_tokens_seen": 0,
384
+ "num_train_epochs": 5,
385
+ "save_steps": 1000,
386
+ "total_flos": 9032879937945600.0,
387
+ "train_batch_size": 2,
388
+ "trial_name": null,
389
+ "trial_params": null
390
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98d1cb56359676c833c66a550e64a12ab1ae07caf13ad0a2fc5d4e3b82eef660
3
+ size 6264