HA-Siala commited on
Commit
858df02
·
verified ·
1 Parent(s): c839de0

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: mistralai/Mistral-7B-v0.3
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
adapter_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.3",
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": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "v_proj",
24
+ "down_proj",
25
+ "lm_head",
26
+ "q_proj",
27
+ "o_proj",
28
+ "gate_proj",
29
+ "up_proj",
30
+ "k_proj"
31
+ ],
32
+ "task_type": "CAUSAL_LM",
33
+ "use_dora": false,
34
+ "use_rslora": false
35
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fa6baa265cc536002473f8accdf8f414ce6528ff02370ecd05422f1bbb2c136
3
+ size 707063376
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce583ad6fbc0d0eaa788f4bf64292367435c9a71bedf4b947732a3eba6cb48dc
3
+ size 340530746
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7369603587b467a5818dc2353c6b7970019e41b137da3b583dc309d4958f7b41
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15fe37e1b5db889394777fe98c2eb400020eeead7e87ec5ca87274fabc9e805c
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
trainer_state.json ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.0,
5
+ "eval_steps": 50,
6
+ "global_step": 1701,
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.11757789535567313,
13
+ "grad_norm": 1.5434420108795166,
14
+ "learning_rate": 2.9411764705882355e-06,
15
+ "loss": 0.7456,
16
+ "step": 50
17
+ },
18
+ {
19
+ "epoch": 0.23515579071134626,
20
+ "grad_norm": 0.963267982006073,
21
+ "learning_rate": 5.823529411764706e-06,
22
+ "loss": 0.5784,
23
+ "step": 100
24
+ },
25
+ {
26
+ "epoch": 0.3527336860670194,
27
+ "grad_norm": 1.1193718910217285,
28
+ "learning_rate": 8.705882352941177e-06,
29
+ "loss": 0.3618,
30
+ "step": 150
31
+ },
32
+ {
33
+ "epoch": 0.4703115814226925,
34
+ "grad_norm": 0.7008563876152039,
35
+ "learning_rate": 1.1647058823529412e-05,
36
+ "loss": 0.3389,
37
+ "step": 200
38
+ },
39
+ {
40
+ "epoch": 0.5878894767783657,
41
+ "grad_norm": 0.6045801639556885,
42
+ "learning_rate": 1.4588235294117647e-05,
43
+ "loss": 0.3334,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 0.7054673721340388,
48
+ "grad_norm": 0.5706155300140381,
49
+ "learning_rate": 1.7529411764705884e-05,
50
+ "loss": 0.2923,
51
+ "step": 300
52
+ },
53
+ {
54
+ "epoch": 0.823045267489712,
55
+ "grad_norm": 0.6757872104644775,
56
+ "learning_rate": 2.047058823529412e-05,
57
+ "loss": 0.2901,
58
+ "step": 350
59
+ },
60
+ {
61
+ "epoch": 0.940623162845385,
62
+ "grad_norm": 0.5101656317710876,
63
+ "learning_rate": 2.3411764705882354e-05,
64
+ "loss": 0.2893,
65
+ "step": 400
66
+ },
67
+ {
68
+ "epoch": 0.9994121105232217,
69
+ "eval_loss": 0.4672001004219055,
70
+ "eval_runtime": 174.9103,
71
+ "eval_samples_per_second": 1.081,
72
+ "eval_steps_per_second": 0.137,
73
+ "step": 425
74
+ },
75
+ {
76
+ "epoch": 1.0582010582010581,
77
+ "grad_norm": 0.5830298066139221,
78
+ "learning_rate": 2.6352941176470592e-05,
79
+ "loss": 0.2832,
80
+ "step": 450
81
+ },
82
+ {
83
+ "epoch": 1.1757789535567313,
84
+ "grad_norm": 0.5612862706184387,
85
+ "learning_rate": 2.9294117647058827e-05,
86
+ "loss": 0.2486,
87
+ "step": 500
88
+ },
89
+ {
90
+ "epoch": 1.2933568489124045,
91
+ "grad_norm": 0.5751911997795105,
92
+ "learning_rate": 3.223529411764706e-05,
93
+ "loss": 0.2924,
94
+ "step": 550
95
+ },
96
+ {
97
+ "epoch": 1.4109347442680775,
98
+ "grad_norm": 0.6772521734237671,
99
+ "learning_rate": 3.5176470588235294e-05,
100
+ "loss": 0.2899,
101
+ "step": 600
102
+ },
103
+ {
104
+ "epoch": 1.5285126396237507,
105
+ "grad_norm": 0.6256781220436096,
106
+ "learning_rate": 3.811764705882353e-05,
107
+ "loss": 0.2733,
108
+ "step": 650
109
+ },
110
+ {
111
+ "epoch": 1.646090534979424,
112
+ "grad_norm": 0.7451750040054321,
113
+ "learning_rate": 4.1058823529411764e-05,
114
+ "loss": 0.2874,
115
+ "step": 700
116
+ },
117
+ {
118
+ "epoch": 1.763668430335097,
119
+ "grad_norm": 0.6674547791481018,
120
+ "learning_rate": 4.4000000000000006e-05,
121
+ "loss": 0.2668,
122
+ "step": 750
123
+ },
124
+ {
125
+ "epoch": 1.88124632569077,
126
+ "grad_norm": 0.5857487916946411,
127
+ "learning_rate": 4.694117647058824e-05,
128
+ "loss": 0.2699,
129
+ "step": 800
130
+ },
131
+ {
132
+ "epoch": 1.9988242210464433,
133
+ "grad_norm": 0.4972004294395447,
134
+ "learning_rate": 4.9882352941176476e-05,
135
+ "loss": 0.2867,
136
+ "step": 850
137
+ },
138
+ {
139
+ "epoch": 1.9988242210464433,
140
+ "eval_loss": 0.43864762783050537,
141
+ "eval_runtime": 172.7658,
142
+ "eval_samples_per_second": 1.094,
143
+ "eval_steps_per_second": 0.139,
144
+ "step": 850
145
+ },
146
+ {
147
+ "epoch": 2.1164021164021163,
148
+ "grad_norm": 0.43465057015419006,
149
+ "learning_rate": 4.929411764705882e-05,
150
+ "loss": 0.2874,
151
+ "step": 900
152
+ },
153
+ {
154
+ "epoch": 2.2339800117577897,
155
+ "grad_norm": 0.45625609159469604,
156
+ "learning_rate": 4.855882352941177e-05,
157
+ "loss": 0.2549,
158
+ "step": 950
159
+ },
160
+ {
161
+ "epoch": 2.3515579071134627,
162
+ "grad_norm": 0.4708680510520935,
163
+ "learning_rate": 4.7823529411764704e-05,
164
+ "loss": 0.2435,
165
+ "step": 1000
166
+ },
167
+ {
168
+ "epoch": 2.4691358024691357,
169
+ "grad_norm": 0.4648517370223999,
170
+ "learning_rate": 4.708823529411765e-05,
171
+ "loss": 0.2397,
172
+ "step": 1050
173
+ },
174
+ {
175
+ "epoch": 2.586713697824809,
176
+ "grad_norm": 0.39246800541877747,
177
+ "learning_rate": 4.635294117647059e-05,
178
+ "loss": 0.2676,
179
+ "step": 1100
180
+ },
181
+ {
182
+ "epoch": 2.704291593180482,
183
+ "grad_norm": 0.579401433467865,
184
+ "learning_rate": 4.5617647058823535e-05,
185
+ "loss": 0.2207,
186
+ "step": 1150
187
+ },
188
+ {
189
+ "epoch": 2.821869488536155,
190
+ "grad_norm": 0.3959507942199707,
191
+ "learning_rate": 4.4882352941176476e-05,
192
+ "loss": 0.2247,
193
+ "step": 1200
194
+ },
195
+ {
196
+ "epoch": 2.9394473838918285,
197
+ "grad_norm": 0.3841804265975952,
198
+ "learning_rate": 4.414705882352941e-05,
199
+ "loss": 0.2639,
200
+ "step": 1250
201
+ },
202
+ {
203
+ "epoch": 2.998236331569665,
204
+ "eval_loss": 0.42491579055786133,
205
+ "eval_runtime": 172.7491,
206
+ "eval_samples_per_second": 1.094,
207
+ "eval_steps_per_second": 0.139,
208
+ "step": 1275
209
+ },
210
+ {
211
+ "epoch": 3.0570252792475014,
212
+ "grad_norm": 0.3887556791305542,
213
+ "learning_rate": 4.341176470588236e-05,
214
+ "loss": 0.2318,
215
+ "step": 1300
216
+ },
217
+ {
218
+ "epoch": 3.1746031746031744,
219
+ "grad_norm": 0.2942847013473511,
220
+ "learning_rate": 4.267647058823529e-05,
221
+ "loss": 0.2351,
222
+ "step": 1350
223
+ },
224
+ {
225
+ "epoch": 3.292181069958848,
226
+ "grad_norm": 0.41963356733322144,
227
+ "learning_rate": 4.194117647058824e-05,
228
+ "loss": 0.2449,
229
+ "step": 1400
230
+ },
231
+ {
232
+ "epoch": 3.409758965314521,
233
+ "grad_norm": 0.41531622409820557,
234
+ "learning_rate": 4.1205882352941176e-05,
235
+ "loss": 0.2484,
236
+ "step": 1450
237
+ },
238
+ {
239
+ "epoch": 3.527336860670194,
240
+ "grad_norm": 0.35044431686401367,
241
+ "learning_rate": 4.0470588235294124e-05,
242
+ "loss": 0.2331,
243
+ "step": 1500
244
+ },
245
+ {
246
+ "epoch": 3.6449147560258672,
247
+ "grad_norm": 0.3828336000442505,
248
+ "learning_rate": 3.973529411764706e-05,
249
+ "loss": 0.2287,
250
+ "step": 1550
251
+ },
252
+ {
253
+ "epoch": 3.76249265138154,
254
+ "grad_norm": 0.4572592079639435,
255
+ "learning_rate": 3.9000000000000006e-05,
256
+ "loss": 0.2297,
257
+ "step": 1600
258
+ },
259
+ {
260
+ "epoch": 3.8800705467372136,
261
+ "grad_norm": 0.47478222846984863,
262
+ "learning_rate": 3.826470588235294e-05,
263
+ "loss": 0.2285,
264
+ "step": 1650
265
+ },
266
+ {
267
+ "epoch": 3.9976484420928866,
268
+ "grad_norm": 0.39389339089393616,
269
+ "learning_rate": 3.752941176470588e-05,
270
+ "loss": 0.2096,
271
+ "step": 1700
272
+ },
273
+ {
274
+ "epoch": 4.0,
275
+ "eval_loss": 0.4230487048625946,
276
+ "eval_runtime": 172.772,
277
+ "eval_samples_per_second": 1.094,
278
+ "eval_steps_per_second": 0.139,
279
+ "step": 1701
280
+ }
281
+ ],
282
+ "logging_steps": 50,
283
+ "max_steps": 4250,
284
+ "num_input_tokens_seen": 0,
285
+ "num_train_epochs": 10,
286
+ "save_steps": 500,
287
+ "total_flos": 8.215788830190797e+17,
288
+ "train_batch_size": 1,
289
+ "trial_name": null,
290
+ "trial_params": null
291
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d54c749b87edbff5c05be3f9e87dcea117b222ea2e59b9a49623d779ad5c5fb6
3
+ size 5048