hZzy commited on
Commit
d5a588a
·
verified ·
1 Parent(s): 2fc2b9c

Training in progress, step 180

Browse files
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: hZzy/qwen2.5-0.5b-sft-news-IFT
4
+ tags:
5
+ - alignment-handbook
6
+ - ndcg
7
+ - trl
8
+ - expo
9
+ - generated_from_trainer
10
+ - trl
11
+ - expo
12
+ - generated_from_trainer
13
+ datasets:
14
+ - hZzy/train_pairwise
15
+ model-index:
16
+ - name: qwen2.5-0.5b-expo-DPO-ES-TRY
17
+ results: []
18
+ ---
19
+
20
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
21
+ should probably proofread and complete it, then remove this comment. -->
22
+
23
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/zhiyuzha-university-of-florida/huggingface/runs/dd7oiosi)
24
+ # qwen2.5-0.5b-expo-DPO-ES-TRY
25
+
26
+ This model is a fine-tuned version of [hZzy/qwen2.5-0.5b-sft-news-IFT](https://huggingface.co/hZzy/qwen2.5-0.5b-sft-news-IFT) on the hZzy/train_pairwise dataset.
27
+ It achieves the following results on the evaluation set:
28
+ - Loss: 0.6866
29
+ - Logps: -91.4116
30
+ - Logits: -1.5339
31
+ - Objective: 0.6926
32
+ - Dpo Loss: 0.6926
33
+ - Regularize: 0.6926
34
+ - Ranking Simple: 0.5052
35
+ - Ranking Idealized: 0.5888
36
+ - Ranking Idealized Expo: 0.5093
37
+ - Dpo Wo Beta: -0.9551
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 5e-07
57
+ - train_batch_size: 4
58
+ - eval_batch_size: 4
59
+ - seed: 42
60
+ - distributed_type: multi-GPU
61
+ - num_devices: 6
62
+ - gradient_accumulation_steps: 12
63
+ - total_train_batch_size: 288
64
+ - total_eval_batch_size: 24
65
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
66
+ - lr_scheduler_type: cosine
67
+ - lr_scheduler_warmup_ratio: 0.1
68
+ - num_epochs: 2
69
+
70
+ ### Training results
71
+
72
+ | Training Loss | Epoch | Step | Validation Loss | Logps | Logits | Objective | Dpo Loss | Regularize | Ranking Simple | Ranking Idealized | Ranking Idealized Expo | Dpo Wo Beta |
73
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:-------:|:---------:|:--------:|:----------:|:--------------:|:-----------------:|:----------------------:|:-----------:|
74
+ | 0.672 | 0.2041 | 36 | 0.6866 | -91.4116 | -1.5339 | 0.6926 | 0.6926 | 0.6926 | 0.5052 | 0.5888 | 0.5093 | -0.9551 |
75
+ | 0.6533 | 0.4081 | 72 | 0.6769 | -92.4758 | -1.6311 | 0.6885 | 0.6885 | 0.6885 | 0.5176 | 0.5888 | 0.5093 | -1.1473 |
76
+ | 0.604 | 0.6122 | 108 | 0.6773 | -94.0584 | -1.7691 | 0.6853 | 0.6853 | 0.6853 | 0.5186 | 0.5888 | 0.5093 | -1.3961 |
77
+ | 0.5911 | 0.8162 | 144 | 0.6775 | -95.7578 | -1.8165 | 0.6886 | 0.6886 | 0.6886 | 0.5186 | 0.5888 | 0.5093 | -1.5153 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.42.0
83
+ - Pytorch 2.3.0+cu121
84
+ - Datasets 2.19.1
85
+ - Tokenizers 0.19.1
added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
all_results.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.8162494095418045,
3
+ "eval_dpo_loss": 0.6925506591796875,
4
+ "eval_dpo_wo_beta": -0.9551481008529663,
5
+ "eval_logits": -1.5338705778121948,
6
+ "eval_logps": -91.41157531738281,
7
+ "eval_loss": 0.6866393685340881,
8
+ "eval_objective": 0.6925506591796875,
9
+ "eval_ranking_idealized": 0.5888429880142212,
10
+ "eval_ranking_idealized_expo": 0.5092975497245789,
11
+ "eval_ranking_simple": 0.5051652789115906,
12
+ "eval_regularize": 0.6925506591796875,
13
+ "eval_runtime": 210.5773,
14
+ "eval_samples": 5790,
15
+ "eval_samples_per_second": 27.496,
16
+ "eval_steps_per_second": 1.149,
17
+ "total_flos": 0.0,
18
+ "train_loss": 0.6411769655015733,
19
+ "train_runtime": 5149.1432,
20
+ "train_samples": 50802,
21
+ "train_samples_per_second": 19.732,
22
+ "train_steps_per_second": 0.068
23
+ }
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hZzy/qwen2.5-0.5b-sft-news-IFT",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151644,
8
+ "eos_token_id": 151645,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 896,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 4864,
13
+ "max_position_embeddings": 32768,
14
+ "max_window_layers": 24,
15
+ "model_type": "qwen2",
16
+ "num_attention_heads": 14,
17
+ "num_hidden_layers": 24,
18
+ "num_key_value_heads": 2,
19
+ "pad_token_id": 151645,
20
+ "rms_norm_eps": 1e-06,
21
+ "rope_theta": 1000000.0,
22
+ "sliding_window": 32768,
23
+ "tie_word_embeddings": true,
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.42.0",
26
+ "use_cache": false,
27
+ "use_mrope": false,
28
+ "use_sliding_window": false,
29
+ "vocab_size": 151665
30
+ }
eval_results.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.8162494095418045,
3
+ "eval_dpo_loss": 0.6925506591796875,
4
+ "eval_dpo_wo_beta": -0.9551481008529663,
5
+ "eval_logits": -1.5338705778121948,
6
+ "eval_logps": -91.41157531738281,
7
+ "eval_loss": 0.6866393685340881,
8
+ "eval_objective": 0.6925506591796875,
9
+ "eval_ranking_idealized": 0.5888429880142212,
10
+ "eval_ranking_idealized_expo": 0.5092975497245789,
11
+ "eval_ranking_simple": 0.5051652789115906,
12
+ "eval_regularize": 0.6925506591796875,
13
+ "eval_runtime": 210.5773,
14
+ "eval_samples": 5790,
15
+ "eval_samples_per_second": 27.496,
16
+ "eval_steps_per_second": 1.149
17
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151644,
3
+ "eos_token_id": 151645,
4
+ "max_new_tokens": 2048,
5
+ "pad_token_id": 151645,
6
+ "transformers_version": "4.42.0"
7
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5171a258a6b8d8c41f45bc3540ce7b4ca6f5e1dff5f1e1ae03bec89afe2d1f74
3
+ size 1975192208
special_tokens_map.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<|im_start|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<|im_end|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ }
27
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>"
185
+ ],
186
+ "bos_token": "<|im_start|>",
187
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
188
+ "clean_up_tokenization_spaces": false,
189
+ "eos_token": "<|im_end|>",
190
+ "errors": "replace",
191
+ "model_max_length": 2048,
192
+ "pad_token": "<|im_end|>",
193
+ "split_special_tokens": false,
194
+ "tokenizer_class": "Qwen2Tokenizer",
195
+ "unk_token": null
196
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.8162494095418045,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.6411769655015733,
5
+ "train_runtime": 5149.1432,
6
+ "train_samples": 50802,
7
+ "train_samples_per_second": 19.732,
8
+ "train_steps_per_second": 0.068
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,583 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": -0.9551481008529663,
3
+ "best_model_checkpoint": "./qwen2.5-0.5b/qwen2.5-0.5b-expo-DPO-ES-TRY/checkpoint-36",
4
+ "epoch": 0.8162494095418045,
5
+ "eval_steps": 36,
6
+ "global_step": 144,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "dpo_loss": 0.6931471824645996,
13
+ "dpo_wo_beta": -0.6931471824645996,
14
+ "epoch": 0.005668398677373642,
15
+ "grad_norm": 13.433596947813236,
16
+ "learning_rate": 1.3888888888888887e-08,
17
+ "logits": -1.3874311447143555,
18
+ "logps": -88.43561553955078,
19
+ "loss": 0.6931,
20
+ "objective": 0.6931471824645996,
21
+ "ranking_idealized": 0.625,
22
+ "ranking_idealized_expo": 0.5208333134651184,
23
+ "ranking_simple": 0.5208333134651184,
24
+ "regularize": 0.6931471824645996,
25
+ "step": 1
26
+ },
27
+ {
28
+ "dpo_loss": 0.6931712031364441,
29
+ "dpo_wo_beta": -0.6935088634490967,
30
+ "epoch": 0.02834199338686821,
31
+ "grad_norm": 13.470599581187907,
32
+ "learning_rate": 6.944444444444444e-08,
33
+ "logits": -1.408589482307434,
34
+ "logps": -84.63459777832031,
35
+ "loss": 0.6931,
36
+ "objective": 0.6931712031364441,
37
+ "ranking_idealized": 0.6197916865348816,
38
+ "ranking_idealized_expo": 0.546875,
39
+ "ranking_simple": 0.546875,
40
+ "regularize": 0.6931712031364441,
41
+ "step": 5
42
+ },
43
+ {
44
+ "dpo_loss": 0.6912738680839539,
45
+ "dpo_wo_beta": -0.6787264943122864,
46
+ "epoch": 0.05668398677373642,
47
+ "grad_norm": 12.891994338762009,
48
+ "learning_rate": 1.3888888888888888e-07,
49
+ "logits": -1.4766913652420044,
50
+ "logps": -83.30558776855469,
51
+ "loss": 0.6922,
52
+ "objective": 0.6912738680839539,
53
+ "ranking_idealized": 0.6000000238418579,
54
+ "ranking_idealized_expo": 0.5083333253860474,
55
+ "ranking_simple": 0.5083333253860474,
56
+ "regularize": 0.6912738680839539,
57
+ "step": 10
58
+ },
59
+ {
60
+ "dpo_loss": 0.6917670369148254,
61
+ "dpo_wo_beta": -0.6925874352455139,
62
+ "epoch": 0.08502598016060463,
63
+ "grad_norm": 12.616091674274701,
64
+ "learning_rate": 2.0833333333333333e-07,
65
+ "logits": -1.4627829790115356,
66
+ "logps": -83.51612854003906,
67
+ "loss": 0.691,
68
+ "objective": 0.6917670369148254,
69
+ "ranking_idealized": 0.5916666388511658,
70
+ "ranking_idealized_expo": 0.5041666626930237,
71
+ "ranking_simple": 0.512499988079071,
72
+ "regularize": 0.6917670369148254,
73
+ "step": 15
74
+ },
75
+ {
76
+ "dpo_loss": 0.6909351348876953,
77
+ "dpo_wo_beta": -0.7156455516815186,
78
+ "epoch": 0.11336797354747284,
79
+ "grad_norm": 13.131384103632906,
80
+ "learning_rate": 2.7777777777777776e-07,
81
+ "logits": -1.4652808904647827,
82
+ "logps": -83.81787109375,
83
+ "loss": 0.6882,
84
+ "objective": 0.6909351348876953,
85
+ "ranking_idealized": 0.625,
86
+ "ranking_idealized_expo": 0.5375000238418579,
87
+ "ranking_simple": 0.5375000238418579,
88
+ "regularize": 0.6909351348876953,
89
+ "step": 20
90
+ },
91
+ {
92
+ "dpo_loss": 0.6833630800247192,
93
+ "dpo_wo_beta": -0.6689243316650391,
94
+ "epoch": 0.14170996693434104,
95
+ "grad_norm": 12.965314552644642,
96
+ "learning_rate": 3.472222222222222e-07,
97
+ "logits": -1.5261986255645752,
98
+ "logps": -83.36495971679688,
99
+ "loss": 0.6842,
100
+ "objective": 0.6833630800247192,
101
+ "ranking_idealized": 0.5958333611488342,
102
+ "ranking_idealized_expo": 0.4958333373069763,
103
+ "ranking_simple": 0.5,
104
+ "regularize": 0.6833630800247192,
105
+ "step": 25
106
+ },
107
+ {
108
+ "dpo_loss": 0.6835373044013977,
109
+ "dpo_wo_beta": -0.7437445521354675,
110
+ "epoch": 0.17005196032120926,
111
+ "grad_norm": 13.693441774251875,
112
+ "learning_rate": 4.1666666666666667e-07,
113
+ "logits": -1.512542724609375,
114
+ "logps": -83.833984375,
115
+ "loss": 0.6812,
116
+ "objective": 0.6835373044013977,
117
+ "ranking_idealized": 0.6041666865348816,
118
+ "ranking_idealized_expo": 0.5291666388511658,
119
+ "ranking_simple": 0.5333333611488342,
120
+ "regularize": 0.6835373044013977,
121
+ "step": 30
122
+ },
123
+ {
124
+ "dpo_loss": 0.6732779145240784,
125
+ "dpo_wo_beta": -0.7419623136520386,
126
+ "epoch": 0.19839395370807747,
127
+ "grad_norm": 13.409062026931796,
128
+ "learning_rate": 4.861111111111111e-07,
129
+ "logits": -1.4930462837219238,
130
+ "logps": -82.56928253173828,
131
+ "loss": 0.672,
132
+ "objective": 0.6732779145240784,
133
+ "ranking_idealized": 0.612500011920929,
134
+ "ranking_idealized_expo": 0.5041666626930237,
135
+ "ranking_simple": 0.512499988079071,
136
+ "regularize": 0.6732779145240784,
137
+ "step": 35
138
+ },
139
+ {
140
+ "epoch": 0.20406235238545112,
141
+ "eval_dpo_loss": 0.6925506591796875,
142
+ "eval_dpo_wo_beta": -0.9551481008529663,
143
+ "eval_logits": -1.5338705778121948,
144
+ "eval_logps": -91.41157531738281,
145
+ "eval_loss": 0.6866393685340881,
146
+ "eval_objective": 0.6925506591796875,
147
+ "eval_ranking_idealized": 0.5888429880142212,
148
+ "eval_ranking_idealized_expo": 0.5092975497245789,
149
+ "eval_ranking_simple": 0.5051652789115906,
150
+ "eval_regularize": 0.6925506591796875,
151
+ "eval_runtime": 211.8538,
152
+ "eval_samples_per_second": 27.33,
153
+ "eval_steps_per_second": 1.142,
154
+ "step": 36
155
+ },
156
+ {
157
+ "dpo_loss": 0.6632875800132751,
158
+ "dpo_wo_beta": -0.7245739102363586,
159
+ "epoch": 0.22673594709494568,
160
+ "grad_norm": 15.824803800139307,
161
+ "learning_rate": 4.998023493068254e-07,
162
+ "logits": -1.4679725170135498,
163
+ "logps": -83.45999908447266,
164
+ "loss": 0.6728,
165
+ "objective": 0.6632875800132751,
166
+ "ranking_idealized": 0.6000000238418579,
167
+ "ranking_idealized_expo": 0.5208333134651184,
168
+ "ranking_simple": 0.5208333134651184,
169
+ "regularize": 0.6632875800132751,
170
+ "step": 40
171
+ },
172
+ {
173
+ "dpo_loss": 0.6583938002586365,
174
+ "dpo_wo_beta": -0.7636463642120361,
175
+ "epoch": 0.25507794048181387,
176
+ "grad_norm": 13.750505573599494,
177
+ "learning_rate": 4.989999289644991e-07,
178
+ "logits": -1.594675898551941,
179
+ "logps": -84.99964141845703,
180
+ "loss": 0.6655,
181
+ "objective": 0.6583938002586365,
182
+ "ranking_idealized": 0.6208333373069763,
183
+ "ranking_idealized_expo": 0.5375000238418579,
184
+ "ranking_simple": 0.5458333492279053,
185
+ "regularize": 0.6583938002586365,
186
+ "step": 45
187
+ },
188
+ {
189
+ "dpo_loss": 0.6567264795303345,
190
+ "dpo_wo_beta": -0.863508403301239,
191
+ "epoch": 0.2834199338686821,
192
+ "grad_norm": 13.413740152325811,
193
+ "learning_rate": 4.975823666181255e-07,
194
+ "logits": -1.5660439729690552,
195
+ "logps": -82.82308959960938,
196
+ "loss": 0.6644,
197
+ "objective": 0.6567264795303345,
198
+ "ranking_idealized": 0.5416666865348816,
199
+ "ranking_idealized_expo": 0.42500001192092896,
200
+ "ranking_simple": 0.4749999940395355,
201
+ "regularize": 0.6567264795303345,
202
+ "step": 50
203
+ },
204
+ {
205
+ "dpo_loss": 0.6495455503463745,
206
+ "dpo_wo_beta": -0.7752765417098999,
207
+ "epoch": 0.3117619272555503,
208
+ "grad_norm": 14.577952034074448,
209
+ "learning_rate": 4.955531642853403e-07,
210
+ "logits": -1.5825331211090088,
211
+ "logps": -84.16141510009766,
212
+ "loss": 0.653,
213
+ "objective": 0.6495455503463745,
214
+ "ranking_idealized": 0.625,
215
+ "ranking_idealized_expo": 0.5416666865348816,
216
+ "ranking_simple": 0.550000011920929,
217
+ "regularize": 0.6495455503463745,
218
+ "step": 55
219
+ },
220
+ {
221
+ "dpo_loss": 0.6498515605926514,
222
+ "dpo_wo_beta": -0.736571729183197,
223
+ "epoch": 0.3401039206424185,
224
+ "grad_norm": 13.788809377020446,
225
+ "learning_rate": 4.929173350101024e-07,
226
+ "logits": -1.5849006175994873,
227
+ "logps": -83.91230773925781,
228
+ "loss": 0.6514,
229
+ "objective": 0.6498515605926514,
230
+ "ranking_idealized": 0.6333333253860474,
231
+ "ranking_idealized_expo": 0.5083333253860474,
232
+ "ranking_simple": 0.550000011920929,
233
+ "regularize": 0.6498515605926514,
234
+ "step": 60
235
+ },
236
+ {
237
+ "dpo_loss": 0.6450857520103455,
238
+ "dpo_wo_beta": -0.8086111545562744,
239
+ "epoch": 0.3684459140292867,
240
+ "grad_norm": 13.799818527893999,
241
+ "learning_rate": 4.896813904782162e-07,
242
+ "logits": -1.5256472826004028,
243
+ "logps": -84.62181091308594,
244
+ "loss": 0.6495,
245
+ "objective": 0.6450857520103455,
246
+ "ranking_idealized": 0.5708333253860474,
247
+ "ranking_idealized_expo": 0.5083333253860474,
248
+ "ranking_simple": 0.5291666388511658,
249
+ "regularize": 0.6450857520103455,
250
+ "step": 65
251
+ },
252
+ {
253
+ "dpo_loss": 0.644597053527832,
254
+ "dpo_wo_beta": -0.891067385673523,
255
+ "epoch": 0.39678790741615494,
256
+ "grad_norm": 13.789576838493705,
257
+ "learning_rate": 4.858533249305336e-07,
258
+ "logits": -1.6211374998092651,
259
+ "logps": -86.41259002685547,
260
+ "loss": 0.6533,
261
+ "objective": 0.644597053527832,
262
+ "ranking_idealized": 0.6000000238418579,
263
+ "ranking_idealized_expo": 0.5166666507720947,
264
+ "ranking_simple": 0.5208333134651184,
265
+ "regularize": 0.644597053527832,
266
+ "step": 70
267
+ },
268
+ {
269
+ "epoch": 0.40812470477090224,
270
+ "eval_dpo_loss": 0.6884610056877136,
271
+ "eval_dpo_wo_beta": -1.1473097801208496,
272
+ "eval_logits": -1.6310690641403198,
273
+ "eval_logps": -92.47576904296875,
274
+ "eval_loss": 0.6768966913223267,
275
+ "eval_objective": 0.6884610056877136,
276
+ "eval_ranking_idealized": 0.5888429880142212,
277
+ "eval_ranking_idealized_expo": 0.5092975497245789,
278
+ "eval_ranking_simple": 0.5175619721412659,
279
+ "eval_regularize": 0.6884610056877136,
280
+ "eval_runtime": 210.9564,
281
+ "eval_samples_per_second": 27.446,
282
+ "eval_steps_per_second": 1.147,
283
+ "step": 72
284
+ },
285
+ {
286
+ "dpo_loss": 0.6458336114883423,
287
+ "dpo_wo_beta": -0.847459614276886,
288
+ "epoch": 0.42512990080302315,
289
+ "grad_norm": 13.350435766130868,
290
+ "learning_rate": 4.814425954135785e-07,
291
+ "logits": -1.6625837087631226,
292
+ "logps": -86.4749755859375,
293
+ "loss": 0.636,
294
+ "objective": 0.6458336114883423,
295
+ "ranking_idealized": 0.625,
296
+ "ranking_idealized_expo": 0.5458333492279053,
297
+ "ranking_simple": 0.5833333134651184,
298
+ "regularize": 0.6458336114883423,
299
+ "step": 75
300
+ },
301
+ {
302
+ "dpo_loss": 0.6464484930038452,
303
+ "dpo_wo_beta": -0.9348036050796509,
304
+ "epoch": 0.45347189418989137,
305
+ "grad_norm": 13.762513071445667,
306
+ "learning_rate": 4.764600984163808e-07,
307
+ "logits": -1.7147225141525269,
308
+ "logps": -86.26012420654297,
309
+ "loss": 0.6326,
310
+ "objective": 0.6464484930038452,
311
+ "ranking_idealized": 0.5833333134651184,
312
+ "ranking_idealized_expo": 0.5166666507720947,
313
+ "ranking_simple": 0.5458333492279053,
314
+ "regularize": 0.6464484930038452,
315
+ "step": 80
316
+ },
317
+ {
318
+ "dpo_loss": 0.6432295441627502,
319
+ "dpo_wo_beta": -1.0359190702438354,
320
+ "epoch": 0.4818138875767596,
321
+ "grad_norm": 13.87750405485222,
322
+ "learning_rate": 4.70918142951239e-07,
323
+ "logits": -1.6870180368423462,
324
+ "logps": -85.32923889160156,
325
+ "loss": 0.6336,
326
+ "objective": 0.6432295441627502,
327
+ "ranking_idealized": 0.6000000238418579,
328
+ "ranking_idealized_expo": 0.5249999761581421,
329
+ "ranking_simple": 0.5458333492279053,
330
+ "regularize": 0.6432295441627502,
331
+ "step": 85
332
+ },
333
+ {
334
+ "dpo_loss": 0.6311187744140625,
335
+ "dpo_wo_beta": -0.9493275284767151,
336
+ "epoch": 0.5101558809636277,
337
+ "grad_norm": 14.792020412361724,
338
+ "learning_rate": 4.6483042014491527e-07,
339
+ "logits": -1.5992980003356934,
340
+ "logps": -88.2070083618164,
341
+ "loss": 0.6216,
342
+ "objective": 0.6311187744140625,
343
+ "ranking_idealized": 0.5458333492279053,
344
+ "ranking_idealized_expo": 0.4749999940395355,
345
+ "ranking_simple": 0.5041666626930237,
346
+ "regularize": 0.6311187744140625,
347
+ "step": 90
348
+ },
349
+ {
350
+ "dpo_loss": 0.595143735408783,
351
+ "dpo_wo_beta": -0.8239250183105469,
352
+ "epoch": 0.538497874350496,
353
+ "grad_norm": 16.242182565245834,
354
+ "learning_rate": 4.5821196941538334e-07,
355
+ "logits": -1.6257656812667847,
356
+ "logps": -87.32308197021484,
357
+ "loss": 0.6157,
358
+ "objective": 0.595143735408783,
359
+ "ranking_idealized": 0.6291666626930237,
360
+ "ranking_idealized_expo": 0.5458333492279053,
361
+ "ranking_simple": 0.6041666865348816,
362
+ "regularize": 0.595143735408783,
363
+ "step": 95
364
+ },
365
+ {
366
+ "dpo_loss": 0.6018479466438293,
367
+ "dpo_wo_beta": -1.0667775869369507,
368
+ "epoch": 0.5668398677373642,
369
+ "grad_norm": 16.965716669559736,
370
+ "learning_rate": 4.510791413176912e-07,
371
+ "logits": -1.6872950792312622,
372
+ "logps": -88.73619842529297,
373
+ "loss": 0.623,
374
+ "objective": 0.6018479466438293,
375
+ "ranking_idealized": 0.612500011920929,
376
+ "ranking_idealized_expo": 0.5416666865348816,
377
+ "ranking_simple": 0.5625,
378
+ "regularize": 0.6018479466438293,
379
+ "step": 100
380
+ },
381
+ {
382
+ "dpo_loss": 0.5836849808692932,
383
+ "dpo_wo_beta": -0.7914173007011414,
384
+ "epoch": 0.5951818611242324,
385
+ "grad_norm": 14.695711016472089,
386
+ "learning_rate": 4.434495571507234e-07,
387
+ "logits": -1.606242299079895,
388
+ "logps": -87.9868392944336,
389
+ "loss": 0.604,
390
+ "objective": 0.5836849808692932,
391
+ "ranking_idealized": 0.625,
392
+ "ranking_idealized_expo": 0.5333333611488342,
393
+ "ranking_simple": 0.5833333134651184,
394
+ "regularize": 0.5836849808692932,
395
+ "step": 105
396
+ },
397
+ {
398
+ "epoch": 0.6121870571563534,
399
+ "eval_dpo_loss": 0.6853068470954895,
400
+ "eval_dpo_wo_beta": -1.3960636854171753,
401
+ "eval_logits": -1.769094467163086,
402
+ "eval_logps": -94.05838012695312,
403
+ "eval_loss": 0.677278995513916,
404
+ "eval_objective": 0.6853068470954895,
405
+ "eval_ranking_idealized": 0.5888429880142212,
406
+ "eval_ranking_idealized_expo": 0.5092975497245789,
407
+ "eval_ranking_simple": 0.5185950398445129,
408
+ "eval_regularize": 0.6853068470954895,
409
+ "eval_runtime": 210.425,
410
+ "eval_samples_per_second": 27.516,
411
+ "eval_steps_per_second": 1.15,
412
+ "step": 108
413
+ },
414
+ {
415
+ "dpo_loss": 0.6007120013237,
416
+ "dpo_wo_beta": -0.8422455191612244,
417
+ "epoch": 0.6235238545111006,
418
+ "grad_norm": 15.750957422421227,
419
+ "learning_rate": 4.353420654246546e-07,
420
+ "logits": -1.7943415641784668,
421
+ "logps": -86.3438491821289,
422
+ "loss": 0.6054,
423
+ "objective": 0.6007120013237,
424
+ "ranking_idealized": 0.5708333253860474,
425
+ "ranking_idealized_expo": 0.4541666805744171,
426
+ "ranking_simple": 0.5166666507720947,
427
+ "regularize": 0.6007120013237,
428
+ "step": 110
429
+ },
430
+ {
431
+ "dpo_loss": 0.6109593510627747,
432
+ "dpo_wo_beta": -1.0094329118728638,
433
+ "epoch": 0.6518658478979689,
434
+ "grad_norm": 16.233880140590145,
435
+ "learning_rate": 4.2677669529663686e-07,
436
+ "logits": -1.7633204460144043,
437
+ "logps": -86.51942443847656,
438
+ "loss": 0.6046,
439
+ "objective": 0.6109593510627747,
440
+ "ranking_idealized": 0.574999988079071,
441
+ "ranking_idealized_expo": 0.4833333194255829,
442
+ "ranking_simple": 0.5166666507720947,
443
+ "regularize": 0.6109593510627747,
444
+ "step": 115
445
+ },
446
+ {
447
+ "dpo_loss": 0.5903018712997437,
448
+ "dpo_wo_beta": -0.9045132994651794,
449
+ "epoch": 0.680207841284837,
450
+ "grad_norm": 17.133679937634657,
451
+ "learning_rate": 4.177746070897592e-07,
452
+ "logits": -1.7159924507141113,
453
+ "logps": -87.81356811523438,
454
+ "loss": 0.5999,
455
+ "objective": 0.5903018712997437,
456
+ "ranking_idealized": 0.5874999761581421,
457
+ "ranking_idealized_expo": 0.5291666388511658,
458
+ "ranking_simple": 0.5791666507720947,
459
+ "regularize": 0.5903018712997437,
460
+ "step": 120
461
+ },
462
+ {
463
+ "dpo_loss": 0.6066262722015381,
464
+ "dpo_wo_beta": -1.2728170156478882,
465
+ "epoch": 0.7085498346717053,
466
+ "grad_norm": 16.15790530794251,
467
+ "learning_rate": 4.083580400175153e-07,
468
+ "logits": -1.698543667793274,
469
+ "logps": -88.70279693603516,
470
+ "loss": 0.6139,
471
+ "objective": 0.6066262722015381,
472
+ "ranking_idealized": 0.625,
473
+ "ranking_idealized_expo": 0.550000011920929,
474
+ "ranking_simple": 0.5874999761581421,
475
+ "regularize": 0.6066262722015381,
476
+ "step": 125
477
+ },
478
+ {
479
+ "dpo_loss": 0.6065606474876404,
480
+ "dpo_wo_beta": -1.1573857069015503,
481
+ "epoch": 0.7368918280585735,
482
+ "grad_norm": 16.556049529132082,
483
+ "learning_rate": 3.9855025724292763e-07,
484
+ "logits": -1.8358159065246582,
485
+ "logps": -87.11023712158203,
486
+ "loss": 0.6035,
487
+ "objective": 0.6065606474876404,
488
+ "ranking_idealized": 0.5416666865348816,
489
+ "ranking_idealized_expo": 0.44999998807907104,
490
+ "ranking_simple": 0.5166666507720947,
491
+ "regularize": 0.6065606474876404,
492
+ "step": 130
493
+ },
494
+ {
495
+ "dpo_loss": 0.6158966422080994,
496
+ "dpo_wo_beta": -1.1439249515533447,
497
+ "epoch": 0.7652338214454416,
498
+ "grad_norm": 14.197353075079507,
499
+ "learning_rate": 3.883754884080539e-07,
500
+ "logits": -1.7928814888000488,
501
+ "logps": -89.14883422851562,
502
+ "loss": 0.594,
503
+ "objective": 0.6158966422080994,
504
+ "ranking_idealized": 0.5874999761581421,
505
+ "ranking_idealized_expo": 0.5249999761581421,
506
+ "ranking_simple": 0.5458333492279053,
507
+ "regularize": 0.6158966422080994,
508
+ "step": 135
509
+ },
510
+ {
511
+ "dpo_loss": 0.61494380235672,
512
+ "dpo_wo_beta": -1.0414694547653198,
513
+ "epoch": 0.7935758148323099,
514
+ "grad_norm": 15.670852477907466,
515
+ "learning_rate": 3.7785886977585555e-07,
516
+ "logits": -1.711374282836914,
517
+ "logps": -88.56974792480469,
518
+ "loss": 0.5911,
519
+ "objective": 0.61494380235672,
520
+ "ranking_idealized": 0.5791666507720947,
521
+ "ranking_idealized_expo": 0.5041666626930237,
522
+ "ranking_simple": 0.5416666865348816,
523
+ "regularize": 0.61494380235672,
524
+ "step": 140
525
+ },
526
+ {
527
+ "epoch": 0.8162494095418045,
528
+ "eval_dpo_loss": 0.6885914206504822,
529
+ "eval_dpo_wo_beta": -1.5153368711471558,
530
+ "eval_logits": -1.816495418548584,
531
+ "eval_logps": -95.75775146484375,
532
+ "eval_loss": 0.6774819493293762,
533
+ "eval_objective": 0.6885914206504822,
534
+ "eval_ranking_idealized": 0.5888429880142212,
535
+ "eval_ranking_idealized_expo": 0.5092975497245789,
536
+ "eval_ranking_simple": 0.5185950398445129,
537
+ "eval_regularize": 0.6885914206504822,
538
+ "eval_runtime": 210.8957,
539
+ "eval_samples_per_second": 27.454,
540
+ "eval_steps_per_second": 1.147,
541
+ "step": 144
542
+ },
543
+ {
544
+ "epoch": 0.8162494095418045,
545
+ "step": 144,
546
+ "total_flos": 0.0,
547
+ "train_loss": 0.6411769655015733,
548
+ "train_runtime": 5149.1432,
549
+ "train_samples_per_second": 19.732,
550
+ "train_steps_per_second": 0.068
551
+ }
552
+ ],
553
+ "logging_steps": 5,
554
+ "max_steps": 352,
555
+ "num_input_tokens_seen": 0,
556
+ "num_train_epochs": 2,
557
+ "save_steps": 36,
558
+ "stateful_callbacks": {
559
+ "EarlyStoppingCallback": {
560
+ "args": {
561
+ "early_stopping_patience": 3,
562
+ "early_stopping_threshold": 0.0
563
+ },
564
+ "attributes": {
565
+ "early_stopping_patience_counter": 0
566
+ }
567
+ },
568
+ "TrainerControl": {
569
+ "args": {
570
+ "should_epoch_stop": false,
571
+ "should_evaluate": false,
572
+ "should_log": false,
573
+ "should_save": true,
574
+ "should_training_stop": true
575
+ },
576
+ "attributes": {}
577
+ }
578
+ },
579
+ "total_flos": 0.0,
580
+ "train_batch_size": 4,
581
+ "trial_name": null,
582
+ "trial_params": null
583
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:946c5e179ba4793191301d512428a653dfc84a775278f6495b2ab70c8fbf457b
3
+ size 8120
vocab.json ADDED
The diff for this file is too large to render. See raw diff