douy commited on
Commit
b9a0945
1 Parent(s): 06f9e86

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,208 @@
1
  ---
2
- license: cc-by-nc-4.0
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: peft
3
+ base_model: mistralai/Mistral-7B-v0.1
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
+ ## Training procedure
203
+
204
+
205
+ ### Framework versions
206
+
207
+
208
+ - PEFT 0.6.2
adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
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
+ "lora_alpha": 32,
12
+ "lora_dropout": 0.05,
13
+ "modules_to_save": null,
14
+ "peft_type": "LORA",
15
+ "r": 16,
16
+ "rank_pattern": {},
17
+ "revision": null,
18
+ "target_modules": [
19
+ "k_proj",
20
+ "embed_tokens",
21
+ "gate_proj",
22
+ "down_proj",
23
+ "o_proj",
24
+ "up_proj",
25
+ "q_proj",
26
+ "v_proj",
27
+ "lm_head"
28
+ ],
29
+ "task_type": "CAUSAL_LM"
30
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:772ec913a292967d4f4657b6bac5ebd7222cf90c697afebd1d30ab6f69b8a7a1
3
+ size 86257336
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<PAD>": 32000
3
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "pad_token": {
5
+ "content": "<PAD>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "unk_token": {
12
+ "content": "<unk>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ }
18
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<PAD>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "additional_special_tokens": [],
39
+ "bos_token": "<s>",
40
+ "clean_up_tokenization_spaces": false,
41
+ "eos_token": "</s>",
42
+ "legacy": true,
43
+ "model_max_length": 4096,
44
+ "pad_token": "<PAD>",
45
+ "sp_model_kwargs": {},
46
+ "spaces_between_special_tokens": false,
47
+ "tokenizer_class": "LlamaTokenizer",
48
+ "unk_token": "<unk>",
49
+ "use_default_system_prompt": false
50
+ }
trainer_state.json ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 10,
6
+ "global_step": 36,
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": 1.796,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.17,
19
+ "learning_rate": 0.0001,
20
+ "loss": 1.0996,
21
+ "step": 2
22
+ },
23
+ {
24
+ "epoch": 0.25,
25
+ "learning_rate": 0.0001,
26
+ "loss": 0.9834,
27
+ "step": 3
28
+ },
29
+ {
30
+ "epoch": 0.33,
31
+ "learning_rate": 0.0001,
32
+ "loss": 0.558,
33
+ "step": 4
34
+ },
35
+ {
36
+ "epoch": 0.42,
37
+ "learning_rate": 0.0001,
38
+ "loss": 0.3067,
39
+ "step": 5
40
+ },
41
+ {
42
+ "epoch": 0.5,
43
+ "learning_rate": 0.0001,
44
+ "loss": 0.4554,
45
+ "step": 6
46
+ },
47
+ {
48
+ "epoch": 0.58,
49
+ "learning_rate": 0.0001,
50
+ "loss": 0.4328,
51
+ "step": 7
52
+ },
53
+ {
54
+ "epoch": 0.67,
55
+ "learning_rate": 0.0001,
56
+ "loss": 0.2377,
57
+ "step": 8
58
+ },
59
+ {
60
+ "epoch": 0.75,
61
+ "learning_rate": 0.0001,
62
+ "loss": 0.3933,
63
+ "step": 9
64
+ },
65
+ {
66
+ "epoch": 0.83,
67
+ "learning_rate": 0.0001,
68
+ "loss": 0.3539,
69
+ "step": 10
70
+ },
71
+ {
72
+ "epoch": 0.83,
73
+ "eval_accuracy": 0.01065855981246795,
74
+ "eval_loss": 0.3053041696548462,
75
+ "eval_runtime": 2.9764,
76
+ "eval_samples_per_second": 7.391,
77
+ "eval_steps_per_second": 0.336,
78
+ "step": 10
79
+ },
80
+ {
81
+ "epoch": 0.92,
82
+ "learning_rate": 0.0001,
83
+ "loss": 0.3407,
84
+ "step": 11
85
+ },
86
+ {
87
+ "epoch": 1.0,
88
+ "learning_rate": 0.0001,
89
+ "loss": 0.3791,
90
+ "step": 12
91
+ },
92
+ {
93
+ "epoch": 1.08,
94
+ "learning_rate": 0.0001,
95
+ "loss": 0.2567,
96
+ "step": 13
97
+ },
98
+ {
99
+ "epoch": 1.17,
100
+ "learning_rate": 0.0001,
101
+ "loss": 0.3081,
102
+ "step": 14
103
+ },
104
+ {
105
+ "epoch": 1.25,
106
+ "learning_rate": 0.0001,
107
+ "loss": 0.2464,
108
+ "step": 15
109
+ },
110
+ {
111
+ "epoch": 1.33,
112
+ "learning_rate": 0.0001,
113
+ "loss": 0.295,
114
+ "step": 16
115
+ },
116
+ {
117
+ "epoch": 1.42,
118
+ "learning_rate": 0.0001,
119
+ "loss": 0.243,
120
+ "step": 17
121
+ },
122
+ {
123
+ "epoch": 1.5,
124
+ "learning_rate": 0.0001,
125
+ "loss": 0.2889,
126
+ "step": 18
127
+ },
128
+ {
129
+ "epoch": 1.58,
130
+ "learning_rate": 0.0001,
131
+ "loss": 0.2491,
132
+ "step": 19
133
+ },
134
+ {
135
+ "epoch": 1.67,
136
+ "learning_rate": 0.0001,
137
+ "loss": 0.1398,
138
+ "step": 20
139
+ },
140
+ {
141
+ "epoch": 1.67,
142
+ "eval_accuracy": 0.0107684418723903,
143
+ "eval_loss": 0.2902178466320038,
144
+ "eval_runtime": 2.52,
145
+ "eval_samples_per_second": 8.73,
146
+ "eval_steps_per_second": 0.397,
147
+ "step": 20
148
+ },
149
+ {
150
+ "epoch": 1.75,
151
+ "learning_rate": 0.0001,
152
+ "loss": 0.255,
153
+ "step": 21
154
+ },
155
+ {
156
+ "epoch": 1.83,
157
+ "learning_rate": 0.0001,
158
+ "loss": 0.233,
159
+ "step": 22
160
+ },
161
+ {
162
+ "epoch": 1.92,
163
+ "learning_rate": 0.0001,
164
+ "loss": 0.2733,
165
+ "step": 23
166
+ },
167
+ {
168
+ "epoch": 2.0,
169
+ "learning_rate": 0.0001,
170
+ "loss": 0.2045,
171
+ "step": 24
172
+ },
173
+ {
174
+ "epoch": 2.08,
175
+ "learning_rate": 0.0001,
176
+ "loss": 0.1885,
177
+ "step": 25
178
+ },
179
+ {
180
+ "epoch": 2.17,
181
+ "learning_rate": 0.0001,
182
+ "loss": 0.2345,
183
+ "step": 26
184
+ },
185
+ {
186
+ "epoch": 2.25,
187
+ "learning_rate": 0.0001,
188
+ "loss": 0.2209,
189
+ "step": 27
190
+ },
191
+ {
192
+ "epoch": 2.33,
193
+ "learning_rate": 0.0001,
194
+ "loss": 0.2146,
195
+ "step": 28
196
+ },
197
+ {
198
+ "epoch": 2.42,
199
+ "learning_rate": 0.0001,
200
+ "loss": 0.1555,
201
+ "step": 29
202
+ },
203
+ {
204
+ "epoch": 2.5,
205
+ "learning_rate": 0.0001,
206
+ "loss": 0.2355,
207
+ "step": 30
208
+ },
209
+ {
210
+ "epoch": 2.5,
211
+ "eval_accuracy": 0.0107684418723903,
212
+ "eval_loss": 0.27231642603874207,
213
+ "eval_runtime": 2.1494,
214
+ "eval_samples_per_second": 10.235,
215
+ "eval_steps_per_second": 0.465,
216
+ "step": 30
217
+ },
218
+ {
219
+ "epoch": 2.58,
220
+ "learning_rate": 0.0001,
221
+ "loss": 0.1539,
222
+ "step": 31
223
+ },
224
+ {
225
+ "epoch": 2.67,
226
+ "learning_rate": 0.0001,
227
+ "loss": 0.119,
228
+ "step": 32
229
+ },
230
+ {
231
+ "epoch": 2.75,
232
+ "learning_rate": 0.0001,
233
+ "loss": 0.2046,
234
+ "step": 33
235
+ },
236
+ {
237
+ "epoch": 2.83,
238
+ "learning_rate": 0.0001,
239
+ "loss": 0.1672,
240
+ "step": 34
241
+ },
242
+ {
243
+ "epoch": 2.92,
244
+ "learning_rate": 0.0001,
245
+ "loss": 0.1556,
246
+ "step": 35
247
+ },
248
+ {
249
+ "epoch": 3.0,
250
+ "learning_rate": 0.0001,
251
+ "loss": 0.161,
252
+ "step": 36
253
+ }
254
+ ],
255
+ "logging_steps": 1.0,
256
+ "max_steps": 60,
257
+ "num_input_tokens_seen": 0,
258
+ "num_train_epochs": 5,
259
+ "save_steps": 500,
260
+ "total_flos": 7706157613056.0,
261
+ "train_batch_size": 4,
262
+ "trial_name": null,
263
+ "trial_params": null
264
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6737c4ab613ab835f2472a5d78ed97562ba807f8662c962b895141b04340db71
3
+ size 7032