Model save
Browse files- README.md +57 -0
- all_results.json +9 -0
- generation_config.json +6 -0
- train_results.json +9 -0
- trainer_state.json +237 -0
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: mistralai/Mistral-7B-v0.1
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: mistral-base-sftspin-2k
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# mistral-base-sftspin-2k
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on an unknown dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 5e-07
|
36 |
+
- train_batch_size: 4
|
37 |
+
- eval_batch_size: 4
|
38 |
+
- seed: 42
|
39 |
+
- distributed_type: multi-GPU
|
40 |
+
- num_devices: 4
|
41 |
+
- total_train_batch_size: 16
|
42 |
+
- total_eval_batch_size: 16
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- lr_scheduler_warmup_ratio: 0.1
|
46 |
+
- num_epochs: 1
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
### Framework versions
|
53 |
+
|
54 |
+
- Transformers 4.43.3
|
55 |
+
- Pytorch 2.2.2+cu121
|
56 |
+
- Datasets 2.20.0
|
57 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.20190721225738525,
|
5 |
+
"train_runtime": 757.3333,
|
6 |
+
"train_samples": 2000,
|
7 |
+
"train_samples_per_second": 2.641,
|
8 |
+
"train_steps_per_second": 0.165
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.43.3"
|
6 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.20190721225738525,
|
5 |
+
"train_runtime": 757.3333,
|
6 |
+
"train_samples": 2000,
|
7 |
+
"train_samples_per_second": 2.641,
|
8 |
+
"train_steps_per_second": 0.165
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.008,
|
13 |
+
"grad_norm": 239.1858166998272,
|
14 |
+
"learning_rate": 3.846153846153846e-08,
|
15 |
+
"logits/generated": -2.2126176357269287,
|
16 |
+
"logits/real": -2.479367733001709,
|
17 |
+
"logps/generated": -128.46270751953125,
|
18 |
+
"logps/real": -80.73978424072266,
|
19 |
+
"loss": 0.8095,
|
20 |
+
"rewards/accuracies": 0.0,
|
21 |
+
"rewards/generated": 0.0,
|
22 |
+
"rewards/margins": 0.0,
|
23 |
+
"rewards/real": 0.0,
|
24 |
+
"step": 1
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.08,
|
28 |
+
"grad_norm": 70.17698370139641,
|
29 |
+
"learning_rate": 3.8461538461538463e-07,
|
30 |
+
"logits/generated": -2.3260881900787354,
|
31 |
+
"logits/real": -2.471503257751465,
|
32 |
+
"logps/generated": -223.9189453125,
|
33 |
+
"logps/real": -140.8146209716797,
|
34 |
+
"loss": 0.5207,
|
35 |
+
"rewards/accuracies": 0.8055555820465088,
|
36 |
+
"rewards/generated": -1.674961805343628,
|
37 |
+
"rewards/margins": 1.8044724464416504,
|
38 |
+
"rewards/real": 0.12951046228408813,
|
39 |
+
"step": 10
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.16,
|
43 |
+
"grad_norm": 88.37326224017356,
|
44 |
+
"learning_rate": 4.6874999999999996e-07,
|
45 |
+
"logits/generated": -2.450636386871338,
|
46 |
+
"logits/real": -2.3606960773468018,
|
47 |
+
"logps/generated": -232.05966186523438,
|
48 |
+
"logps/real": -117.79029846191406,
|
49 |
+
"loss": 0.2281,
|
50 |
+
"rewards/accuracies": 0.9750000238418579,
|
51 |
+
"rewards/generated": -5.391738414764404,
|
52 |
+
"rewards/margins": 6.387595176696777,
|
53 |
+
"rewards/real": 0.9958569407463074,
|
54 |
+
"step": 20
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.24,
|
58 |
+
"grad_norm": 5.440901528921371,
|
59 |
+
"learning_rate": 4.2410714285714283e-07,
|
60 |
+
"logits/generated": -2.7457003593444824,
|
61 |
+
"logits/real": -2.6319069862365723,
|
62 |
+
"logps/generated": -247.0005645751953,
|
63 |
+
"logps/real": -130.16738891601562,
|
64 |
+
"loss": 0.1927,
|
65 |
+
"rewards/accuracies": 1.0,
|
66 |
+
"rewards/generated": -6.554670810699463,
|
67 |
+
"rewards/margins": 7.878050804138184,
|
68 |
+
"rewards/real": 1.3233797550201416,
|
69 |
+
"step": 30
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.32,
|
73 |
+
"grad_norm": 11.777329586857231,
|
74 |
+
"learning_rate": 3.794642857142857e-07,
|
75 |
+
"logits/generated": -2.84816312789917,
|
76 |
+
"logits/real": -2.5522327423095703,
|
77 |
+
"logps/generated": -289.16925048828125,
|
78 |
+
"logps/real": -115.33210754394531,
|
79 |
+
"loss": 0.1915,
|
80 |
+
"rewards/accuracies": 0.9750000238418579,
|
81 |
+
"rewards/generated": -6.927525520324707,
|
82 |
+
"rewards/margins": 8.304718971252441,
|
83 |
+
"rewards/real": 1.3771930932998657,
|
84 |
+
"step": 40
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.4,
|
88 |
+
"grad_norm": 64.00945422261239,
|
89 |
+
"learning_rate": 3.348214285714285e-07,
|
90 |
+
"logits/generated": -2.8668458461761475,
|
91 |
+
"logits/real": -2.6166741847991943,
|
92 |
+
"logps/generated": -303.78253173828125,
|
93 |
+
"logps/real": -128.0586395263672,
|
94 |
+
"loss": 0.1909,
|
95 |
+
"rewards/accuracies": 1.0,
|
96 |
+
"rewards/generated": -9.226629257202148,
|
97 |
+
"rewards/margins": 10.975615501403809,
|
98 |
+
"rewards/real": 1.7489855289459229,
|
99 |
+
"step": 50
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.48,
|
103 |
+
"grad_norm": 64.92294716516143,
|
104 |
+
"learning_rate": 2.9017857142857143e-07,
|
105 |
+
"logits/generated": -2.7347352504730225,
|
106 |
+
"logits/real": -2.569279670715332,
|
107 |
+
"logps/generated": -243.7904815673828,
|
108 |
+
"logps/real": -120.55989837646484,
|
109 |
+
"loss": 0.1607,
|
110 |
+
"rewards/accuracies": 0.9750000238418579,
|
111 |
+
"rewards/generated": -6.975653171539307,
|
112 |
+
"rewards/margins": 8.520237922668457,
|
113 |
+
"rewards/real": 1.5445842742919922,
|
114 |
+
"step": 60
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.56,
|
118 |
+
"grad_norm": 10.402116669483359,
|
119 |
+
"learning_rate": 2.4553571428571425e-07,
|
120 |
+
"logits/generated": -2.8186283111572266,
|
121 |
+
"logits/real": -2.7718710899353027,
|
122 |
+
"logps/generated": -250.1753387451172,
|
123 |
+
"logps/real": -132.1046142578125,
|
124 |
+
"loss": 0.1834,
|
125 |
+
"rewards/accuracies": 0.9750000238418579,
|
126 |
+
"rewards/generated": -7.1443190574646,
|
127 |
+
"rewards/margins": 9.396718978881836,
|
128 |
+
"rewards/real": 2.252399444580078,
|
129 |
+
"step": 70
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.64,
|
133 |
+
"grad_norm": 25.16942649833656,
|
134 |
+
"learning_rate": 2.0089285714285714e-07,
|
135 |
+
"logits/generated": -2.5663483142852783,
|
136 |
+
"logits/real": -2.4327187538146973,
|
137 |
+
"logps/generated": -257.9368896484375,
|
138 |
+
"logps/real": -112.90299987792969,
|
139 |
+
"loss": 0.1565,
|
140 |
+
"rewards/accuracies": 0.9750000238418579,
|
141 |
+
"rewards/generated": -7.920647621154785,
|
142 |
+
"rewards/margins": 9.483409881591797,
|
143 |
+
"rewards/real": 1.5627624988555908,
|
144 |
+
"step": 80
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 0.72,
|
148 |
+
"grad_norm": 38.89840446739152,
|
149 |
+
"learning_rate": 1.5624999999999999e-07,
|
150 |
+
"logits/generated": -2.746872663497925,
|
151 |
+
"logits/real": -2.486171245574951,
|
152 |
+
"logps/generated": -283.3935546875,
|
153 |
+
"logps/real": -120.43995666503906,
|
154 |
+
"loss": 0.1437,
|
155 |
+
"rewards/accuracies": 1.0,
|
156 |
+
"rewards/generated": -8.452750205993652,
|
157 |
+
"rewards/margins": 11.078439712524414,
|
158 |
+
"rewards/real": 2.62568998336792,
|
159 |
+
"step": 90
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 0.8,
|
163 |
+
"grad_norm": 5.359766183105411,
|
164 |
+
"learning_rate": 1.1160714285714285e-07,
|
165 |
+
"logits/generated": -2.6126272678375244,
|
166 |
+
"logits/real": -2.444281578063965,
|
167 |
+
"logps/generated": -253.35238647460938,
|
168 |
+
"logps/real": -109.86905670166016,
|
169 |
+
"loss": 0.1382,
|
170 |
+
"rewards/accuracies": 1.0,
|
171 |
+
"rewards/generated": -7.747033596038818,
|
172 |
+
"rewards/margins": 10.339635848999023,
|
173 |
+
"rewards/real": 2.592602252960205,
|
174 |
+
"step": 100
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 0.88,
|
178 |
+
"grad_norm": 65.35623513462569,
|
179 |
+
"learning_rate": 6.696428571428571e-08,
|
180 |
+
"logits/generated": -2.7898306846618652,
|
181 |
+
"logits/real": -2.5074455738067627,
|
182 |
+
"logps/generated": -299.50164794921875,
|
183 |
+
"logps/real": -120.06874084472656,
|
184 |
+
"loss": 0.1878,
|
185 |
+
"rewards/accuracies": 1.0,
|
186 |
+
"rewards/generated": -9.320104598999023,
|
187 |
+
"rewards/margins": 11.775839805603027,
|
188 |
+
"rewards/real": 2.455735445022583,
|
189 |
+
"step": 110
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 0.96,
|
193 |
+
"grad_norm": 8.6316640130324,
|
194 |
+
"learning_rate": 2.2321428571428572e-08,
|
195 |
+
"logits/generated": -2.593653917312622,
|
196 |
+
"logits/real": -2.4506092071533203,
|
197 |
+
"logps/generated": -232.76126098632812,
|
198 |
+
"logps/real": -100.04011535644531,
|
199 |
+
"loss": 0.1218,
|
200 |
+
"rewards/accuracies": 1.0,
|
201 |
+
"rewards/generated": -7.186074256896973,
|
202 |
+
"rewards/margins": 9.549537658691406,
|
203 |
+
"rewards/real": 2.363464117050171,
|
204 |
+
"step": 120
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"epoch": 1.0,
|
208 |
+
"step": 125,
|
209 |
+
"total_flos": 0.0,
|
210 |
+
"train_loss": 0.20190721225738525,
|
211 |
+
"train_runtime": 757.3333,
|
212 |
+
"train_samples_per_second": 2.641,
|
213 |
+
"train_steps_per_second": 0.165
|
214 |
+
}
|
215 |
+
],
|
216 |
+
"logging_steps": 10,
|
217 |
+
"max_steps": 125,
|
218 |
+
"num_input_tokens_seen": 0,
|
219 |
+
"num_train_epochs": 1,
|
220 |
+
"save_steps": 200,
|
221 |
+
"stateful_callbacks": {
|
222 |
+
"TrainerControl": {
|
223 |
+
"args": {
|
224 |
+
"should_epoch_stop": false,
|
225 |
+
"should_evaluate": false,
|
226 |
+
"should_log": false,
|
227 |
+
"should_save": true,
|
228 |
+
"should_training_stop": true
|
229 |
+
},
|
230 |
+
"attributes": {}
|
231 |
+
}
|
232 |
+
},
|
233 |
+
"total_flos": 0.0,
|
234 |
+
"train_batch_size": 4,
|
235 |
+
"trial_name": null,
|
236 |
+
"trial_params": null
|
237 |
+
}
|