lewtun HF staff commited on
Commit
d9be7e2
1 Parent(s): d2043d8

Model save

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: lewtun/gemma-7b-sft-full-deita-10k-v0
4
+ tags:
5
+ - trl
6
+ - dpo
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: gemma-7b-dpo-full-mix1-beta-0.1-epoch-3
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
+ # gemma-7b-dpo-full-mix1-beta-0.1-epoch-3
17
+
18
+ This model is a fine-tuned version of [lewtun/gemma-7b-sft-full-deita-10k-v0](https://huggingface.co/lewtun/gemma-7b-sft-full-deita-10k-v0) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.5052
21
+ - Rewards/chosen: -2.9796
22
+ - Rewards/rejected: -5.1227
23
+ - Rewards/accuracies: 0.7708
24
+ - Rewards/margins: 2.1431
25
+ - Logps/rejected: -502.7766
26
+ - Logps/chosen: -483.2003
27
+ - Logits/rejected: 96.3785
28
+ - Logits/chosen: 102.3770
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-07
48
+ - train_batch_size: 2
49
+ - eval_batch_size: 4
50
+ - seed: 42
51
+ - distributed_type: multi-GPU
52
+ - num_devices: 8
53
+ - gradient_accumulation_steps: 8
54
+ - total_train_batch_size: 128
55
+ - total_eval_batch_size: 32
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: cosine
58
+ - lr_scheduler_warmup_ratio: 0.1
59
+ - num_epochs: 3.0
60
+
61
+ ### Training results
62
+
63
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
64
+ |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
65
+ | 0.1371 | 1.9 | 100 | 0.5052 | -2.9796 | -5.1227 | 0.7708 | 2.1431 | -502.7766 | -483.2003 | 96.3785 | 102.3770 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.39.0.dev0
71
+ - Pytorch 2.1.2+cu121
72
+ - Datasets 2.14.6
73
+ - Tokenizers 0.15.1
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.96,
3
+ "train_loss": 0.27917395799587935,
4
+ "train_runtime": 1799.8719,
5
+ "train_samples": 6750,
6
+ "train_samples_per_second": 11.251,
7
+ "train_steps_per_second": 0.087
8
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.39.0.dev0"
7
+ }
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b58d2c1a08ad8641421be10c1ee00a78cf6dbe8eaf28ff14c85b6dde37ba062e
3
+ size 4995496656
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b0b6dec1a1035d69ac45ea06f2511af7ca2a48d849cfc8dfbba6cccb5308ea5
3
+ size 4982953168
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab9d1cbcc6e28742508e38fd027303045dfc9bbced8ccf2dc2c638882397f4ee
3
+ size 4982953200
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b17b8e29209c5e55d20d4c05b791be91c882ec6de966a04c5351fb74ab24b17a
3
+ size 2113988336
model.safetensors.index.json ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 17075361792
4
+ },
5
+ "weight_map": {
6
+ "model.embed_tokens.weight": "model-00001-of-00004.safetensors",
7
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
8
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
9
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
10
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
11
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
12
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
13
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
14
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
15
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
16
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
17
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
18
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
19
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
20
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
21
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
22
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
23
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
24
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
25
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
26
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
27
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
28
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
29
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
30
+ "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
31
+ "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
32
+ "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
33
+ "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
34
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
35
+ "model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
36
+ "model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
37
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
38
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
39
+ "model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
40
+ "model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
41
+ "model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
42
+ "model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
43
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
44
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
45
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
46
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
47
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
48
+ "model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
49
+ "model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
50
+ "model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
51
+ "model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
52
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
53
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
54
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
55
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
56
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
57
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
58
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
59
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
60
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
61
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
62
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
63
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
64
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
65
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
66
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
67
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
68
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
69
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
70
+ "model.layers.15.input_layernorm.weight": "model-00003-of-00004.safetensors",
71
+ "model.layers.15.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
72
+ "model.layers.15.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
73
+ "model.layers.15.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
74
+ "model.layers.15.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
75
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
76
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
77
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
78
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
79
+ "model.layers.16.input_layernorm.weight": "model-00003-of-00004.safetensors",
80
+ "model.layers.16.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
81
+ "model.layers.16.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
82
+ "model.layers.16.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
83
+ "model.layers.16.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
84
+ "model.layers.16.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
85
+ "model.layers.16.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
86
+ "model.layers.16.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
87
+ "model.layers.16.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
88
+ "model.layers.17.input_layernorm.weight": "model-00003-of-00004.safetensors",
89
+ "model.layers.17.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
90
+ "model.layers.17.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
91
+ "model.layers.17.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
92
+ "model.layers.17.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
93
+ "model.layers.17.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
94
+ "model.layers.17.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
95
+ "model.layers.17.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
96
+ "model.layers.17.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
97
+ "model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
98
+ "model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
99
+ "model.layers.18.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
100
+ "model.layers.18.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
101
+ "model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
102
+ "model.layers.18.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
103
+ "model.layers.18.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
104
+ "model.layers.18.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
105
+ "model.layers.18.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
106
+ "model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
107
+ "model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
108
+ "model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
109
+ "model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
110
+ "model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
111
+ "model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
112
+ "model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
113
+ "model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
114
+ "model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
115
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
116
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
117
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
118
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
119
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
120
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
121
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
122
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
123
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
124
+ "model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
125
+ "model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
126
+ "model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
127
+ "model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
128
+ "model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
129
+ "model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
130
+ "model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
131
+ "model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
132
+ "model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
133
+ "model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
134
+ "model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
135
+ "model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
136
+ "model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
137
+ "model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
138
+ "model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
139
+ "model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
140
+ "model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
141
+ "model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
142
+ "model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
143
+ "model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
144
+ "model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
145
+ "model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
146
+ "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
147
+ "model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
148
+ "model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
149
+ "model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
150
+ "model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
151
+ "model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
152
+ "model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
153
+ "model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
154
+ "model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
155
+ "model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
156
+ "model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
157
+ "model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
158
+ "model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
159
+ "model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
160
+ "model.layers.24.input_layernorm.weight": "model-00004-of-00004.safetensors",
161
+ "model.layers.24.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
162
+ "model.layers.24.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
163
+ "model.layers.24.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
164
+ "model.layers.24.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
165
+ "model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
166
+ "model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
167
+ "model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
168
+ "model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
169
+ "model.layers.25.input_layernorm.weight": "model-00004-of-00004.safetensors",
170
+ "model.layers.25.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
171
+ "model.layers.25.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
172
+ "model.layers.25.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
173
+ "model.layers.25.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
174
+ "model.layers.25.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
175
+ "model.layers.25.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
176
+ "model.layers.25.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
177
+ "model.layers.25.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
178
+ "model.layers.26.input_layernorm.weight": "model-00004-of-00004.safetensors",
179
+ "model.layers.26.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
180
+ "model.layers.26.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
181
+ "model.layers.26.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
182
+ "model.layers.26.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
183
+ "model.layers.26.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
184
+ "model.layers.26.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
185
+ "model.layers.26.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
186
+ "model.layers.26.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
187
+ "model.layers.27.input_layernorm.weight": "model-00004-of-00004.safetensors",
188
+ "model.layers.27.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
189
+ "model.layers.27.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
190
+ "model.layers.27.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
191
+ "model.layers.27.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
192
+ "model.layers.27.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
193
+ "model.layers.27.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
194
+ "model.layers.27.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
195
+ "model.layers.27.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
196
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
197
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
198
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
199
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
200
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
201
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
202
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
203
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
204
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
205
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
206
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
207
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
208
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
209
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
210
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
211
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
212
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
213
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
214
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
215
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
216
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
217
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
218
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
219
+ "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
220
+ "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
221
+ "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
222
+ "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
223
+ "model.layers.6.input_layernorm.weight": "model-00002-of-00004.safetensors",
224
+ "model.layers.6.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
225
+ "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
226
+ "model.layers.6.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
227
+ "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
228
+ "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
229
+ "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
230
+ "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
231
+ "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
232
+ "model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
233
+ "model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
234
+ "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
235
+ "model.layers.7.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
236
+ "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
237
+ "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
238
+ "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
239
+ "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
240
+ "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
241
+ "model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
242
+ "model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
243
+ "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
244
+ "model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
245
+ "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
246
+ "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
247
+ "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
248
+ "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
249
+ "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
250
+ "model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
251
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
252
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
253
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
254
+ "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
255
+ "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
256
+ "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
257
+ "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
258
+ "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
259
+ "model.norm.weight": "model-00004-of-00004.safetensors"
260
+ }
261
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.96,
3
+ "train_loss": 0.27917395799587935,
4
+ "train_runtime": 1799.8719,
5
+ "train_samples": 6750,
6
+ "train_samples_per_second": 11.251,
7
+ "train_steps_per_second": 0.087
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.957345971563981,
5
+ "eval_steps": 100,
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.02,
13
+ "grad_norm": 265.9657020142556,
14
+ "learning_rate": 3.125e-08,
15
+ "logits/chosen": 123.11854553222656,
16
+ "logits/rejected": 97.00198364257812,
17
+ "logps/chosen": -425.18585205078125,
18
+ "logps/rejected": -424.1869201660156,
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.19,
28
+ "grad_norm": 372.96475604860683,
29
+ "learning_rate": 3.1249999999999997e-07,
30
+ "logits/chosen": 117.39414978027344,
31
+ "logits/rejected": 136.32305908203125,
32
+ "logps/chosen": -442.28045654296875,
33
+ "logps/rejected": -524.1576538085938,
34
+ "loss": 0.7748,
35
+ "rewards/accuracies": 0.4722222089767456,
36
+ "rewards/chosen": 0.1107947826385498,
37
+ "rewards/margins": 0.115071140229702,
38
+ "rewards/rejected": -0.004276359919458628,
39
+ "step": 10
40
+ },
41
+ {
42
+ "epoch": 0.38,
43
+ "grad_norm": 213.17360776034892,
44
+ "learning_rate": 4.989935734988097e-07,
45
+ "logits/chosen": 125.45426177978516,
46
+ "logits/rejected": 133.0935821533203,
47
+ "logps/chosen": -426.3124084472656,
48
+ "logps/rejected": -493.6737365722656,
49
+ "loss": 0.6502,
50
+ "rewards/accuracies": 0.625,
51
+ "rewards/chosen": -0.004780772142112255,
52
+ "rewards/margins": 0.6115384101867676,
53
+ "rewards/rejected": -0.6163192987442017,
54
+ "step": 20
55
+ },
56
+ {
57
+ "epoch": 0.57,
58
+ "grad_norm": 204.32015271324505,
59
+ "learning_rate": 4.877641290737883e-07,
60
+ "logits/chosen": 123.5244369506836,
61
+ "logits/rejected": 126.99784851074219,
62
+ "logps/chosen": -466.4947814941406,
63
+ "logps/rejected": -534.4097900390625,
64
+ "loss": 0.6377,
65
+ "rewards/accuracies": 0.7437499761581421,
66
+ "rewards/chosen": -1.137466549873352,
67
+ "rewards/margins": 1.5820324420928955,
68
+ "rewards/rejected": -2.719499111175537,
69
+ "step": 30
70
+ },
71
+ {
72
+ "epoch": 0.76,
73
+ "grad_norm": 200.5277184123756,
74
+ "learning_rate": 4.646121984004665e-07,
75
+ "logits/chosen": 126.0523910522461,
76
+ "logits/rejected": 120.98759460449219,
77
+ "logps/chosen": -489.78033447265625,
78
+ "logps/rejected": -514.3892211914062,
79
+ "loss": 0.6145,
80
+ "rewards/accuracies": 0.6875,
81
+ "rewards/chosen": -1.659891128540039,
82
+ "rewards/margins": 1.3025611639022827,
83
+ "rewards/rejected": -2.9624521732330322,
84
+ "step": 40
85
+ },
86
+ {
87
+ "epoch": 0.95,
88
+ "grad_norm": 205.88684610219255,
89
+ "learning_rate": 4.3069871595684787e-07,
90
+ "logits/chosen": 134.4938201904297,
91
+ "logits/rejected": 134.79849243164062,
92
+ "logps/chosen": -502.4814453125,
93
+ "logps/rejected": -523.4627685546875,
94
+ "loss": 0.5901,
95
+ "rewards/accuracies": 0.6499999761581421,
96
+ "rewards/chosen": -1.9658725261688232,
97
+ "rewards/margins": 1.2555662393569946,
98
+ "rewards/rejected": -3.2214386463165283,
99
+ "step": 50
100
+ },
101
+ {
102
+ "epoch": 1.14,
103
+ "grad_norm": 87.33372866728267,
104
+ "learning_rate": 3.877242453630256e-07,
105
+ "logits/chosen": 133.0808563232422,
106
+ "logits/rejected": 136.4200897216797,
107
+ "logps/chosen": -467.0462951660156,
108
+ "logps/rejected": -506.5567321777344,
109
+ "loss": 0.2517,
110
+ "rewards/accuracies": 0.875,
111
+ "rewards/chosen": -1.0280801057815552,
112
+ "rewards/margins": 3.1976516246795654,
113
+ "rewards/rejected": -4.22573184967041,
114
+ "step": 60
115
+ },
116
+ {
117
+ "epoch": 1.33,
118
+ "grad_norm": 71.00765502932312,
119
+ "learning_rate": 3.378437060203357e-07,
120
+ "logits/chosen": 128.8972625732422,
121
+ "logits/rejected": 129.42971801757812,
122
+ "logps/chosen": -440.6957092285156,
123
+ "logps/rejected": -552.7991943359375,
124
+ "loss": 0.1231,
125
+ "rewards/accuracies": 0.9375,
126
+ "rewards/chosen": -1.1781926155090332,
127
+ "rewards/margins": 3.8879973888397217,
128
+ "rewards/rejected": -5.066189765930176,
129
+ "step": 70
130
+ },
131
+ {
132
+ "epoch": 1.52,
133
+ "grad_norm": 68.54852270837435,
134
+ "learning_rate": 2.8355831645441387e-07,
135
+ "logits/chosen": 133.30160522460938,
136
+ "logits/rejected": 134.1454620361328,
137
+ "logps/chosen": -499.032958984375,
138
+ "logps/rejected": -585.234130859375,
139
+ "loss": 0.1193,
140
+ "rewards/accuracies": 0.9750000238418579,
141
+ "rewards/chosen": -0.9932767748832703,
142
+ "rewards/margins": 4.856534481048584,
143
+ "rewards/rejected": -5.849810600280762,
144
+ "step": 80
145
+ },
146
+ {
147
+ "epoch": 1.71,
148
+ "grad_norm": 96.90359229935069,
149
+ "learning_rate": 2.2759017277414164e-07,
150
+ "logits/chosen": 120.51957702636719,
151
+ "logits/rejected": 123.01716613769531,
152
+ "logps/chosen": -477.44366455078125,
153
+ "logps/rejected": -548.8724365234375,
154
+ "loss": 0.1182,
155
+ "rewards/accuracies": 0.9624999761581421,
156
+ "rewards/chosen": -1.5276060104370117,
157
+ "rewards/margins": 4.922442436218262,
158
+ "rewards/rejected": -6.450047969818115,
159
+ "step": 90
160
+ },
161
+ {
162
+ "epoch": 1.9,
163
+ "grad_norm": 57.0241100183833,
164
+ "learning_rate": 1.7274575140626315e-07,
165
+ "logits/chosen": 134.63583374023438,
166
+ "logits/rejected": 125.1494140625,
167
+ "logps/chosen": -492.84930419921875,
168
+ "logps/rejected": -590.646728515625,
169
+ "loss": 0.1371,
170
+ "rewards/accuracies": 0.987500011920929,
171
+ "rewards/chosen": -1.4459283351898193,
172
+ "rewards/margins": 5.340741157531738,
173
+ "rewards/rejected": -6.7866692543029785,
174
+ "step": 100
175
+ },
176
+ {
177
+ "epoch": 1.9,
178
+ "eval_logits/chosen": 102.37699127197266,
179
+ "eval_logits/rejected": 96.37848663330078,
180
+ "eval_logps/chosen": -483.2002868652344,
181
+ "eval_logps/rejected": -502.7766418457031,
182
+ "eval_loss": 0.5052046775817871,
183
+ "eval_rewards/accuracies": 0.7708333134651184,
184
+ "eval_rewards/chosen": -2.9795796871185303,
185
+ "eval_rewards/margins": 2.143129587173462,
186
+ "eval_rewards/rejected": -5.122709274291992,
187
+ "eval_runtime": 48.3488,
188
+ "eval_samples_per_second": 15.512,
189
+ "eval_steps_per_second": 0.496,
190
+ "step": 100
191
+ },
192
+ {
193
+ "epoch": 2.09,
194
+ "grad_norm": 49.58918461406247,
195
+ "learning_rate": 1.2177518064852348e-07,
196
+ "logits/chosen": 113.58479309082031,
197
+ "logits/rejected": 127.19537353515625,
198
+ "logps/chosen": -511.4662170410156,
199
+ "logps/rejected": -620.75537109375,
200
+ "loss": 0.0929,
201
+ "rewards/accuracies": 0.96875,
202
+ "rewards/chosen": -1.6378005743026733,
203
+ "rewards/margins": 5.002486228942871,
204
+ "rewards/rejected": -6.640286922454834,
205
+ "step": 110
206
+ },
207
+ {
208
+ "epoch": 2.27,
209
+ "grad_norm": 30.33881666826054,
210
+ "learning_rate": 7.723433775328384e-08,
211
+ "logits/chosen": 124.79753112792969,
212
+ "logits/rejected": 125.82017517089844,
213
+ "logps/chosen": -493.6553649902344,
214
+ "logps/rejected": -574.6585693359375,
215
+ "loss": 0.053,
216
+ "rewards/accuracies": 0.9937499761581421,
217
+ "rewards/chosen": -1.6378300189971924,
218
+ "rewards/margins": 5.504368305206299,
219
+ "rewards/rejected": -7.142198085784912,
220
+ "step": 120
221
+ },
222
+ {
223
+ "epoch": 2.46,
224
+ "grad_norm": 23.06668849787155,
225
+ "learning_rate": 4.1356686569674335e-08,
226
+ "logits/chosen": 129.1642608642578,
227
+ "logits/rejected": 134.2584228515625,
228
+ "logps/chosen": -508.4425354003906,
229
+ "logps/rejected": -594.6097412109375,
230
+ "loss": 0.0541,
231
+ "rewards/accuracies": 0.9937499761581421,
232
+ "rewards/chosen": -1.4683927297592163,
233
+ "rewards/margins": 5.420845985412598,
234
+ "rewards/rejected": -6.8892388343811035,
235
+ "step": 130
236
+ },
237
+ {
238
+ "epoch": 2.65,
239
+ "grad_norm": 38.07392153670512,
240
+ "learning_rate": 1.5941282340065697e-08,
241
+ "logits/chosen": 114.87281799316406,
242
+ "logits/rejected": 115.1664047241211,
243
+ "logps/chosen": -465.3794860839844,
244
+ "logps/rejected": -584.0101318359375,
245
+ "loss": 0.0538,
246
+ "rewards/accuracies": 1.0,
247
+ "rewards/chosen": -1.9863094091415405,
248
+ "rewards/margins": 5.705286979675293,
249
+ "rewards/rejected": -7.691596984863281,
250
+ "step": 140
251
+ },
252
+ {
253
+ "epoch": 2.84,
254
+ "grad_norm": 46.62238024751895,
255
+ "learning_rate": 2.2625595580163247e-09,
256
+ "logits/chosen": 121.98884582519531,
257
+ "logits/rejected": 135.7744598388672,
258
+ "logps/chosen": -492.438720703125,
259
+ "logps/rejected": -580.8795166015625,
260
+ "loss": 0.0589,
261
+ "rewards/accuracies": 0.96875,
262
+ "rewards/chosen": -1.7609163522720337,
263
+ "rewards/margins": 5.512405872344971,
264
+ "rewards/rejected": -7.273321628570557,
265
+ "step": 150
266
+ },
267
+ {
268
+ "epoch": 2.96,
269
+ "step": 156,
270
+ "total_flos": 0.0,
271
+ "train_loss": 0.27917395799587935,
272
+ "train_runtime": 1799.8719,
273
+ "train_samples_per_second": 11.251,
274
+ "train_steps_per_second": 0.087
275
+ }
276
+ ],
277
+ "logging_steps": 10,
278
+ "max_steps": 156,
279
+ "num_input_tokens_seen": 0,
280
+ "num_train_epochs": 3,
281
+ "save_steps": 100,
282
+ "total_flos": 0.0,
283
+ "train_batch_size": 2,
284
+ "trial_name": null,
285
+ "trial_params": null
286
+ }