shrijayan commited on
Commit
ecc679d
·
verified ·
1 Parent(s): b37cf8d

Upload 8 files

Browse files
README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/phi-2
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.13.2
adapter_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/phi-2",
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": 32,
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": 32,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "k_proj",
24
+ "dense",
25
+ "q_proj",
26
+ "v_proj"
27
+ ],
28
+ "task_type": "CAUSAL_LM",
29
+ "use_dora": false,
30
+ "use_rslora": false
31
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8416235a191eab858af515f6619d5977a0b0a8d627b50950bd9f4b9d8ee458f6
3
+ size 83920464
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:367ff1289a5f73d75499021c1b5d4a9376e6ddb529240e80c5ed769dc533a215
3
+ size 42900052
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a57940070b0aebb332434cb45c62feca83511526dd762d8ddd7314ee75af004b
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7b5bf190dc871967c45091d9f1ab233b2d2ed62baca21fee5dfedb5718ffa5d
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.3337505214851898,
5
+ "eval_steps": 500,
6
+ "global_step": 1000,
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.008343763037129746,
13
+ "grad_norm": 0.7562159895896912,
14
+ "learning_rate": 0.0001951951951951952,
15
+ "loss": 1.9181,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.016687526074259492,
20
+ "grad_norm": 0.8098325133323669,
21
+ "learning_rate": 0.0001901901901901902,
22
+ "loss": 1.1849,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 0.025031289111389236,
27
+ "grad_norm": 0.3777216374874115,
28
+ "learning_rate": 0.0001851851851851852,
29
+ "loss": 1.6916,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 0.033375052148518984,
34
+ "grad_norm": 0.5206697583198547,
35
+ "learning_rate": 0.00018018018018018018,
36
+ "loss": 1.1422,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 0.041718815185648725,
41
+ "grad_norm": 0.38817787170410156,
42
+ "learning_rate": 0.0001751751751751752,
43
+ "loss": 1.6667,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 0.05006257822277847,
48
+ "grad_norm": 0.6388385891914368,
49
+ "learning_rate": 0.0001701701701701702,
50
+ "loss": 1.2033,
51
+ "step": 150
52
+ },
53
+ {
54
+ "epoch": 0.05840634125990822,
55
+ "grad_norm": 0.4120958149433136,
56
+ "learning_rate": 0.00016516516516516518,
57
+ "loss": 1.725,
58
+ "step": 175
59
+ },
60
+ {
61
+ "epoch": 0.06675010429703797,
62
+ "grad_norm": 0.46837368607521057,
63
+ "learning_rate": 0.00016016016016016018,
64
+ "loss": 1.065,
65
+ "step": 200
66
+ },
67
+ {
68
+ "epoch": 0.07509386733416772,
69
+ "grad_norm": 0.4679395854473114,
70
+ "learning_rate": 0.00015515515515515516,
71
+ "loss": 1.7601,
72
+ "step": 225
73
+ },
74
+ {
75
+ "epoch": 0.08343763037129745,
76
+ "grad_norm": 0.380135178565979,
77
+ "learning_rate": 0.00015015015015015014,
78
+ "loss": 1.0251,
79
+ "step": 250
80
+ },
81
+ {
82
+ "epoch": 0.0917813934084272,
83
+ "grad_norm": 0.3675175905227661,
84
+ "learning_rate": 0.00014514514514514515,
85
+ "loss": 1.6459,
86
+ "step": 275
87
+ },
88
+ {
89
+ "epoch": 0.10012515644555695,
90
+ "grad_norm": 0.48725131154060364,
91
+ "learning_rate": 0.00014014014014014013,
92
+ "loss": 1.0373,
93
+ "step": 300
94
+ },
95
+ {
96
+ "epoch": 0.1084689194826867,
97
+ "grad_norm": 0.42459967732429504,
98
+ "learning_rate": 0.00013513513513513514,
99
+ "loss": 1.6939,
100
+ "step": 325
101
+ },
102
+ {
103
+ "epoch": 0.11681268251981644,
104
+ "grad_norm": 0.44615626335144043,
105
+ "learning_rate": 0.00013013013013013014,
106
+ "loss": 1.1265,
107
+ "step": 350
108
+ },
109
+ {
110
+ "epoch": 0.1251564455569462,
111
+ "grad_norm": 0.3729555904865265,
112
+ "learning_rate": 0.00012512512512512512,
113
+ "loss": 1.7411,
114
+ "step": 375
115
+ },
116
+ {
117
+ "epoch": 0.13350020859407594,
118
+ "grad_norm": 0.42633363604545593,
119
+ "learning_rate": 0.00012012012012012013,
120
+ "loss": 1.1436,
121
+ "step": 400
122
+ },
123
+ {
124
+ "epoch": 0.14184397163120568,
125
+ "grad_norm": 0.4313684105873108,
126
+ "learning_rate": 0.00011511511511511512,
127
+ "loss": 1.6521,
128
+ "step": 425
129
+ },
130
+ {
131
+ "epoch": 0.15018773466833543,
132
+ "grad_norm": 0.3195270597934723,
133
+ "learning_rate": 0.00011011011011011012,
134
+ "loss": 0.984,
135
+ "step": 450
136
+ },
137
+ {
138
+ "epoch": 0.15853149770546515,
139
+ "grad_norm": 0.279301255941391,
140
+ "learning_rate": 0.00010510510510510511,
141
+ "loss": 1.6523,
142
+ "step": 475
143
+ },
144
+ {
145
+ "epoch": 0.1668752607425949,
146
+ "grad_norm": 0.32661929726600647,
147
+ "learning_rate": 0.00010010010010010012,
148
+ "loss": 1.0151,
149
+ "step": 500
150
+ },
151
+ {
152
+ "epoch": 0.1668752607425949,
153
+ "eval_loss": 1.5524340867996216,
154
+ "eval_runtime": 511.702,
155
+ "eval_samples_per_second": 2.931,
156
+ "eval_steps_per_second": 0.367,
157
+ "step": 500
158
+ },
159
+ {
160
+ "epoch": 0.17521902377972465,
161
+ "grad_norm": 0.27320751547813416,
162
+ "learning_rate": 9.50950950950951e-05,
163
+ "loss": 1.6524,
164
+ "step": 525
165
+ },
166
+ {
167
+ "epoch": 0.1835627868168544,
168
+ "grad_norm": 0.393206387758255,
169
+ "learning_rate": 9.009009009009009e-05,
170
+ "loss": 0.9658,
171
+ "step": 550
172
+ },
173
+ {
174
+ "epoch": 0.19190654985398414,
175
+ "grad_norm": 0.29037702083587646,
176
+ "learning_rate": 8.50850850850851e-05,
177
+ "loss": 1.6467,
178
+ "step": 575
179
+ },
180
+ {
181
+ "epoch": 0.2002503128911139,
182
+ "grad_norm": 0.3599018156528473,
183
+ "learning_rate": 8.008008008008009e-05,
184
+ "loss": 1.0368,
185
+ "step": 600
186
+ },
187
+ {
188
+ "epoch": 0.20859407592824364,
189
+ "grad_norm": 0.397064208984375,
190
+ "learning_rate": 7.507507507507507e-05,
191
+ "loss": 1.7412,
192
+ "step": 625
193
+ },
194
+ {
195
+ "epoch": 0.2169378389653734,
196
+ "grad_norm": 0.3856523334980011,
197
+ "learning_rate": 7.007007007007007e-05,
198
+ "loss": 1.1053,
199
+ "step": 650
200
+ },
201
+ {
202
+ "epoch": 0.22528160200250313,
203
+ "grad_norm": 0.30977582931518555,
204
+ "learning_rate": 6.506506506506507e-05,
205
+ "loss": 1.7623,
206
+ "step": 675
207
+ },
208
+ {
209
+ "epoch": 0.23362536503963288,
210
+ "grad_norm": 0.4029249846935272,
211
+ "learning_rate": 6.0060060060060066e-05,
212
+ "loss": 1.1681,
213
+ "step": 700
214
+ },
215
+ {
216
+ "epoch": 0.24196912807676263,
217
+ "grad_norm": 0.3093183636665344,
218
+ "learning_rate": 5.505505505505506e-05,
219
+ "loss": 1.7267,
220
+ "step": 725
221
+ },
222
+ {
223
+ "epoch": 0.2503128911138924,
224
+ "grad_norm": 0.45136523246765137,
225
+ "learning_rate": 5.005005005005006e-05,
226
+ "loss": 1.1256,
227
+ "step": 750
228
+ },
229
+ {
230
+ "epoch": 0.2586566541510221,
231
+ "grad_norm": 0.2787851393222809,
232
+ "learning_rate": 4.5045045045045046e-05,
233
+ "loss": 1.7174,
234
+ "step": 775
235
+ },
236
+ {
237
+ "epoch": 0.2670004171881519,
238
+ "grad_norm": 0.33277878165245056,
239
+ "learning_rate": 4.0040040040040046e-05,
240
+ "loss": 0.9848,
241
+ "step": 800
242
+ },
243
+ {
244
+ "epoch": 0.2753441802252816,
245
+ "grad_norm": 0.3014131784439087,
246
+ "learning_rate": 3.503503503503503e-05,
247
+ "loss": 1.6547,
248
+ "step": 825
249
+ },
250
+ {
251
+ "epoch": 0.28368794326241137,
252
+ "grad_norm": 0.27079567313194275,
253
+ "learning_rate": 3.0030030030030033e-05,
254
+ "loss": 1.1372,
255
+ "step": 850
256
+ },
257
+ {
258
+ "epoch": 0.2920317062995411,
259
+ "grad_norm": 0.2874036729335785,
260
+ "learning_rate": 2.502502502502503e-05,
261
+ "loss": 1.7384,
262
+ "step": 875
263
+ },
264
+ {
265
+ "epoch": 0.30037546933667086,
266
+ "grad_norm": 0.38741400837898254,
267
+ "learning_rate": 2.0020020020020023e-05,
268
+ "loss": 1.0731,
269
+ "step": 900
270
+ },
271
+ {
272
+ "epoch": 0.3087192323738006,
273
+ "grad_norm": 0.3522486090660095,
274
+ "learning_rate": 1.5015015015015016e-05,
275
+ "loss": 1.6537,
276
+ "step": 925
277
+ },
278
+ {
279
+ "epoch": 0.3170629954109303,
280
+ "grad_norm": 0.41225603222846985,
281
+ "learning_rate": 1.0010010010010011e-05,
282
+ "loss": 1.0646,
283
+ "step": 950
284
+ },
285
+ {
286
+ "epoch": 0.32540675844806005,
287
+ "grad_norm": 0.33286789059638977,
288
+ "learning_rate": 5.005005005005006e-06,
289
+ "loss": 1.6279,
290
+ "step": 975
291
+ },
292
+ {
293
+ "epoch": 0.3337505214851898,
294
+ "grad_norm": 0.405441552400589,
295
+ "learning_rate": 0.0,
296
+ "loss": 1.0594,
297
+ "step": 1000
298
+ },
299
+ {
300
+ "epoch": 0.3337505214851898,
301
+ "eval_loss": 1.5415141582489014,
302
+ "eval_runtime": 511.169,
303
+ "eval_samples_per_second": 2.934,
304
+ "eval_steps_per_second": 0.368,
305
+ "step": 1000
306
+ }
307
+ ],
308
+ "logging_steps": 25,
309
+ "max_steps": 1000,
310
+ "num_input_tokens_seen": 0,
311
+ "num_train_epochs": 1,
312
+ "save_steps": 250,
313
+ "stateful_callbacks": {
314
+ "TrainerControl": {
315
+ "args": {
316
+ "should_epoch_stop": false,
317
+ "should_evaluate": false,
318
+ "should_log": false,
319
+ "should_save": true,
320
+ "should_training_stop": true
321
+ },
322
+ "attributes": {}
323
+ }
324
+ },
325
+ "total_flos": 1.341797200653312e+16,
326
+ "train_batch_size": 1,
327
+ "trial_name": null,
328
+ "trial_params": null
329
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8664ef8fa8cdfee0851daa8a862bb59831c5f962a3f8a2c2cd11b610391e69e2
3
+ size 5176