taicheng commited on
Commit
9bb860f
1 Parent(s): 518abd7

Model save

Browse files
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: alignment-handbook/zephyr-7b-sft-full
5
+ tags:
6
+ - trl
7
+ - dpo
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: zephyr-7b-align-scan-0.0-0.0-polynomial-1
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # zephyr-7b-align-scan-0.0-0.0-polynomial-1
18
+
19
+ This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on an unknown dataset.
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: 6.389441661416038e-07
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - distributed_type: multi-GPU
43
+ - num_devices: 4
44
+ - gradient_accumulation_steps: 2
45
+ - total_train_batch_size: 64
46
+ - total_eval_batch_size: 32
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: polynomial
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - num_epochs: 1
51
+
52
+ ### Training results
53
+
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.44.2
59
+ - Pytorch 2.4.0
60
+ - Datasets 2.21.0
61
+ - 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.6817257404327393,
5
+ "train_runtime": 994.9537,
6
+ "train_samples": 6113,
7
+ "train_samples_per_second": 6.144,
8
+ "train_steps_per_second": 0.096
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.44.2"
6
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.6817257404327393,
5
+ "train_runtime": 994.9537,
6
+ "train_samples": 6113,
7
+ "train_samples_per_second": 6.144,
8
+ "train_steps_per_second": 0.096
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 100,
6
+ "global_step": 96,
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.010416666666666666,
13
+ "grad_norm": 3.100854180799138,
14
+ "learning_rate": 6.389441661416039e-08,
15
+ "logits/chosen": -2.590585231781006,
16
+ "logits/rejected": -2.5664222240448,
17
+ "logps/chosen": -80.29847717285156,
18
+ "logps/rejected": -53.10200881958008,
19
+ "loss": 0.6931,
20
+ "rewards/accuracies": 0.0,
21
+ "rewards/chosen": 0.0,
22
+ "rewards/margins": 0.0,
23
+ "rewards/rejected": 0.0,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.10416666666666667,
28
+ "grad_norm": 2.781126507699089,
29
+ "learning_rate": 6.389441661416038e-07,
30
+ "logits/chosen": -2.5558536052703857,
31
+ "logits/rejected": -2.5378901958465576,
32
+ "logps/chosen": -87.89214324951172,
33
+ "logps/rejected": -80.98480224609375,
34
+ "loss": 0.6931,
35
+ "rewards/accuracies": 0.2291666716337204,
36
+ "rewards/chosen": 0.00010837005538633093,
37
+ "rewards/margins": -0.00014457135694101453,
38
+ "rewards/rejected": 0.0002529414196033031,
39
+ "step": 10
40
+ },
41
+ {
42
+ "epoch": 0.20833333333333334,
43
+ "grad_norm": 2.553038645699022,
44
+ "learning_rate": 5.762762398460686e-07,
45
+ "logits/chosen": -2.5938525199890137,
46
+ "logits/rejected": -2.543900966644287,
47
+ "logps/chosen": -101.56424713134766,
48
+ "logps/rejected": -88.41798400878906,
49
+ "loss": 0.6914,
50
+ "rewards/accuracies": 0.3375000059604645,
51
+ "rewards/chosen": 0.00841432437300682,
52
+ "rewards/margins": 0.0015086036873981357,
53
+ "rewards/rejected": 0.006905719637870789,
54
+ "step": 20
55
+ },
56
+ {
57
+ "epoch": 0.3125,
58
+ "grad_norm": 3.7950522400890523,
59
+ "learning_rate": 5.136083135505332e-07,
60
+ "logits/chosen": -2.456357002258301,
61
+ "logits/rejected": -2.472012758255005,
62
+ "logps/chosen": -66.62992095947266,
63
+ "logps/rejected": -75.86373901367188,
64
+ "loss": 0.6891,
65
+ "rewards/accuracies": 0.32499998807907104,
66
+ "rewards/chosen": 0.003802085295319557,
67
+ "rewards/margins": 0.0082187969237566,
68
+ "rewards/rejected": -0.004416711628437042,
69
+ "step": 30
70
+ },
71
+ {
72
+ "epoch": 0.4166666666666667,
73
+ "grad_norm": 3.519596152843829,
74
+ "learning_rate": 4.5094038725499785e-07,
75
+ "logits/chosen": -2.5018997192382812,
76
+ "logits/rejected": -2.4887325763702393,
77
+ "logps/chosen": -71.3689956665039,
78
+ "logps/rejected": -73.41954040527344,
79
+ "loss": 0.6849,
80
+ "rewards/accuracies": 0.3062500059604645,
81
+ "rewards/chosen": 0.003661749418824911,
82
+ "rewards/margins": 0.01640659011900425,
83
+ "rewards/rejected": -0.012744839303195477,
84
+ "step": 40
85
+ },
86
+ {
87
+ "epoch": 0.5208333333333334,
88
+ "grad_norm": 5.231502190809433,
89
+ "learning_rate": 3.8827246095946254e-07,
90
+ "logits/chosen": -2.3902275562286377,
91
+ "logits/rejected": -2.4062817096710205,
92
+ "logps/chosen": -49.79673385620117,
93
+ "logps/rejected": -60.72575759887695,
94
+ "loss": 0.6826,
95
+ "rewards/accuracies": 0.22499999403953552,
96
+ "rewards/chosen": 0.005200926214456558,
97
+ "rewards/margins": 0.013756193220615387,
98
+ "rewards/rejected": -0.008555267006158829,
99
+ "step": 50
100
+ },
101
+ {
102
+ "epoch": 0.625,
103
+ "grad_norm": 4.689957831926571,
104
+ "learning_rate": 3.256045346639272e-07,
105
+ "logits/chosen": -2.4439873695373535,
106
+ "logits/rejected": -2.4207093715667725,
107
+ "logps/chosen": -86.81434631347656,
108
+ "logps/rejected": -94.7623291015625,
109
+ "loss": 0.6804,
110
+ "rewards/accuracies": 0.3125,
111
+ "rewards/chosen": -0.036475084722042084,
112
+ "rewards/margins": 0.036166418343782425,
113
+ "rewards/rejected": -0.07264150679111481,
114
+ "step": 60
115
+ },
116
+ {
117
+ "epoch": 0.7291666666666666,
118
+ "grad_norm": 5.829443326665767,
119
+ "learning_rate": 2.6293660836839186e-07,
120
+ "logits/chosen": -2.3675405979156494,
121
+ "logits/rejected": -2.348362445831299,
122
+ "logps/chosen": -116.78021240234375,
123
+ "logps/rejected": -112.79603576660156,
124
+ "loss": 0.68,
125
+ "rewards/accuracies": 0.3125,
126
+ "rewards/chosen": -0.09623803943395615,
127
+ "rewards/margins": 0.03254436329007149,
128
+ "rewards/rejected": -0.12878240644931793,
129
+ "step": 70
130
+ },
131
+ {
132
+ "epoch": 0.8333333333333334,
133
+ "grad_norm": 6.4331651891422785,
134
+ "learning_rate": 2.0026868207285652e-07,
135
+ "logits/chosen": -2.2932543754577637,
136
+ "logits/rejected": -2.2299153804779053,
137
+ "logps/chosen": -97.70858001708984,
138
+ "logps/rejected": -105.18177795410156,
139
+ "loss": 0.6695,
140
+ "rewards/accuracies": 0.39375001192092896,
141
+ "rewards/chosen": -0.05681135132908821,
142
+ "rewards/margins": 0.06468762457370758,
143
+ "rewards/rejected": -0.1214989647269249,
144
+ "step": 80
145
+ },
146
+ {
147
+ "epoch": 0.9375,
148
+ "grad_norm": 5.087077256901478,
149
+ "learning_rate": 1.376007557773212e-07,
150
+ "logits/chosen": -2.2146198749542236,
151
+ "logits/rejected": -2.2123677730560303,
152
+ "logps/chosen": -61.2127571105957,
153
+ "logps/rejected": -81.22966003417969,
154
+ "loss": 0.6723,
155
+ "rewards/accuracies": 0.26249998807907104,
156
+ "rewards/chosen": -0.034062620252370834,
157
+ "rewards/margins": 0.049583159387111664,
158
+ "rewards/rejected": -0.0836457759141922,
159
+ "step": 90
160
+ },
161
+ {
162
+ "epoch": 1.0,
163
+ "step": 96,
164
+ "total_flos": 0.0,
165
+ "train_loss": 0.6817257404327393,
166
+ "train_runtime": 994.9537,
167
+ "train_samples_per_second": 6.144,
168
+ "train_steps_per_second": 0.096
169
+ }
170
+ ],
171
+ "logging_steps": 10,
172
+ "max_steps": 96,
173
+ "num_input_tokens_seen": 0,
174
+ "num_train_epochs": 1,
175
+ "save_steps": 100,
176
+ "stateful_callbacks": {
177
+ "TrainerControl": {
178
+ "args": {
179
+ "should_epoch_stop": false,
180
+ "should_evaluate": false,
181
+ "should_log": false,
182
+ "should_save": true,
183
+ "should_training_stop": true
184
+ },
185
+ "attributes": {}
186
+ }
187
+ },
188
+ "total_flos": 0.0,
189
+ "train_batch_size": 8,
190
+ "trial_name": null,
191
+ "trial_params": null
192
+ }