MohamedIFQ commited on
Commit
c20df27
1 Parent(s): 2c87c0c

Initial model upload

Browse files
checkpoint-300/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: meta-llama/CodeLlama-7b-hf
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.11.1
checkpoint-300/adapter_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/CodeLlama-7b-hf",
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": 16,
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": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "v_proj",
25
+ "k_proj",
26
+ "q_proj"
27
+ ],
28
+ "task_type": "CAUSAL_LM",
29
+ "use_dora": false,
30
+ "use_rslora": false
31
+ }
checkpoint-300/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92e15304d998397006b561e2a47a8dee0d4eac191e2932215fda9a2ea3776667
3
+ size 67143296
checkpoint-300/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c388a9af4ee6039041980c6d7609454646c5c0d2ae6ef426ea1ca69319c5592
3
+ size 134433530
checkpoint-300/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cccd439b958f0e0eda0e71e7c5c69cdecbdabf48748b0d65221edff89ac4b077
3
+ size 14244
checkpoint-300/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c06099394305ec735a0fc29fd48719c03931a14996759aa393e723301cbb2f3f
3
+ size 1064
checkpoint-300/trainer_state.json ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.21938171982765198,
3
+ "best_model_checkpoint": "plantuml-code-generation/checkpoint-300",
4
+ "epoch": 9.30232558139535,
5
+ "eval_steps": 50,
6
+ "global_step": 300,
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.31007751937984496,
13
+ "grad_norm": NaN,
14
+ "learning_rate": 3.2000000000000005e-05,
15
+ "loss": 5.2132,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.6201550387596899,
20
+ "grad_norm": 8.985054969787598,
21
+ "learning_rate": 7.2e-05,
22
+ "loss": 3.2089,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.9302325581395349,
27
+ "grad_norm": 0.10187079757452011,
28
+ "learning_rate": 0.00011200000000000001,
29
+ "loss": 0.7806,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 1.2403100775193798,
34
+ "grad_norm": 0.10785023868083954,
35
+ "learning_rate": 0.000152,
36
+ "loss": 0.6766,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 1.550387596899225,
41
+ "grad_norm": 0.16855500638484955,
42
+ "learning_rate": 0.000192,
43
+ "loss": 0.5977,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 1.550387596899225,
48
+ "eval_bleu_score": 58.6485,
49
+ "eval_levenshtein_similarity": 0.6472,
50
+ "eval_loss": 0.5428789854049683,
51
+ "eval_runtime": 21.6968,
52
+ "eval_samples_per_second": 11.891,
53
+ "eval_steps_per_second": 1.521,
54
+ "eval_structural_distance": 0.6925,
55
+ "step": 50
56
+ },
57
+ {
58
+ "epoch": 1.8604651162790697,
59
+ "grad_norm": 0.09580887109041214,
60
+ "learning_rate": 0.00019360000000000002,
61
+ "loss": 0.5204,
62
+ "step": 60
63
+ },
64
+ {
65
+ "epoch": 2.1705426356589146,
66
+ "grad_norm": 0.09782849997282028,
67
+ "learning_rate": 0.0001856,
68
+ "loss": 0.4559,
69
+ "step": 70
70
+ },
71
+ {
72
+ "epoch": 2.4806201550387597,
73
+ "grad_norm": 0.16383880376815796,
74
+ "learning_rate": 0.0001776,
75
+ "loss": 0.4082,
76
+ "step": 80
77
+ },
78
+ {
79
+ "epoch": 2.7906976744186047,
80
+ "grad_norm": 0.09721529483795166,
81
+ "learning_rate": 0.0001696,
82
+ "loss": 0.3532,
83
+ "step": 90
84
+ },
85
+ {
86
+ "epoch": 3.10077519379845,
87
+ "grad_norm": 0.12678824365139008,
88
+ "learning_rate": 0.00016160000000000002,
89
+ "loss": 0.3229,
90
+ "step": 100
91
+ },
92
+ {
93
+ "epoch": 3.10077519379845,
94
+ "eval_bleu_score": 67.9654,
95
+ "eval_levenshtein_similarity": 0.7437,
96
+ "eval_loss": 0.3111547529697418,
97
+ "eval_runtime": 21.7177,
98
+ "eval_samples_per_second": 11.88,
99
+ "eval_steps_per_second": 1.519,
100
+ "eval_structural_distance": 0.5332,
101
+ "step": 100
102
+ },
103
+ {
104
+ "epoch": 3.4108527131782944,
105
+ "grad_norm": 0.09589164704084396,
106
+ "learning_rate": 0.00015360000000000002,
107
+ "loss": 0.3155,
108
+ "step": 110
109
+ },
110
+ {
111
+ "epoch": 3.7209302325581395,
112
+ "grad_norm": 0.13837170600891113,
113
+ "learning_rate": 0.00014560000000000002,
114
+ "loss": 0.2995,
115
+ "step": 120
116
+ },
117
+ {
118
+ "epoch": 4.0310077519379846,
119
+ "grad_norm": 0.10599964112043381,
120
+ "learning_rate": 0.00013759999999999998,
121
+ "loss": 0.2918,
122
+ "step": 130
123
+ },
124
+ {
125
+ "epoch": 4.341085271317829,
126
+ "grad_norm": 0.09682385623455048,
127
+ "learning_rate": 0.0001296,
128
+ "loss": 0.26,
129
+ "step": 140
130
+ },
131
+ {
132
+ "epoch": 4.651162790697675,
133
+ "grad_norm": 0.12630213797092438,
134
+ "learning_rate": 0.0001216,
135
+ "loss": 0.2706,
136
+ "step": 150
137
+ },
138
+ {
139
+ "epoch": 4.651162790697675,
140
+ "eval_bleu_score": 71.5314,
141
+ "eval_levenshtein_similarity": 0.7707,
142
+ "eval_loss": 0.26290762424468994,
143
+ "eval_runtime": 21.6797,
144
+ "eval_samples_per_second": 11.901,
145
+ "eval_steps_per_second": 1.522,
146
+ "eval_structural_distance": 0.4633,
147
+ "step": 150
148
+ },
149
+ {
150
+ "epoch": 4.961240310077519,
151
+ "grad_norm": 0.12997351586818695,
152
+ "learning_rate": 0.0001136,
153
+ "loss": 0.2801,
154
+ "step": 160
155
+ },
156
+ {
157
+ "epoch": 5.271317829457364,
158
+ "grad_norm": 0.12334702163934708,
159
+ "learning_rate": 0.0001056,
160
+ "loss": 0.2412,
161
+ "step": 170
162
+ },
163
+ {
164
+ "epoch": 5.5813953488372094,
165
+ "grad_norm": 0.14276793599128723,
166
+ "learning_rate": 9.76e-05,
167
+ "loss": 0.229,
168
+ "step": 180
169
+ },
170
+ {
171
+ "epoch": 5.891472868217054,
172
+ "grad_norm": 0.14187170565128326,
173
+ "learning_rate": 8.960000000000001e-05,
174
+ "loss": 0.2426,
175
+ "step": 190
176
+ },
177
+ {
178
+ "epoch": 6.2015503875969,
179
+ "grad_norm": 0.20206551253795624,
180
+ "learning_rate": 8.16e-05,
181
+ "loss": 0.2548,
182
+ "step": 200
183
+ },
184
+ {
185
+ "epoch": 6.2015503875969,
186
+ "eval_bleu_score": 73.6148,
187
+ "eval_levenshtein_similarity": 0.7889,
188
+ "eval_loss": 0.23503056168556213,
189
+ "eval_runtime": 21.6369,
190
+ "eval_samples_per_second": 11.924,
191
+ "eval_steps_per_second": 1.525,
192
+ "eval_structural_distance": 0.4277,
193
+ "step": 200
194
+ },
195
+ {
196
+ "epoch": 6.511627906976744,
197
+ "grad_norm": 0.14615343511104584,
198
+ "learning_rate": 7.36e-05,
199
+ "loss": 0.226,
200
+ "step": 210
201
+ },
202
+ {
203
+ "epoch": 6.821705426356589,
204
+ "grad_norm": 0.14554168283939362,
205
+ "learning_rate": 6.560000000000001e-05,
206
+ "loss": 0.2152,
207
+ "step": 220
208
+ },
209
+ {
210
+ "epoch": 7.131782945736434,
211
+ "grad_norm": 0.1501888930797577,
212
+ "learning_rate": 5.76e-05,
213
+ "loss": 0.2175,
214
+ "step": 230
215
+ },
216
+ {
217
+ "epoch": 7.441860465116279,
218
+ "grad_norm": 0.2138899862766266,
219
+ "learning_rate": 4.96e-05,
220
+ "loss": 0.2148,
221
+ "step": 240
222
+ },
223
+ {
224
+ "epoch": 7.751937984496124,
225
+ "grad_norm": 0.16335947811603546,
226
+ "learning_rate": 4.16e-05,
227
+ "loss": 0.2159,
228
+ "step": 250
229
+ },
230
+ {
231
+ "epoch": 7.751937984496124,
232
+ "eval_bleu_score": 74.3094,
233
+ "eval_levenshtein_similarity": 0.799,
234
+ "eval_loss": 0.22344815731048584,
235
+ "eval_runtime": 21.6149,
236
+ "eval_samples_per_second": 11.936,
237
+ "eval_steps_per_second": 1.527,
238
+ "eval_structural_distance": 0.411,
239
+ "step": 250
240
+ },
241
+ {
242
+ "epoch": 8.062015503875969,
243
+ "grad_norm": 0.23698154091835022,
244
+ "learning_rate": 3.3600000000000004e-05,
245
+ "loss": 0.2005,
246
+ "step": 260
247
+ },
248
+ {
249
+ "epoch": 8.372093023255815,
250
+ "grad_norm": 0.14778129756450653,
251
+ "learning_rate": 2.5600000000000002e-05,
252
+ "loss": 0.1981,
253
+ "step": 270
254
+ },
255
+ {
256
+ "epoch": 8.682170542635658,
257
+ "grad_norm": 0.15810427069664001,
258
+ "learning_rate": 1.76e-05,
259
+ "loss": 0.2173,
260
+ "step": 280
261
+ },
262
+ {
263
+ "epoch": 8.992248062015504,
264
+ "grad_norm": 0.1843605935573578,
265
+ "learning_rate": 9.600000000000001e-06,
266
+ "loss": 0.1969,
267
+ "step": 290
268
+ },
269
+ {
270
+ "epoch": 9.30232558139535,
271
+ "grad_norm": 0.14364413917064667,
272
+ "learning_rate": 1.6000000000000001e-06,
273
+ "loss": 0.1963,
274
+ "step": 300
275
+ },
276
+ {
277
+ "epoch": 9.30232558139535,
278
+ "eval_bleu_score": 74.7205,
279
+ "eval_levenshtein_similarity": 0.7988,
280
+ "eval_loss": 0.21938171982765198,
281
+ "eval_runtime": 21.6361,
282
+ "eval_samples_per_second": 11.924,
283
+ "eval_steps_per_second": 1.525,
284
+ "eval_structural_distance": 0.4108,
285
+ "step": 300
286
+ }
287
+ ],
288
+ "logging_steps": 10,
289
+ "max_steps": 300,
290
+ "num_input_tokens_seen": 0,
291
+ "num_train_epochs": 10,
292
+ "save_steps": 50,
293
+ "stateful_callbacks": {
294
+ "TrainerControl": {
295
+ "args": {
296
+ "should_epoch_stop": false,
297
+ "should_evaluate": false,
298
+ "should_log": false,
299
+ "should_save": true,
300
+ "should_training_stop": true
301
+ },
302
+ "attributes": {}
303
+ }
304
+ },
305
+ "total_flos": 1.948057685018542e+17,
306
+ "train_batch_size": 8,
307
+ "trial_name": null,
308
+ "trial_params": null
309
+ }
checkpoint-300/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f180f4efc50fafe91ba23f25a98e46c9fae3c28b39511943af0bda6f5e595f92
3
+ size 5176