BraylonDash
commited on
Model save
Browse files- README.md +61 -0
- adapter_model.safetensors +1 -1
- all_results.json +8 -0
- emissions.csv +2 -0
- runs/Sep30_16-00-02_gpu4-119-5/events.out.tfevents.1727676386.gpu4-119-5.1887954.0 +2 -2
- train_results.json +8 -0
- trainer_state.json +254 -0
README.md
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- trl
|
5 |
+
- dpo
|
6 |
+
- generated_from_trainer
|
7 |
+
base_model: DUAL-GPO/phi-2-kto-0-20-i1-merged
|
8 |
+
model-index:
|
9 |
+
- name: phi-2-kto-20-50-i2
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# phi-2-kto-20-50-i2
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [DUAL-GPO/phi-2-kto-0-20-i1-merged](https://huggingface.co/DUAL-GPO/phi-2-kto-0-20-i1-merged) on the None dataset.
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 5e-06
|
38 |
+
- train_batch_size: 4
|
39 |
+
- eval_batch_size: 4
|
40 |
+
- seed: 42
|
41 |
+
- distributed_type: multi-GPU
|
42 |
+
- num_devices: 4
|
43 |
+
- gradient_accumulation_steps: 8
|
44 |
+
- total_train_batch_size: 128
|
45 |
+
- total_eval_batch_size: 16
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: cosine
|
48 |
+
- lr_scheduler_warmup_ratio: 0.1
|
49 |
+
- num_epochs: 1
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- PEFT 0.7.1
|
58 |
+
- Transformers 4.36.2
|
59 |
+
- Pytorch 2.1.2
|
60 |
+
- Datasets 2.14.6
|
61 |
+
- Tokenizers 0.15.2
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 167807296
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:604200d4e1f2e2ca0b607d7d1d2f8e044fda603c7e85c1549abe49cc296d1fb2
|
3 |
size 167807296
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.4880518607604198,
|
4 |
+
"train_runtime": 4047.7642,
|
5 |
+
"train_samples": 20000,
|
6 |
+
"train_samples_per_second": 4.941,
|
7 |
+
"train_steps_per_second": 0.039
|
8 |
+
}
|
emissions.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
timestamp,project_name,run_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
|
2 |
+
2024-09-30T17:13:54,codecarbon,e7d0a523-3152-4b9e-aac8-14053067c0e8,4047.7754402160645,0.003761417965778655,9.292555926911488e-07,42.5,1303.599,188.74309015274048,0.04778571719345122,1.3231421916313986,0.21134891495653144,1.58227682378138,Canada,CAN,quebec,,,Linux-5.15.0-84-generic-x86_64-with-glibc2.35,3.10.14,2.2.3,32,Intel(R) Xeon(R) W-3335 CPU @ 3.40GHz,4,4 x NVIDIA GeForce RTX 4090,-71.2,46.8,503.3149070739746,machine,N,1.0
|
runs/Sep30_16-00-02_gpu4-119-5/events.out.tfevents.1727676386.gpu4-119-5.1887954.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da2eb2f5efe033e57431a5597218624f61d85d2305507a5e8c67874165a5f61f
|
3 |
+
size 15251
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.4880518607604198,
|
4 |
+
"train_runtime": 4047.7642,
|
5 |
+
"train_samples": 20000,
|
6 |
+
"train_samples_per_second": 4.941,
|
7 |
+
"train_steps_per_second": 0.039
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,254 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9984,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 156,
|
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.01,
|
13 |
+
"learning_rate": 3.125e-07,
|
14 |
+
"logits/chosen": -0.18967239558696747,
|
15 |
+
"logits/rejected": -0.41899582743644714,
|
16 |
+
"logps/chosen": -1382.499267578125,
|
17 |
+
"logps/rejected": -2863.098388671875,
|
18 |
+
"loss": 0.5,
|
19 |
+
"rewards/accuracies": 0.0,
|
20 |
+
"rewards/chosen": 0.0,
|
21 |
+
"rewards/margins": 0.0,
|
22 |
+
"rewards/rejected": 0.0,
|
23 |
+
"step": 1
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.06,
|
27 |
+
"learning_rate": 3.125e-06,
|
28 |
+
"logits/chosen": -0.15270556509494781,
|
29 |
+
"logits/rejected": -0.2915438413619995,
|
30 |
+
"logps/chosen": -2153.170654296875,
|
31 |
+
"logps/rejected": -3371.856689453125,
|
32 |
+
"loss": 0.4997,
|
33 |
+
"rewards/accuracies": 0.3993055522441864,
|
34 |
+
"rewards/chosen": -0.007403078954666853,
|
35 |
+
"rewards/margins": 0.0016438195016235113,
|
36 |
+
"rewards/rejected": -0.00904689822345972,
|
37 |
+
"step": 10
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.13,
|
41 |
+
"learning_rate": 4.989935734988098e-06,
|
42 |
+
"logits/chosen": -0.2100469321012497,
|
43 |
+
"logits/rejected": -0.32501596212387085,
|
44 |
+
"logps/chosen": -2614.16064453125,
|
45 |
+
"logps/rejected": -3642.28076171875,
|
46 |
+
"loss": 0.4963,
|
47 |
+
"rewards/accuracies": 0.4937500059604645,
|
48 |
+
"rewards/chosen": -0.1257179230451584,
|
49 |
+
"rewards/margins": 0.020404411479830742,
|
50 |
+
"rewards/rejected": -0.14612232148647308,
|
51 |
+
"step": 20
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.19,
|
55 |
+
"learning_rate": 4.8776412907378845e-06,
|
56 |
+
"logits/chosen": -0.19536757469177246,
|
57 |
+
"logits/rejected": -0.4390452802181244,
|
58 |
+
"logps/chosen": -2770.899169921875,
|
59 |
+
"logps/rejected": -4525.7744140625,
|
60 |
+
"loss": 0.4889,
|
61 |
+
"rewards/accuracies": 0.5249999761581421,
|
62 |
+
"rewards/chosen": -0.5548638701438904,
|
63 |
+
"rewards/margins": 0.1145726665854454,
|
64 |
+
"rewards/rejected": -0.6694365739822388,
|
65 |
+
"step": 30
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.26,
|
69 |
+
"learning_rate": 4.646121984004666e-06,
|
70 |
+
"logits/chosen": -0.23629632592201233,
|
71 |
+
"logits/rejected": -0.5095050930976868,
|
72 |
+
"logps/chosen": -3372.510498046875,
|
73 |
+
"logps/rejected": -5071.37451171875,
|
74 |
+
"loss": 0.4868,
|
75 |
+
"rewards/accuracies": 0.503125011920929,
|
76 |
+
"rewards/chosen": -1.0432322025299072,
|
77 |
+
"rewards/margins": 0.22232362627983093,
|
78 |
+
"rewards/rejected": -1.26555597782135,
|
79 |
+
"step": 40
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.32,
|
83 |
+
"learning_rate": 4.3069871595684795e-06,
|
84 |
+
"logits/chosen": -0.32125282287597656,
|
85 |
+
"logits/rejected": -0.562100887298584,
|
86 |
+
"logps/chosen": -3342.119873046875,
|
87 |
+
"logps/rejected": -5389.53955078125,
|
88 |
+
"loss": 0.4856,
|
89 |
+
"rewards/accuracies": 0.546875,
|
90 |
+
"rewards/chosen": -0.9807957410812378,
|
91 |
+
"rewards/margins": 0.4719497263431549,
|
92 |
+
"rewards/rejected": -1.4527455568313599,
|
93 |
+
"step": 50
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.38,
|
97 |
+
"learning_rate": 3.8772424536302565e-06,
|
98 |
+
"logits/chosen": -0.3323759138584137,
|
99 |
+
"logits/rejected": -0.5304074883460999,
|
100 |
+
"logps/chosen": -3480.371826171875,
|
101 |
+
"logps/rejected": -4698.51025390625,
|
102 |
+
"loss": 0.4883,
|
103 |
+
"rewards/accuracies": 0.53125,
|
104 |
+
"rewards/chosen": -0.97138512134552,
|
105 |
+
"rewards/margins": 0.20621006190776825,
|
106 |
+
"rewards/rejected": -1.1775951385498047,
|
107 |
+
"step": 60
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.45,
|
111 |
+
"learning_rate": 3.3784370602033572e-06,
|
112 |
+
"logits/chosen": -0.3379088044166565,
|
113 |
+
"logits/rejected": -0.5837884545326233,
|
114 |
+
"logps/chosen": -3488.02587890625,
|
115 |
+
"logps/rejected": -5069.7412109375,
|
116 |
+
"loss": 0.4871,
|
117 |
+
"rewards/accuracies": 0.4937500059604645,
|
118 |
+
"rewards/chosen": -1.0387831926345825,
|
119 |
+
"rewards/margins": 0.1595762073993683,
|
120 |
+
"rewards/rejected": -1.198359489440918,
|
121 |
+
"step": 70
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.51,
|
125 |
+
"learning_rate": 2.835583164544139e-06,
|
126 |
+
"logits/chosen": -0.2774398624897003,
|
127 |
+
"logits/rejected": -0.5058914422988892,
|
128 |
+
"logps/chosen": -2817.748779296875,
|
129 |
+
"logps/rejected": -4369.88720703125,
|
130 |
+
"loss": 0.4891,
|
131 |
+
"rewards/accuracies": 0.48124998807907104,
|
132 |
+
"rewards/chosen": -0.8934494853019714,
|
133 |
+
"rewards/margins": 0.030101608484983444,
|
134 |
+
"rewards/rejected": -0.9235512018203735,
|
135 |
+
"step": 80
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.58,
|
139 |
+
"learning_rate": 2.2759017277414165e-06,
|
140 |
+
"logits/chosen": -0.21915356814861298,
|
141 |
+
"logits/rejected": -0.47689905762672424,
|
142 |
+
"logps/chosen": -2961.93994140625,
|
143 |
+
"logps/rejected": -4903.95166015625,
|
144 |
+
"loss": 0.4839,
|
145 |
+
"rewards/accuracies": 0.5531250238418579,
|
146 |
+
"rewards/chosen": -0.7773372530937195,
|
147 |
+
"rewards/margins": 0.3540068566799164,
|
148 |
+
"rewards/rejected": -1.1313440799713135,
|
149 |
+
"step": 90
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.64,
|
153 |
+
"learning_rate": 1.7274575140626318e-06,
|
154 |
+
"logits/chosen": -0.3382042348384857,
|
155 |
+
"logits/rejected": -0.6111919283866882,
|
156 |
+
"logps/chosen": -2994.310302734375,
|
157 |
+
"logps/rejected": -4617.9794921875,
|
158 |
+
"loss": 0.4856,
|
159 |
+
"rewards/accuracies": 0.4937500059604645,
|
160 |
+
"rewards/chosen": -0.9103735089302063,
|
161 |
+
"rewards/margins": 0.1410413533449173,
|
162 |
+
"rewards/rejected": -1.051414966583252,
|
163 |
+
"step": 100
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.7,
|
167 |
+
"learning_rate": 1.217751806485235e-06,
|
168 |
+
"logits/chosen": -0.28220734000205994,
|
169 |
+
"logits/rejected": -0.5584867000579834,
|
170 |
+
"logps/chosen": -2910.51953125,
|
171 |
+
"logps/rejected": -4760.12158203125,
|
172 |
+
"loss": 0.4865,
|
173 |
+
"rewards/accuracies": 0.503125011920929,
|
174 |
+
"rewards/chosen": -0.8143825531005859,
|
175 |
+
"rewards/margins": 0.21515560150146484,
|
176 |
+
"rewards/rejected": -1.0295381546020508,
|
177 |
+
"step": 110
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.77,
|
181 |
+
"learning_rate": 7.723433775328385e-07,
|
182 |
+
"logits/chosen": -0.281380295753479,
|
183 |
+
"logits/rejected": -0.500409722328186,
|
184 |
+
"logps/chosen": -2965.12841796875,
|
185 |
+
"logps/rejected": -4710.0673828125,
|
186 |
+
"loss": 0.486,
|
187 |
+
"rewards/accuracies": 0.5531250238418579,
|
188 |
+
"rewards/chosen": -0.8462094068527222,
|
189 |
+
"rewards/margins": 0.2777535617351532,
|
190 |
+
"rewards/rejected": -1.1239629983901978,
|
191 |
+
"step": 120
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.83,
|
195 |
+
"learning_rate": 4.1356686569674344e-07,
|
196 |
+
"logits/chosen": -0.24006013572216034,
|
197 |
+
"logits/rejected": -0.46842899918556213,
|
198 |
+
"logps/chosen": -3051.799072265625,
|
199 |
+
"logps/rejected": -4552.3515625,
|
200 |
+
"loss": 0.4854,
|
201 |
+
"rewards/accuracies": 0.546875,
|
202 |
+
"rewards/chosen": -0.8304941058158875,
|
203 |
+
"rewards/margins": 0.16177485883235931,
|
204 |
+
"rewards/rejected": -0.9922689199447632,
|
205 |
+
"step": 130
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.9,
|
209 |
+
"learning_rate": 1.59412823400657e-07,
|
210 |
+
"logits/chosen": -0.2925623953342438,
|
211 |
+
"logits/rejected": -0.4558919072151184,
|
212 |
+
"logps/chosen": -3453.52880859375,
|
213 |
+
"logps/rejected": -4216.4990234375,
|
214 |
+
"loss": 0.4876,
|
215 |
+
"rewards/accuracies": 0.4749999940395355,
|
216 |
+
"rewards/chosen": -0.9790051579475403,
|
217 |
+
"rewards/margins": -0.0291127972304821,
|
218 |
+
"rewards/rejected": -0.9498924016952515,
|
219 |
+
"step": 140
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.96,
|
223 |
+
"learning_rate": 2.262559558016325e-08,
|
224 |
+
"logits/chosen": -0.29268592596054077,
|
225 |
+
"logits/rejected": -0.5145989656448364,
|
226 |
+
"logps/chosen": -2635.45703125,
|
227 |
+
"logps/rejected": -4756.46875,
|
228 |
+
"loss": 0.4888,
|
229 |
+
"rewards/accuracies": 0.546875,
|
230 |
+
"rewards/chosen": -0.7879113554954529,
|
231 |
+
"rewards/margins": 0.24760587513446808,
|
232 |
+
"rewards/rejected": -1.0355170965194702,
|
233 |
+
"step": 150
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 1.0,
|
237 |
+
"step": 156,
|
238 |
+
"total_flos": 0.0,
|
239 |
+
"train_loss": 0.4880518607604198,
|
240 |
+
"train_runtime": 4047.7642,
|
241 |
+
"train_samples_per_second": 4.941,
|
242 |
+
"train_steps_per_second": 0.039
|
243 |
+
}
|
244 |
+
],
|
245 |
+
"logging_steps": 10,
|
246 |
+
"max_steps": 156,
|
247 |
+
"num_input_tokens_seen": 0,
|
248 |
+
"num_train_epochs": 1,
|
249 |
+
"save_steps": 100,
|
250 |
+
"total_flos": 0.0,
|
251 |
+
"train_batch_size": 4,
|
252 |
+
"trial_name": null,
|
253 |
+
"trial_params": null
|
254 |
+
}
|