zlucia commited on
Commit
f9e757f
1 Parent(s): cda4cc7

End of training

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: mistralai/Mixtral-8x7B-v0.1
7
+ model-index:
8
+ - name: Mixtral-8x7B-v0.1_case-briefs
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # Mixtral-8x7B-v0.1_case-briefs
16
+
17
+ This model is a fine-tuned version of [mistralai/Mixtral-8x7B-v0.1](https://huggingface.co/mistralai/Mixtral-8x7B-v0.1) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.0422
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 4
40
+ - eval_batch_size: 4
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 16
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: constant
46
+ - lr_scheduler_warmup_ratio: 0.03
47
+ - num_epochs: 2.0
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:----:|:---------------:|
53
+ | 0.9925 | 0.34 | 50 | 1.0546 |
54
+ | 0.9873 | 0.68 | 100 | 1.0322 |
55
+ | 0.9577 | 1.02 | 150 | 1.0260 |
56
+ | 0.8504 | 1.36 | 200 | 1.0648 |
57
+ | 0.9154 | 1.7 | 250 | 1.0422 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - PEFT 0.7.1
63
+ - Transformers 4.37.2
64
+ - Pytorch 2.1.2+cu121
65
+ - Datasets 2.16.1
66
+ - Tokenizers 0.15.1
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mixtral-8x7B-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
+ "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
+ "w2",
23
+ "o_proj",
24
+ "k_proj",
25
+ "v_proj",
26
+ "q_proj",
27
+ "w1",
28
+ "gate",
29
+ "w3"
30
+ ],
31
+ "task_type": "CAUSAL_LM"
32
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a3b8ebfa695c7138c070a72026b64de09161acd92f0e708883938d927625518
3
+ size 1938079368
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[PAD]": 32000
3
+ }
all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.0,
3
+ "eval_loss": 1.1272878646850586,
4
+ "eval_runtime": 15.0096,
5
+ "eval_samples_per_second": 17.455,
6
+ "eval_steps_per_second": 4.397,
7
+ "train_loss": 0.9311216080269846,
8
+ "train_runtime": 4522.2924,
9
+ "train_samples_per_second": 1.042,
10
+ "train_steps_per_second": 0.065
11
+ }
eval_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.0,
3
+ "eval_loss": 1.1272878646850586,
4
+ "eval_runtime": 15.0096,
5
+ "eval_samples_per_second": 17.455,
6
+ "eval_steps_per_second": 4.397
7
+ }
metrics.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"run_name": "./output", "train_runtime": 831.3165, "train_samples_per_second": 5.668, "train_steps_per_second": 0.354, "train_loss": 1.0449795049874961, "epoch": 2.0, "eval_loss": 1.1272878646850586, "eval_runtime": 15.0096, "eval_samples_per_second": 17.455, "eval_steps_per_second": 4.397}
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
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: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": 1000000000000000019884624838656,
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
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.0,
3
+ "train_loss": 0.9311216080269846,
4
+ "train_runtime": 4522.2924,
5
+ "train_samples_per_second": 1.042,
6
+ "train_steps_per_second": 0.065
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.99660441426146,
5
+ "eval_steps": 50,
6
+ "global_step": 294,
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.07,
13
+ "learning_rate": 5e-05,
14
+ "loss": 1.1147,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.14,
19
+ "learning_rate": 5e-05,
20
+ "loss": 1.0413,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.2,
25
+ "learning_rate": 5e-05,
26
+ "loss": 1.0627,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.27,
31
+ "learning_rate": 5e-05,
32
+ "loss": 1.0158,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.34,
37
+ "learning_rate": 5e-05,
38
+ "loss": 0.9925,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.34,
43
+ "eval_loss": 1.054595708847046,
44
+ "eval_runtime": 84.2428,
45
+ "eval_samples_per_second": 3.11,
46
+ "eval_steps_per_second": 0.783,
47
+ "step": 50
48
+ },
49
+ {
50
+ "epoch": 0.41,
51
+ "learning_rate": 5e-05,
52
+ "loss": 1.0051,
53
+ "step": 60
54
+ },
55
+ {
56
+ "epoch": 0.48,
57
+ "learning_rate": 5e-05,
58
+ "loss": 1.0116,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.54,
63
+ "learning_rate": 5e-05,
64
+ "loss": 1.0378,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.61,
69
+ "learning_rate": 5e-05,
70
+ "loss": 1.0309,
71
+ "step": 90
72
+ },
73
+ {
74
+ "epoch": 0.68,
75
+ "learning_rate": 5e-05,
76
+ "loss": 0.9873,
77
+ "step": 100
78
+ },
79
+ {
80
+ "epoch": 0.68,
81
+ "eval_loss": 1.0322012901306152,
82
+ "eval_runtime": 84.2753,
83
+ "eval_samples_per_second": 3.109,
84
+ "eval_steps_per_second": 0.783,
85
+ "step": 100
86
+ },
87
+ {
88
+ "epoch": 0.75,
89
+ "learning_rate": 5e-05,
90
+ "loss": 0.9827,
91
+ "step": 110
92
+ },
93
+ {
94
+ "epoch": 0.81,
95
+ "learning_rate": 5e-05,
96
+ "loss": 0.9831,
97
+ "step": 120
98
+ },
99
+ {
100
+ "epoch": 0.88,
101
+ "learning_rate": 5e-05,
102
+ "loss": 1.009,
103
+ "step": 130
104
+ },
105
+ {
106
+ "epoch": 0.95,
107
+ "learning_rate": 5e-05,
108
+ "loss": 1.0236,
109
+ "step": 140
110
+ },
111
+ {
112
+ "epoch": 1.02,
113
+ "learning_rate": 5e-05,
114
+ "loss": 0.9577,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 1.02,
119
+ "eval_loss": 1.0260435342788696,
120
+ "eval_runtime": 84.2852,
121
+ "eval_samples_per_second": 3.108,
122
+ "eval_steps_per_second": 0.783,
123
+ "step": 150
124
+ },
125
+ {
126
+ "epoch": 1.09,
127
+ "learning_rate": 5e-05,
128
+ "loss": 0.8567,
129
+ "step": 160
130
+ },
131
+ {
132
+ "epoch": 1.15,
133
+ "learning_rate": 5e-05,
134
+ "loss": 0.9293,
135
+ "step": 170
136
+ },
137
+ {
138
+ "epoch": 1.22,
139
+ "learning_rate": 5e-05,
140
+ "loss": 0.8656,
141
+ "step": 180
142
+ },
143
+ {
144
+ "epoch": 1.29,
145
+ "learning_rate": 5e-05,
146
+ "loss": 0.7937,
147
+ "step": 190
148
+ },
149
+ {
150
+ "epoch": 1.36,
151
+ "learning_rate": 5e-05,
152
+ "loss": 0.8504,
153
+ "step": 200
154
+ },
155
+ {
156
+ "epoch": 1.36,
157
+ "eval_loss": 1.0647752285003662,
158
+ "eval_runtime": 84.2818,
159
+ "eval_samples_per_second": 3.109,
160
+ "eval_steps_per_second": 0.783,
161
+ "step": 200
162
+ },
163
+ {
164
+ "epoch": 1.43,
165
+ "learning_rate": 5e-05,
166
+ "loss": 0.887,
167
+ "step": 210
168
+ },
169
+ {
170
+ "epoch": 1.49,
171
+ "learning_rate": 5e-05,
172
+ "loss": 0.7825,
173
+ "step": 220
174
+ },
175
+ {
176
+ "epoch": 1.56,
177
+ "learning_rate": 5e-05,
178
+ "loss": 0.8271,
179
+ "step": 230
180
+ },
181
+ {
182
+ "epoch": 1.63,
183
+ "learning_rate": 5e-05,
184
+ "loss": 0.8465,
185
+ "step": 240
186
+ },
187
+ {
188
+ "epoch": 1.7,
189
+ "learning_rate": 5e-05,
190
+ "loss": 0.9154,
191
+ "step": 250
192
+ },
193
+ {
194
+ "epoch": 1.7,
195
+ "eval_loss": 1.0422441959381104,
196
+ "eval_runtime": 84.2906,
197
+ "eval_samples_per_second": 3.108,
198
+ "eval_steps_per_second": 0.783,
199
+ "step": 250
200
+ },
201
+ {
202
+ "epoch": 1.77,
203
+ "learning_rate": 5e-05,
204
+ "loss": 0.7803,
205
+ "step": 260
206
+ },
207
+ {
208
+ "epoch": 1.83,
209
+ "learning_rate": 5e-05,
210
+ "loss": 0.8642,
211
+ "step": 270
212
+ },
213
+ {
214
+ "epoch": 1.9,
215
+ "learning_rate": 5e-05,
216
+ "loss": 0.8112,
217
+ "step": 280
218
+ },
219
+ {
220
+ "epoch": 1.97,
221
+ "learning_rate": 5e-05,
222
+ "loss": 0.8171,
223
+ "step": 290
224
+ },
225
+ {
226
+ "epoch": 2.0,
227
+ "step": 294,
228
+ "total_flos": 4.649929554906317e+17,
229
+ "train_loss": 0.9311216080269846,
230
+ "train_runtime": 4522.2924,
231
+ "train_samples_per_second": 1.042,
232
+ "train_steps_per_second": 0.065
233
+ }
234
+ ],
235
+ "logging_steps": 10,
236
+ "max_steps": 294,
237
+ "num_input_tokens_seen": 0,
238
+ "num_train_epochs": 2,
239
+ "save_steps": 250,
240
+ "total_flos": 4.649929554906317e+17,
241
+ "train_batch_size": 4,
242
+ "trial_name": null,
243
+ "trial_params": null
244
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11ebda5768d277c6c95e574fa57f945d3f2496e30fad3f2b147df1b5cf514810
3
+ size 6712