S2R-data commited on
Commit
67b450c
·
verified ·
1 Parent(s): 8a1be75

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<pad>": 151665,
4
+ "<tool_call>": 151657,
5
+ "<|box_end|>": 151649,
6
+ "<|box_start|>": 151648,
7
+ "<|endoftext|>": 151643,
8
+ "<|file_sep|>": 151664,
9
+ "<|fim_middle|>": 151660,
10
+ "<|fim_pad|>": 151662,
11
+ "<|fim_prefix|>": 151659,
12
+ "<|fim_suffix|>": 151661,
13
+ "<|im_end|>": 151645,
14
+ "<|im_start|>": 151644,
15
+ "<|image_pad|>": 151655,
16
+ "<|object_ref_end|>": 151647,
17
+ "<|object_ref_start|>": 151646,
18
+ "<|quad_end|>": 151651,
19
+ "<|quad_start|>": 151650,
20
+ "<|repo_name|>": 151663,
21
+ "<|video_pad|>": 151656,
22
+ "<|vision_end|>": 151653,
23
+ "<|vision_pad|>": 151654,
24
+ "<|vision_start|>": 151652
25
+ }
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/apdcephfs/share_302520718/share_info/peisongwang/saved_models/saved_models/Qwen2.5-Math-7B-YARN_sft_qwen2.5_math_7B_base_0127_new_veri_3k_raw_20250204_022818/checkpoint-412",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 128245,
8
+ "eos_token": "<|im_end|>",
9
+ "eos_token_id": 151645,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 3584,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 18944,
14
+ "max_position_embeddings": 4096,
15
+ "max_window_layers": 28,
16
+ "model_type": "qwen2",
17
+ "num_attention_heads": 28,
18
+ "num_hidden_layers": 28,
19
+ "num_key_value_heads": 4,
20
+ "pad_token_id": 151665,
21
+ "rms_norm_eps": 1e-06,
22
+ "rope_scaling": null,
23
+ "rope_theta": 10000,
24
+ "sliding_window": null,
25
+ "tie_word_embeddings": false,
26
+ "torch_dtype": "bfloat16",
27
+ "transformers_version": "4.46.3",
28
+ "use_cache": false,
29
+ "use_mrope": false,
30
+ "use_sliding_window": false,
31
+ "vocab_size": 151666
32
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "eos_token_id": 151645,
4
+ "max_new_tokens": 2048,
5
+ "transformers_version": "4.46.3"
6
+ }
latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step376
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb5bf902e7ef52acecc9902d538b1d71cc3210309045e3c9cdc9ad6a0745de9e
3
+ size 4874807912
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bce25f9a19a4c9a45de39b4e2062105544a710e39b8bba7af189373d0992c20
3
+ size 4932751008
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a746af0e1339b14159c2102e509ed9e57958436ba18aad359c9af7fda3c375c
3
+ size 4330865200
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27e3f624fa417c5184f69dff839d6b05f7f757729ca48ee06697c85fafcd6d77
3
+ size 1087142016
model.safetensors.index.json ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 15225527296
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00004-of-00004.safetensors",
7
+ "model.embed_tokens.weight": "model-00001-of-00004.safetensors",
8
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
9
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
10
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
11
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
12
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
13
+ "model.layers.0.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
14
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
15
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
16
+ "model.layers.0.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
17
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
18
+ "model.layers.0.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
19
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
20
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
21
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
22
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
23
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
24
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
25
+ "model.layers.1.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
26
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
27
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
28
+ "model.layers.1.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
29
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
30
+ "model.layers.1.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
31
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
32
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
33
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
34
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
35
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
36
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
37
+ "model.layers.10.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
38
+ "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
39
+ "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
40
+ "model.layers.10.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
41
+ "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
42
+ "model.layers.10.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
43
+ "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
44
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
45
+ "model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
46
+ "model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
47
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
48
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
49
+ "model.layers.11.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
50
+ "model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
51
+ "model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
52
+ "model.layers.11.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
53
+ "model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
54
+ "model.layers.11.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
55
+ "model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
56
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
57
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
58
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
59
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
60
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
61
+ "model.layers.12.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
62
+ "model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
63
+ "model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
64
+ "model.layers.12.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
65
+ "model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
66
+ "model.layers.12.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
67
+ "model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
68
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
69
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
70
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
71
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
72
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
73
+ "model.layers.13.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
74
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
75
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
76
+ "model.layers.13.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
77
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
78
+ "model.layers.13.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
79
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
80
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
81
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
82
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
83
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
84
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
85
+ "model.layers.14.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
86
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
87
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
88
+ "model.layers.14.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
89
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
90
+ "model.layers.14.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
91
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
92
+ "model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
93
+ "model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
94
+ "model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
95
+ "model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
96
+ "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
97
+ "model.layers.15.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
98
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
99
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
100
+ "model.layers.15.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
101
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
102
+ "model.layers.15.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
103
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
104
+ "model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
105
+ "model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
106
+ "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
107
+ "model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
108
+ "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
109
+ "model.layers.16.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
110
+ "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
111
+ "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
112
+ "model.layers.16.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
113
+ "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
114
+ "model.layers.16.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
115
+ "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
116
+ "model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
117
+ "model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
118
+ "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
119
+ "model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
120
+ "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
121
+ "model.layers.17.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
122
+ "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
123
+ "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
124
+ "model.layers.17.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
125
+ "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
126
+ "model.layers.17.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
127
+ "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
128
+ "model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
129
+ "model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
130
+ "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
131
+ "model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
132
+ "model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
133
+ "model.layers.18.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
134
+ "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
135
+ "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
136
+ "model.layers.18.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
137
+ "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
138
+ "model.layers.18.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
139
+ "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
140
+ "model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
141
+ "model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
142
+ "model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
143
+ "model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
144
+ "model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
145
+ "model.layers.19.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
146
+ "model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
147
+ "model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
148
+ "model.layers.19.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
149
+ "model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
150
+ "model.layers.19.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
151
+ "model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
152
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
153
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
154
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
155
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
156
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
157
+ "model.layers.2.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
158
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
159
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
160
+ "model.layers.2.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
161
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
162
+ "model.layers.2.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
163
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
164
+ "model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
165
+ "model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
166
+ "model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
167
+ "model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
168
+ "model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
169
+ "model.layers.20.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
170
+ "model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
171
+ "model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
172
+ "model.layers.20.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
173
+ "model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
174
+ "model.layers.20.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
175
+ "model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
176
+ "model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
177
+ "model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
178
+ "model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
179
+ "model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
180
+ "model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
181
+ "model.layers.21.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
182
+ "model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
183
+ "model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
184
+ "model.layers.21.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
185
+ "model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
186
+ "model.layers.21.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
187
+ "model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
188
+ "model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
189
+ "model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
190
+ "model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
191
+ "model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
192
+ "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
193
+ "model.layers.22.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
194
+ "model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
195
+ "model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
196
+ "model.layers.22.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
197
+ "model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
198
+ "model.layers.22.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
199
+ "model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
200
+ "model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
201
+ "model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
202
+ "model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
203
+ "model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
204
+ "model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
205
+ "model.layers.23.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
206
+ "model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
207
+ "model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
208
+ "model.layers.23.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
209
+ "model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
210
+ "model.layers.23.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
211
+ "model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
212
+ "model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
213
+ "model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
214
+ "model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
215
+ "model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
216
+ "model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
217
+ "model.layers.24.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
218
+ "model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
219
+ "model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
220
+ "model.layers.24.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
221
+ "model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
222
+ "model.layers.24.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
223
+ "model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
224
+ "model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
225
+ "model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
226
+ "model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
227
+ "model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
228
+ "model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
229
+ "model.layers.25.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
230
+ "model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
231
+ "model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
232
+ "model.layers.25.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
233
+ "model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
234
+ "model.layers.25.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
235
+ "model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
236
+ "model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
237
+ "model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
238
+ "model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
239
+ "model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
240
+ "model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
241
+ "model.layers.26.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
242
+ "model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
243
+ "model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
244
+ "model.layers.26.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
245
+ "model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
246
+ "model.layers.26.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
247
+ "model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
248
+ "model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
249
+ "model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
250
+ "model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
251
+ "model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
252
+ "model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
253
+ "model.layers.27.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
254
+ "model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
255
+ "model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
256
+ "model.layers.27.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
257
+ "model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
258
+ "model.layers.27.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
259
+ "model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
260
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
261
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
262
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
263
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
264
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
265
+ "model.layers.3.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
266
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
267
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
268
+ "model.layers.3.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
269
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
270
+ "model.layers.3.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
271
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
272
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
273
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
274
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
275
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
276
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
277
+ "model.layers.4.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
278
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
279
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
280
+ "model.layers.4.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
281
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
282
+ "model.layers.4.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
283
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
284
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
285
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
286
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
287
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
288
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
289
+ "model.layers.5.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
290
+ "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
291
+ "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
292
+ "model.layers.5.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
293
+ "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
294
+ "model.layers.5.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
295
+ "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
296
+ "model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
297
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
298
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
299
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
300
+ "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
301
+ "model.layers.6.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
302
+ "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
303
+ "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
304
+ "model.layers.6.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
305
+ "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
306
+ "model.layers.6.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
307
+ "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
308
+ "model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
309
+ "model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
310
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
311
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
312
+ "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
313
+ "model.layers.7.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
314
+ "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
315
+ "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
316
+ "model.layers.7.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
317
+ "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
318
+ "model.layers.7.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
319
+ "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
320
+ "model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
321
+ "model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
322
+ "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
323
+ "model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
324
+ "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
325
+ "model.layers.8.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
326
+ "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
327
+ "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
328
+ "model.layers.8.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
329
+ "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
330
+ "model.layers.8.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
331
+ "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
332
+ "model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
333
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
334
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
335
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
336
+ "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
337
+ "model.layers.9.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
338
+ "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
339
+ "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
340
+ "model.layers.9.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
341
+ "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
342
+ "model.layers.9.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
343
+ "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
344
+ "model.norm.weight": "model-00003-of-00004.safetensors"
345
+ }
346
+ }
rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3865ab44b225a84cdef8a56a07f193e923f6c2cb1e09aee98ed64ef85c639ed
3
+ size 15984
rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6257e72c2e7cda4379fbeec9ec66509aaed74cf14e61417761b6e01c6e329859
3
+ size 15984
rng_state_10.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6e3c3abc5314ec4d345235a009987052d95e8a0fd9e411c3ed3678e67bc0875
3
+ size 15997
rng_state_11.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90ac37496fb33ff91ed29a1e54bc016750c0942f18e177fb6365ab2ca5f6802e
3
+ size 15997
rng_state_12.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4675ea563799d3b7cf0d0c5be07812551eb2deea0f9dee7debe06b28772d8913
3
+ size 15997
rng_state_13.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf5c589702ffa8f4c3a5f039e41b819c8c496e72ac96764e636c38ec89fc9894
3
+ size 15997
rng_state_14.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac9adeb39bf94e3ee34687c97d1db16c159423f96c71e0369b502b2a8e3a1992
3
+ size 15997
rng_state_15.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d4342945efd1ee15d50acaa53084a340312edc686594af6e63020ce696c5112
3
+ size 15997
rng_state_16.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e9a8ab9c0c7ef22fdeced8d96f6eeb77011809d5c9c7905413eaaa89544ca60
3
+ size 15997
rng_state_17.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73179f17caa252e75516078a8b6206803b67a6bcf71331dcfaf6c915f3312e66
3
+ size 15997
rng_state_18.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36718ff596188e02272f8995dceeffba8aea2b15f87c183d2bb35ff73494e616
3
+ size 15997
rng_state_19.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c5e7a5c4fa1b4f55a2b169e6f17111789defb7f14000937c0abd007011ed8bf
3
+ size 15997
rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89e174547ec147003fc11cd9f5546ff753874b55807a9c0458cde18da168f8d7
3
+ size 15984
rng_state_20.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d02c16ad1318c21ccf2b684a4f6d306d23138930cdc0f290242642b645f21b9b
3
+ size 15997
rng_state_21.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32841e4bcddeb3309edafcd924cbdfc39e7afd26b2eb54cbad011dda24a3e500
3
+ size 15997
rng_state_22.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67c9707e2ff2e45e4ad0bca86707ad0d9497994a7e40379e32b5f419fb449612
3
+ size 15997
rng_state_23.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9b57b8c5a1e6b8a0c0f95c94654f9b3da52127b8e3b0d2b5c3f457542efcdf3
3
+ size 15997
rng_state_24.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d81987ce1755885e27a974603f8619ca9c18794e797b0dc956b234767fe11e11
3
+ size 15997
rng_state_25.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f311571a69ccbd02dee979b30720fc4cbab94a0ede0eb1e2c8f3f102d883b2f2
3
+ size 15997
rng_state_26.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36c624004cac8de9ccde6ba5bdf44d4f463fa51e1a1a5b551c1be1e98f794ed1
3
+ size 15997
rng_state_27.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8ba76f40b6dee5fd3a8c47b446ddc0ba7dacd1b3c0cfb2b9b14238996ed72ee
3
+ size 15997
rng_state_28.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe38217854d0ff7533528edb83ada94af37505f6283ec014fbf15686282c572a
3
+ size 15997
rng_state_29.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a84b7c72cf78f062a1e6d2865d2ec8762116ba019fe01a64550fe2c0b82d454
3
+ size 15997
rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdf6256678c0cc9ae5152a3d9dd7fac6df68703d551c36d4ac5a0645432703ce
3
+ size 15984
rng_state_30.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14b5dce8c5363374b240aeef15e82aa93ff4999df856880efdeaa7e59eb37826
3
+ size 15997
rng_state_31.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd52f47665dfd973fff54b99621bcfa9bc1d7465668170a8f0a295ff5e0448da
3
+ size 15997
rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fafa67829e9acb85aa859262bfed7166ee8f88b9d1cad25d099204e92a8f04e
3
+ size 15984
rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:379301d5a6aa21be095f95c1aae3170bbc391c9f0931dc9aafa58f86aa4c8e47
3
+ size 15984
rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a767192b6b63edd00ca9259b2e3341b065c130772f4a7da1c3807926745c4385
3
+ size 15984
rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e492e5c7ef3e5e752569c07471c8c376be9b958b90a2bfdbcb286e81a23f74e2
3
+ size 15984
rng_state_8.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a268e7c1b7baefa6b6c9149d281e2490398214668d41a7d15a44c0c310dddc9
3
+ size 15984
rng_state_9.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a6f8caa1b30da6eabb8b58d63a4348509fde2a2ed17853623afbbf3f8a36ecd
3
+ size 15984
special_tokens_map.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "bos_token": {
18
+ "content": "<s>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "eos_token": {
25
+ "content": "<|im_end|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "pad_token": "<pad>",
32
+ "unk_token": {
33
+ "content": "<unk>",
34
+ "lstrip": false,
35
+ "normalized": false,
36
+ "rstrip": false,
37
+ "single_word": false
38
+ }
39
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "128244": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "128245": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151643": {
22
+ "content": "<|endoftext|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151644": {
30
+ "content": "<|im_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151645": {
38
+ "content": "<|im_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151646": {
46
+ "content": "<|object_ref_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151647": {
54
+ "content": "<|object_ref_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151648": {
62
+ "content": "<|box_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151649": {
70
+ "content": "<|box_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151650": {
78
+ "content": "<|quad_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151651": {
86
+ "content": "<|quad_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151652": {
94
+ "content": "<|vision_start|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151653": {
102
+ "content": "<|vision_end|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151654": {
110
+ "content": "<|vision_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151655": {
118
+ "content": "<|image_pad|>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": true
124
+ },
125
+ "151656": {
126
+ "content": "<|video_pad|>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": true
132
+ },
133
+ "151657": {
134
+ "content": "<tool_call>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151658": {
142
+ "content": "</tool_call>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151659": {
150
+ "content": "<|fim_prefix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151660": {
158
+ "content": "<|fim_middle|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151661": {
166
+ "content": "<|fim_suffix|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151662": {
174
+ "content": "<|fim_pad|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151663": {
182
+ "content": "<|repo_name|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151664": {
190
+ "content": "<|file_sep|>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151665": {
198
+ "content": "<pad>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": true
204
+ }
205
+ },
206
+ "additional_special_tokens": [
207
+ "<|im_start|>",
208
+ "<|im_end|>",
209
+ "<|object_ref_start|>",
210
+ "<|object_ref_end|>",
211
+ "<|box_start|>",
212
+ "<|box_end|>",
213
+ "<|quad_start|>",
214
+ "<|quad_end|>",
215
+ "<|vision_start|>",
216
+ "<|vision_end|>",
217
+ "<|vision_pad|>",
218
+ "<|image_pad|>",
219
+ "<|video_pad|>"
220
+ ],
221
+ "bos_token": "<s>",
222
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'Please reason step by step, and put your final answer within \\\\boxed{}.' }}\n {%- endif %}\n {{- \"\\n\\n# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nPlease reason step by step, and put your final answer within \\\\boxed{}.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
223
+ "clean_up_tokenization_spaces": false,
224
+ "eos_token": "<|im_end|>",
225
+ "errors": "replace",
226
+ "model_max_length": 8000,
227
+ "pad_token": "<pad>",
228
+ "padding_side": "left",
229
+ "split_special_tokens": false,
230
+ "tokenizer_class": "Qwen2Tokenizer",
231
+ "truncation_side": "left",
232
+ "unk_token": "<unk>"
233
+ }
trainer_state.json ADDED
@@ -0,0 +1,3176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.27376564277588167,
5
+ "eval_steps": 500,
6
+ "global_step": 376,
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.0029124004550625713,
13
+ "importance_ratio": 0.9999997019767761,
14
+ "kl_div_avg": 0.000832047313451767,
15
+ "learning_rate": 0.0,
16
+ "loss_func": "stage2",
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.0029124004550625713,
21
+ "importance_ratio": 1.0000362396240234,
22
+ "kl_div_avg": 0.0005252331611700356,
23
+ "learning_rate": 2.153382790366965e-07,
24
+ "loss_func": "stage2",
25
+ "step": 2
26
+ },
27
+ {
28
+ "epoch": 0.0029124004550625713,
29
+ "importance_ratio": 1.0001579523086548,
30
+ "kl_div_avg": 0.00018331335741095245,
31
+ "learning_rate": 3.4130309724299266e-07,
32
+ "loss_func": "stage2",
33
+ "step": 3
34
+ },
35
+ {
36
+ "epoch": 0.0029124004550625713,
37
+ "importance_ratio": 0.9999959468841553,
38
+ "kl_div_avg": 0.005200453568249941,
39
+ "learning_rate": 4.30676558073393e-07,
40
+ "loss_func": "stage2",
41
+ "step": 4
42
+ },
43
+ {
44
+ "epoch": 0.0058248009101251426,
45
+ "importance_ratio": 1.0,
46
+ "kl_div_avg": 0.000816567218862474,
47
+ "learning_rate": 5e-07,
48
+ "loss_func": "stage2",
49
+ "step": 5
50
+ },
51
+ {
52
+ "epoch": 0.0058248009101251426,
53
+ "importance_ratio": 1.0000829696655273,
54
+ "kl_div_avg": 0.0006388744222931564,
55
+ "learning_rate": 5e-07,
56
+ "loss_func": "stage2",
57
+ "step": 6
58
+ },
59
+ {
60
+ "epoch": 0.0058248009101251426,
61
+ "importance_ratio": 0.9999892711639404,
62
+ "kl_div_avg": 0.0024963156320154667,
63
+ "learning_rate": 4.999271455631648e-07,
64
+ "loss_func": "stage2",
65
+ "step": 7
66
+ },
67
+ {
68
+ "epoch": 0.0058248009101251426,
69
+ "importance_ratio": 1.0001212358474731,
70
+ "kl_div_avg": 0.0005678388406522572,
71
+ "learning_rate": 4.998542911263296e-07,
72
+ "loss_func": "stage2",
73
+ "step": 8
74
+ },
75
+ {
76
+ "epoch": 0.008737201365187713,
77
+ "importance_ratio": 1.0,
78
+ "kl_div_avg": 0.0009334093192592263,
79
+ "learning_rate": 4.997814366894943e-07,
80
+ "loss_func": "stage2",
81
+ "step": 9,
82
+ "total_loss": -0.65625
83
+ },
84
+ {
85
+ "epoch": 0.008737201365187713,
86
+ "importance_ratio": 1.0001897811889648,
87
+ "kl_div_avg": 0.001136686885729432,
88
+ "learning_rate": 4.997085822526592e-07,
89
+ "loss_func": "stage2",
90
+ "step": 10,
91
+ "total_loss": -0.66015625
92
+ },
93
+ {
94
+ "epoch": 0.008737201365187713,
95
+ "importance_ratio": 0.9997982382774353,
96
+ "kl_div_avg": 0.001998334191739559,
97
+ "learning_rate": 4.99635727815824e-07,
98
+ "loss_func": "stage2",
99
+ "step": 11,
100
+ "total_loss": 0.578125
101
+ },
102
+ {
103
+ "epoch": 0.008737201365187713,
104
+ "importance_ratio": 1.0004870891571045,
105
+ "kl_div_avg": 0.0075031365267932415,
106
+ "learning_rate": 4.995628733789887e-07,
107
+ "loss_func": "stage2",
108
+ "step": 12,
109
+ "total_loss": 0.609375
110
+ },
111
+ {
112
+ "epoch": 0.011649601820250285,
113
+ "importance_ratio": 1.0,
114
+ "kl_div_avg": 0.005973694380372763,
115
+ "learning_rate": 4.994900189421535e-07,
116
+ "loss_func": "stage2",
117
+ "step": 13,
118
+ "total_loss": 0.490234375
119
+ },
120
+ {
121
+ "epoch": 0.011649601820250285,
122
+ "importance_ratio": 1.0000145435333252,
123
+ "kl_div_avg": 0.0021390169858932495,
124
+ "learning_rate": 4.994171645053183e-07,
125
+ "loss_func": "stage2",
126
+ "step": 14
127
+ },
128
+ {
129
+ "epoch": 0.011649601820250285,
130
+ "importance_ratio": 1.0002269744873047,
131
+ "kl_div_avg": 0.001650022342801094,
132
+ "learning_rate": 4.993443100684832e-07,
133
+ "loss_func": "stage2",
134
+ "step": 15
135
+ },
136
+ {
137
+ "epoch": 0.011649601820250285,
138
+ "importance_ratio": 0.9983251690864563,
139
+ "kl_div_avg": 0.009172441437840462,
140
+ "learning_rate": 4.99271455631648e-07,
141
+ "loss_func": "stage2",
142
+ "step": 16,
143
+ "total_loss": -1.1796875
144
+ },
145
+ {
146
+ "epoch": 0.014562002275312855,
147
+ "importance_ratio": 1.0,
148
+ "kl_div_avg": 0.00243795826099813,
149
+ "learning_rate": 4.991986011948127e-07,
150
+ "loss_func": "stage2",
151
+ "step": 17
152
+ },
153
+ {
154
+ "epoch": 0.014562002275312855,
155
+ "importance_ratio": 1.000211477279663,
156
+ "kl_div_avg": 0.0024358637165278196,
157
+ "learning_rate": 4.991257467579775e-07,
158
+ "loss_func": "stage2",
159
+ "step": 18
160
+ },
161
+ {
162
+ "epoch": 0.014562002275312855,
163
+ "importance_ratio": 1.000443935394287,
164
+ "kl_div_avg": 0.0023228239733725786,
165
+ "learning_rate": 4.990528923211423e-07,
166
+ "loss_func": "stage2",
167
+ "step": 19
168
+ },
169
+ {
170
+ "epoch": 0.014562002275312855,
171
+ "importance_ratio": 1.0005327463150024,
172
+ "kl_div_avg": 0.00688572833314538,
173
+ "learning_rate": 4.989800378843072e-07,
174
+ "loss_func": "stage2",
175
+ "step": 20
176
+ },
177
+ {
178
+ "epoch": 0.017474402730375427,
179
+ "importance_ratio": 1.0000183582305908,
180
+ "kl_div_avg": 0.007346789818257093,
181
+ "learning_rate": 4.98907183447472e-07,
182
+ "loss_func": "stage2",
183
+ "step": 21
184
+ },
185
+ {
186
+ "epoch": 0.017474402730375427,
187
+ "importance_ratio": 1.0002293586730957,
188
+ "kl_div_avg": 0.00521897291764617,
189
+ "learning_rate": 4.988343290106367e-07,
190
+ "loss_func": "stage2",
191
+ "step": 22,
192
+ "total_loss": 0.53515625
193
+ },
194
+ {
195
+ "epoch": 0.017474402730375427,
196
+ "importance_ratio": 1.000298261642456,
197
+ "kl_div_avg": 0.0083134351298213,
198
+ "learning_rate": 4.987614745738015e-07,
199
+ "loss_func": "stage2",
200
+ "step": 23,
201
+ "total_loss": 0.185546875
202
+ },
203
+ {
204
+ "epoch": 0.017474402730375427,
205
+ "importance_ratio": 1.0002543926239014,
206
+ "kl_div_avg": 0.007159438915550709,
207
+ "learning_rate": 4.986886201369663e-07,
208
+ "loss_func": "stage2",
209
+ "step": 24,
210
+ "total_loss": -0.91015625
211
+ },
212
+ {
213
+ "epoch": 0.020386803185437997,
214
+ "importance_ratio": 1.0,
215
+ "kl_div_avg": 0.0036798412911593914,
216
+ "learning_rate": 4.986157657001312e-07,
217
+ "loss_func": "stage2",
218
+ "step": 25,
219
+ "total_loss": -1.953125
220
+ },
221
+ {
222
+ "epoch": 0.020386803185437997,
223
+ "importance_ratio": 1.0004552602767944,
224
+ "kl_div_avg": 0.004781949333846569,
225
+ "learning_rate": 4.985429112632959e-07,
226
+ "loss_func": "stage2",
227
+ "step": 26,
228
+ "total_loss": 0.50390625
229
+ },
230
+ {
231
+ "epoch": 0.020386803185437997,
232
+ "importance_ratio": 1.0013015270233154,
233
+ "kl_div_avg": 0.006170668639242649,
234
+ "learning_rate": 4.984700568264607e-07,
235
+ "loss_func": "stage2",
236
+ "step": 27
237
+ },
238
+ {
239
+ "epoch": 0.020386803185437997,
240
+ "importance_ratio": 1.0008548498153687,
241
+ "kl_div_avg": 0.0056500802747905254,
242
+ "learning_rate": 4.983972023896255e-07,
243
+ "loss_func": "stage2",
244
+ "step": 28,
245
+ "total_loss": 0.59375
246
+ },
247
+ {
248
+ "epoch": 0.02329920364050057,
249
+ "importance_ratio": 1.0,
250
+ "kl_div_avg": 0.012528179213404655,
251
+ "learning_rate": 4.983243479527903e-07,
252
+ "loss_func": "stage2",
253
+ "step": 29,
254
+ "total_loss": -0.64453125
255
+ },
256
+ {
257
+ "epoch": 0.02329920364050057,
258
+ "importance_ratio": 1.0004550218582153,
259
+ "kl_div_avg": 0.012631883844733238,
260
+ "learning_rate": 4.98251493515955e-07,
261
+ "loss_func": "stage2",
262
+ "step": 30,
263
+ "total_loss": 1.921875
264
+ },
265
+ {
266
+ "epoch": 0.02329920364050057,
267
+ "importance_ratio": 1.0013270378112793,
268
+ "kl_div_avg": 0.014947270974516869,
269
+ "learning_rate": 4.981786390791199e-07,
270
+ "loss_func": "stage2",
271
+ "step": 31,
272
+ "total_loss": -0.6875
273
+ },
274
+ {
275
+ "epoch": 0.02329920364050057,
276
+ "importance_ratio": 1.0007331371307373,
277
+ "kl_div_avg": 0.014372318051755428,
278
+ "learning_rate": 4.981057846422847e-07,
279
+ "loss_func": "stage2",
280
+ "step": 32,
281
+ "total_loss": -0.71484375
282
+ },
283
+ {
284
+ "epoch": 0.02621160409556314,
285
+ "importance_ratio": 0.9999833106994629,
286
+ "kl_div_avg": 0.013135651126503944,
287
+ "learning_rate": 4.980329302054495e-07,
288
+ "loss_func": "stage2",
289
+ "step": 33,
290
+ "total_loss": 0.49609375
291
+ },
292
+ {
293
+ "epoch": 0.02621160409556314,
294
+ "importance_ratio": 1.0011787414550781,
295
+ "kl_div_avg": 0.012072667479515076,
296
+ "learning_rate": 4.979600757686143e-07,
297
+ "loss_func": "stage2",
298
+ "step": 34,
299
+ "total_loss": 0.83984375
300
+ },
301
+ {
302
+ "epoch": 0.02621160409556314,
303
+ "importance_ratio": 1.0003936290740967,
304
+ "kl_div_avg": 0.014411704614758492,
305
+ "learning_rate": 4.97887221331779e-07,
306
+ "loss_func": "stage2",
307
+ "step": 35,
308
+ "total_loss": 0.50390625
309
+ },
310
+ {
311
+ "epoch": 0.02621160409556314,
312
+ "importance_ratio": 1.0030162334442139,
313
+ "kl_div_avg": 0.014976001344621181,
314
+ "learning_rate": 4.978143668949439e-07,
315
+ "loss_func": "stage2",
316
+ "step": 36,
317
+ "total_loss": -1.890625
318
+ },
319
+ {
320
+ "epoch": 0.02912400455062571,
321
+ "importance_ratio": 0.9999978542327881,
322
+ "kl_div_avg": 0.01573282852768898,
323
+ "learning_rate": 4.977415124581087e-07,
324
+ "loss_func": "stage2",
325
+ "step": 37
326
+ },
327
+ {
328
+ "epoch": 0.02912400455062571,
329
+ "importance_ratio": 0.9999271035194397,
330
+ "kl_div_avg": 0.01654386892914772,
331
+ "learning_rate": 4.976686580212735e-07,
332
+ "loss_func": "stage2",
333
+ "step": 38,
334
+ "total_loss": 0.359375
335
+ },
336
+ {
337
+ "epoch": 0.02912400455062571,
338
+ "importance_ratio": 1.0013998746871948,
339
+ "kl_div_avg": 0.01607615500688553,
340
+ "learning_rate": 4.975958035844383e-07,
341
+ "loss_func": "stage2",
342
+ "step": 39,
343
+ "total_loss": -0.5625
344
+ },
345
+ {
346
+ "epoch": 0.02912400455062571,
347
+ "importance_ratio": 1.0015034675598145,
348
+ "kl_div_avg": 0.028678957372903824,
349
+ "learning_rate": 4.97522949147603e-07,
350
+ "loss_func": "stage2",
351
+ "step": 40,
352
+ "total_loss": -1.4140625
353
+ },
354
+ {
355
+ "epoch": 0.03203640500568828,
356
+ "importance_ratio": 0.9999984502792358,
357
+ "kl_div_avg": 0.020423095673322678,
358
+ "learning_rate": 4.974500947107679e-07,
359
+ "loss_func": "stage2",
360
+ "step": 41
361
+ },
362
+ {
363
+ "epoch": 0.03203640500568828,
364
+ "importance_ratio": 1.000805139541626,
365
+ "kl_div_avg": 0.026921488344669342,
366
+ "learning_rate": 4.973772402739327e-07,
367
+ "loss_func": "stage2",
368
+ "step": 42
369
+ },
370
+ {
371
+ "epoch": 0.03203640500568828,
372
+ "importance_ratio": 1.0019316673278809,
373
+ "kl_div_avg": 0.024319637566804886,
374
+ "learning_rate": 4.973043858370975e-07,
375
+ "loss_func": "stage2",
376
+ "step": 43
377
+ },
378
+ {
379
+ "epoch": 0.03203640500568828,
380
+ "importance_ratio": 1.002344012260437,
381
+ "kl_div_avg": 0.022771870717406273,
382
+ "learning_rate": 4.972315314002623e-07,
383
+ "loss_func": "stage2",
384
+ "step": 44
385
+ },
386
+ {
387
+ "epoch": 0.034948805460750854,
388
+ "importance_ratio": 1.0,
389
+ "kl_div_avg": 0.016621489077806473,
390
+ "learning_rate": 4.97158676963427e-07,
391
+ "loss_func": "stage2",
392
+ "step": 45
393
+ },
394
+ {
395
+ "epoch": 0.034948805460750854,
396
+ "importance_ratio": 1.0002620220184326,
397
+ "kl_div_avg": 0.016239261254668236,
398
+ "learning_rate": 4.970858225265919e-07,
399
+ "loss_func": "stage2",
400
+ "step": 46
401
+ },
402
+ {
403
+ "epoch": 0.034948805460750854,
404
+ "importance_ratio": 1.0005873441696167,
405
+ "kl_div_avg": 0.013311684131622314,
406
+ "learning_rate": 4.970129680897566e-07,
407
+ "loss_func": "stage2",
408
+ "step": 47
409
+ },
410
+ {
411
+ "epoch": 0.034948805460750854,
412
+ "importance_ratio": 1.0010583400726318,
413
+ "kl_div_avg": 0.014977280981838703,
414
+ "learning_rate": 4.969401136529215e-07,
415
+ "loss_func": "stage2",
416
+ "step": 48
417
+ },
418
+ {
419
+ "epoch": 0.03786120591581343,
420
+ "importance_ratio": 0.9999948740005493,
421
+ "kl_div_avg": 0.026462934911251068,
422
+ "learning_rate": 4.968672592160862e-07,
423
+ "loss_func": "stage2",
424
+ "step": 49
425
+ },
426
+ {
427
+ "epoch": 0.03786120591581343,
428
+ "importance_ratio": 1.0000110864639282,
429
+ "kl_div_avg": 0.02019820362329483,
430
+ "learning_rate": 4.96794404779251e-07,
431
+ "loss_func": "stage2",
432
+ "step": 50,
433
+ "total_loss": 0.27734375
434
+ },
435
+ {
436
+ "epoch": 0.03786120591581343,
437
+ "importance_ratio": 1.000244379043579,
438
+ "kl_div_avg": 0.017759989947080612,
439
+ "learning_rate": 4.967215503424158e-07,
440
+ "loss_func": "stage2",
441
+ "step": 51,
442
+ "total_loss": -0.447265625
443
+ },
444
+ {
445
+ "epoch": 0.03786120591581343,
446
+ "importance_ratio": 1.0000954866409302,
447
+ "kl_div_avg": 0.0189061239361763,
448
+ "learning_rate": 4.966486959055806e-07,
449
+ "loss_func": "stage2",
450
+ "step": 52,
451
+ "total_loss": -1.28125
452
+ },
453
+ {
454
+ "epoch": 0.040773606370875994,
455
+ "importance_ratio": 1.0,
456
+ "kl_div_avg": 0.04083386808633804,
457
+ "learning_rate": 4.965758414687455e-07,
458
+ "loss_func": "stage2",
459
+ "step": 53
460
+ },
461
+ {
462
+ "epoch": 0.040773606370875994,
463
+ "importance_ratio": 0.9995175004005432,
464
+ "kl_div_avg": 0.03316584229469299,
465
+ "learning_rate": 4.965029870319102e-07,
466
+ "loss_func": "stage2",
467
+ "step": 54,
468
+ "total_loss": 1.5
469
+ },
470
+ {
471
+ "epoch": 0.040773606370875994,
472
+ "importance_ratio": 0.999799370765686,
473
+ "kl_div_avg": 0.02658572420477867,
474
+ "learning_rate": 4.96430132595075e-07,
475
+ "loss_func": "stage2",
476
+ "step": 55,
477
+ "total_loss": 1.15625
478
+ },
479
+ {
480
+ "epoch": 0.040773606370875994,
481
+ "importance_ratio": 0.9997727870941162,
482
+ "kl_div_avg": 0.02100951597094536,
483
+ "learning_rate": 4.963572781582398e-07,
484
+ "loss_func": "stage2",
485
+ "step": 56,
486
+ "total_loss": -1.109375
487
+ },
488
+ {
489
+ "epoch": 0.04368600682593857,
490
+ "importance_ratio": 1.0,
491
+ "kl_div_avg": 0.04962018132209778,
492
+ "learning_rate": 4.962844237214046e-07,
493
+ "loss_func": "stage2",
494
+ "step": 57
495
+ },
496
+ {
497
+ "epoch": 0.04368600682593857,
498
+ "importance_ratio": 0.9993993043899536,
499
+ "kl_div_avg": 0.027939818799495697,
500
+ "learning_rate": 4.962115692845694e-07,
501
+ "loss_func": "stage2",
502
+ "step": 58,
503
+ "total_loss": -2.609375
504
+ },
505
+ {
506
+ "epoch": 0.04368600682593857,
507
+ "importance_ratio": 0.9994364976882935,
508
+ "kl_div_avg": 0.03141516447067261,
509
+ "learning_rate": 4.961387148477342e-07,
510
+ "loss_func": "stage2",
511
+ "step": 59,
512
+ "total_loss": 0.8984375
513
+ },
514
+ {
515
+ "epoch": 0.04368600682593857,
516
+ "importance_ratio": 0.9994009137153625,
517
+ "kl_div_avg": 0.022545481100678444,
518
+ "learning_rate": 4.96065860410899e-07,
519
+ "loss_func": "stage2",
520
+ "step": 60,
521
+ "total_loss": 0.734375
522
+ },
523
+ {
524
+ "epoch": 0.04659840728100114,
525
+ "importance_ratio": 1.0,
526
+ "kl_div_avg": 0.03172942250967026,
527
+ "learning_rate": 4.959930059740638e-07,
528
+ "loss_func": "stage2",
529
+ "step": 61
530
+ },
531
+ {
532
+ "epoch": 0.04659840728100114,
533
+ "importance_ratio": 0.9994012117385864,
534
+ "kl_div_avg": 0.020564470440149307,
535
+ "learning_rate": 4.959201515372286e-07,
536
+ "loss_func": "stage2",
537
+ "step": 62
538
+ },
539
+ {
540
+ "epoch": 0.04659840728100114,
541
+ "importance_ratio": 0.9986348152160645,
542
+ "kl_div_avg": 0.02474614419043064,
543
+ "learning_rate": 4.958472971003934e-07,
544
+ "loss_func": "stage2",
545
+ "step": 63
546
+ },
547
+ {
548
+ "epoch": 0.04659840728100114,
549
+ "importance_ratio": 0.9994561672210693,
550
+ "kl_div_avg": 0.02151934802532196,
551
+ "learning_rate": 4.957744426635582e-07,
552
+ "loss_func": "stage2",
553
+ "step": 64
554
+ },
555
+ {
556
+ "epoch": 0.04951080773606371,
557
+ "importance_ratio": 1.0,
558
+ "kl_div_avg": 0.03217197209596634,
559
+ "learning_rate": 4.95701588226723e-07,
560
+ "loss_func": "stage2",
561
+ "step": 65
562
+ },
563
+ {
564
+ "epoch": 0.04951080773606371,
565
+ "importance_ratio": 1.0001919269561768,
566
+ "kl_div_avg": 0.020508602261543274,
567
+ "learning_rate": 4.956287337898878e-07,
568
+ "loss_func": "stage2",
569
+ "step": 66
570
+ },
571
+ {
572
+ "epoch": 0.04951080773606371,
573
+ "importance_ratio": 1.0006890296936035,
574
+ "kl_div_avg": 0.02224303036928177,
575
+ "learning_rate": 4.955558793530525e-07,
576
+ "loss_func": "stage2",
577
+ "step": 67
578
+ },
579
+ {
580
+ "epoch": 0.04951080773606371,
581
+ "importance_ratio": 1.0008221864700317,
582
+ "kl_div_avg": 0.020413096994161606,
583
+ "learning_rate": 4.954830249162173e-07,
584
+ "loss_func": "stage2",
585
+ "step": 68
586
+ },
587
+ {
588
+ "epoch": 0.05242320819112628,
589
+ "importance_ratio": 0.9999940395355225,
590
+ "kl_div_avg": 0.022445013746619225,
591
+ "learning_rate": 4.954101704793822e-07,
592
+ "loss_func": "stage2",
593
+ "step": 69
594
+ },
595
+ {
596
+ "epoch": 0.05242320819112628,
597
+ "importance_ratio": 0.999756932258606,
598
+ "kl_div_avg": 0.014056399464607239,
599
+ "learning_rate": 4.95337316042547e-07,
600
+ "loss_func": "stage2",
601
+ "step": 70
602
+ },
603
+ {
604
+ "epoch": 0.05242320819112628,
605
+ "importance_ratio": 0.9997715950012207,
606
+ "kl_div_avg": 0.012785263359546661,
607
+ "learning_rate": 4.952644616057118e-07,
608
+ "loss_func": "stage2",
609
+ "step": 71
610
+ },
611
+ {
612
+ "epoch": 0.05242320819112628,
613
+ "importance_ratio": 0.9999353885650635,
614
+ "kl_div_avg": 0.024628497660160065,
615
+ "learning_rate": 4.951916071688765e-07,
616
+ "loss_func": "stage2",
617
+ "step": 72
618
+ },
619
+ {
620
+ "epoch": 0.055335608646188854,
621
+ "importance_ratio": 1.000006914138794,
622
+ "kl_div_avg": 0.02687786892056465,
623
+ "learning_rate": 4.951187527320413e-07,
624
+ "loss_func": "stage2",
625
+ "step": 73,
626
+ "total_loss": 1.2734375
627
+ },
628
+ {
629
+ "epoch": 0.055335608646188854,
630
+ "importance_ratio": 0.9989913702011108,
631
+ "kl_div_avg": 0.03032485395669937,
632
+ "learning_rate": 4.950458982952062e-07,
633
+ "loss_func": "stage2",
634
+ "step": 74,
635
+ "total_loss": -0.8046875
636
+ },
637
+ {
638
+ "epoch": 0.055335608646188854,
639
+ "importance_ratio": 1.0003002882003784,
640
+ "kl_div_avg": 0.02986188791692257,
641
+ "learning_rate": 4.94973043858371e-07,
642
+ "loss_func": "stage2",
643
+ "step": 75,
644
+ "total_loss": -0.2177734375
645
+ },
646
+ {
647
+ "epoch": 0.055335608646188854,
648
+ "importance_ratio": 1.0016403198242188,
649
+ "kl_div_avg": 0.024808024987578392,
650
+ "learning_rate": 4.949001894215358e-07,
651
+ "loss_func": "stage2",
652
+ "step": 76
653
+ },
654
+ {
655
+ "epoch": 0.05824800910125142,
656
+ "importance_ratio": 1.0,
657
+ "kl_div_avg": 0.022816969081759453,
658
+ "learning_rate": 4.948273349847005e-07,
659
+ "loss_func": "stage2",
660
+ "step": 77
661
+ },
662
+ {
663
+ "epoch": 0.05824800910125142,
664
+ "importance_ratio": 1.0000745058059692,
665
+ "kl_div_avg": 0.022778337821364403,
666
+ "learning_rate": 4.947544805478653e-07,
667
+ "loss_func": "stage2",
668
+ "step": 78
669
+ },
670
+ {
671
+ "epoch": 0.05824800910125142,
672
+ "importance_ratio": 1.00030517578125,
673
+ "kl_div_avg": 0.024456456303596497,
674
+ "learning_rate": 4.946816261110302e-07,
675
+ "loss_func": "stage2",
676
+ "step": 79
677
+ },
678
+ {
679
+ "epoch": 0.05824800910125142,
680
+ "importance_ratio": 0.9999829530715942,
681
+ "kl_div_avg": 0.010129483416676521,
682
+ "learning_rate": 4.94608771674195e-07,
683
+ "loss_func": "stage2",
684
+ "step": 80
685
+ },
686
+ {
687
+ "epoch": 0.061160409556313994,
688
+ "importance_ratio": 1.0,
689
+ "kl_div_avg": 0.01612446829676628,
690
+ "learning_rate": 4.945359172373597e-07,
691
+ "loss_func": "stage2",
692
+ "step": 81,
693
+ "total_loss": 0.92578125
694
+ },
695
+ {
696
+ "epoch": 0.061160409556313994,
697
+ "importance_ratio": 1.0004006624221802,
698
+ "kl_div_avg": 0.03181140497326851,
699
+ "learning_rate": 4.944630628005245e-07,
700
+ "loss_func": "stage2",
701
+ "step": 82,
702
+ "total_loss": -0.39453125
703
+ },
704
+ {
705
+ "epoch": 0.061160409556313994,
706
+ "importance_ratio": 1.0004996061325073,
707
+ "kl_div_avg": 0.03759714588522911,
708
+ "learning_rate": 4.943902083636893e-07,
709
+ "loss_func": "stage2",
710
+ "step": 83
711
+ },
712
+ {
713
+ "epoch": 0.061160409556313994,
714
+ "importance_ratio": 1.000779390335083,
715
+ "kl_div_avg": 0.03193162754178047,
716
+ "learning_rate": 4.943173539268542e-07,
717
+ "loss_func": "stage2",
718
+ "step": 84,
719
+ "total_loss": -0.98828125
720
+ },
721
+ {
722
+ "epoch": 0.06407281001137656,
723
+ "importance_ratio": 1.0,
724
+ "kl_div_avg": 0.03282681852579117,
725
+ "learning_rate": 4.942444994900189e-07,
726
+ "loss_func": "stage2",
727
+ "step": 85
728
+ },
729
+ {
730
+ "epoch": 0.06407281001137656,
731
+ "importance_ratio": 1.000492811203003,
732
+ "kl_div_avg": 0.030602332204580307,
733
+ "learning_rate": 4.941716450531837e-07,
734
+ "loss_func": "stage2",
735
+ "step": 86
736
+ },
737
+ {
738
+ "epoch": 0.06407281001137656,
739
+ "importance_ratio": 0.9995746612548828,
740
+ "kl_div_avg": 0.020411640405654907,
741
+ "learning_rate": 4.940987906163485e-07,
742
+ "loss_func": "stage2",
743
+ "step": 87
744
+ },
745
+ {
746
+ "epoch": 0.06407281001137656,
747
+ "importance_ratio": 1.0005005598068237,
748
+ "kl_div_avg": 0.03345700725913048,
749
+ "learning_rate": 4.940259361795133e-07,
750
+ "loss_func": "stage2",
751
+ "step": 88
752
+ },
753
+ {
754
+ "epoch": 0.06698521046643914,
755
+ "importance_ratio": 1.0,
756
+ "kl_div_avg": 0.03304775059223175,
757
+ "learning_rate": 4.939530817426781e-07,
758
+ "loss_func": "stage2",
759
+ "step": 89
760
+ },
761
+ {
762
+ "epoch": 0.06698521046643914,
763
+ "importance_ratio": 1.0001821517944336,
764
+ "kl_div_avg": 0.023516833782196045,
765
+ "learning_rate": 4.938802273058428e-07,
766
+ "loss_func": "stage2",
767
+ "step": 90
768
+ },
769
+ {
770
+ "epoch": 0.06698521046643914,
771
+ "importance_ratio": 0.9999701976776123,
772
+ "kl_div_avg": 0.019087690860033035,
773
+ "learning_rate": 4.938073728690077e-07,
774
+ "loss_func": "stage2",
775
+ "step": 91
776
+ },
777
+ {
778
+ "epoch": 0.06698521046643914,
779
+ "importance_ratio": 1.0003143548965454,
780
+ "kl_div_avg": 0.030453892424702644,
781
+ "learning_rate": 4.937345184321725e-07,
782
+ "loss_func": "stage2",
783
+ "step": 92
784
+ },
785
+ {
786
+ "epoch": 0.06989761092150171,
787
+ "importance_ratio": 0.9999972581863403,
788
+ "kl_div_avg": 0.017626766115427017,
789
+ "learning_rate": 4.936616639953373e-07,
790
+ "loss_func": "stage2",
791
+ "step": 93,
792
+ "total_loss": -0.400390625
793
+ },
794
+ {
795
+ "epoch": 0.06989761092150171,
796
+ "importance_ratio": 1.0001485347747803,
797
+ "kl_div_avg": 0.02021140605211258,
798
+ "learning_rate": 4.935888095585021e-07,
799
+ "loss_func": "stage2",
800
+ "step": 94,
801
+ "total_loss": -0.330078125
802
+ },
803
+ {
804
+ "epoch": 0.06989761092150171,
805
+ "importance_ratio": 1.0001258850097656,
806
+ "kl_div_avg": 0.016257211565971375,
807
+ "learning_rate": 4.935159551216668e-07,
808
+ "loss_func": "stage2",
809
+ "step": 95,
810
+ "total_loss": -0.056396484375
811
+ },
812
+ {
813
+ "epoch": 0.06989761092150171,
814
+ "importance_ratio": 1.000044584274292,
815
+ "kl_div_avg": 0.013729836791753769,
816
+ "learning_rate": 4.934431006848317e-07,
817
+ "loss_func": "stage2",
818
+ "step": 96,
819
+ "total_loss": -2.09375
820
+ },
821
+ {
822
+ "epoch": 0.07281001137656427,
823
+ "importance_ratio": 1.0,
824
+ "kl_div_avg": 0.016564857214689255,
825
+ "learning_rate": 4.933702462479965e-07,
826
+ "loss_func": "stage2",
827
+ "step": 97,
828
+ "total_loss": -0.55859375
829
+ },
830
+ {
831
+ "epoch": 0.07281001137656427,
832
+ "importance_ratio": 1.0003982782363892,
833
+ "kl_div_avg": 0.020946823060512543,
834
+ "learning_rate": 4.932973918111613e-07,
835
+ "loss_func": "stage2",
836
+ "step": 98,
837
+ "total_loss": -0.330078125
838
+ },
839
+ {
840
+ "epoch": 0.07281001137656427,
841
+ "importance_ratio": 1.0006924867630005,
842
+ "kl_div_avg": 0.02827777899801731,
843
+ "learning_rate": 4.932245373743261e-07,
844
+ "loss_func": "stage2",
845
+ "step": 99,
846
+ "total_loss": 1.0078125
847
+ },
848
+ {
849
+ "epoch": 0.07281001137656427,
850
+ "importance_ratio": 1.0015332698822021,
851
+ "kl_div_avg": 0.022303098812699318,
852
+ "learning_rate": 4.931516829374908e-07,
853
+ "loss_func": "stage2",
854
+ "step": 100,
855
+ "total_loss": -0.447265625
856
+ },
857
+ {
858
+ "epoch": 0.07572241183162685,
859
+ "importance_ratio": 1.0,
860
+ "kl_div_avg": 0.025843780487775803,
861
+ "learning_rate": 4.930788285006557e-07,
862
+ "loss_func": "stage2",
863
+ "step": 101
864
+ },
865
+ {
866
+ "epoch": 0.07572241183162685,
867
+ "importance_ratio": 1.0007214546203613,
868
+ "kl_div_avg": 0.02605029195547104,
869
+ "learning_rate": 4.930059740638205e-07,
870
+ "loss_func": "stage2",
871
+ "step": 102
872
+ },
873
+ {
874
+ "epoch": 0.07572241183162685,
875
+ "importance_ratio": 1.0010168552398682,
876
+ "kl_div_avg": 0.014528175815939903,
877
+ "learning_rate": 4.929331196269853e-07,
878
+ "loss_func": "stage2",
879
+ "step": 103
880
+ },
881
+ {
882
+ "epoch": 0.07572241183162685,
883
+ "importance_ratio": 1.0012537240982056,
884
+ "kl_div_avg": 0.017674319446086884,
885
+ "learning_rate": 4.9286026519015e-07,
886
+ "loss_func": "stage2",
887
+ "step": 104
888
+ },
889
+ {
890
+ "epoch": 0.07863481228668942,
891
+ "importance_ratio": 1.0,
892
+ "kl_div_avg": 0.0374433770775795,
893
+ "learning_rate": 4.927874107533148e-07,
894
+ "loss_func": "stage2",
895
+ "step": 105
896
+ },
897
+ {
898
+ "epoch": 0.07863481228668942,
899
+ "importance_ratio": 1.0003745555877686,
900
+ "kl_div_avg": 0.03026525117456913,
901
+ "learning_rate": 4.927145563164796e-07,
902
+ "loss_func": "stage2",
903
+ "step": 106
904
+ },
905
+ {
906
+ "epoch": 0.07863481228668942,
907
+ "importance_ratio": 1.0008736848831177,
908
+ "kl_div_avg": 0.032609131187200546,
909
+ "learning_rate": 4.926417018796445e-07,
910
+ "loss_func": "stage2",
911
+ "step": 107
912
+ },
913
+ {
914
+ "epoch": 0.07863481228668942,
915
+ "importance_ratio": 1.0013196468353271,
916
+ "kl_div_avg": 0.030896253883838654,
917
+ "learning_rate": 4.925688474428093e-07,
918
+ "loss_func": "stage2",
919
+ "step": 108
920
+ },
921
+ {
922
+ "epoch": 0.08154721274175199,
923
+ "importance_ratio": 1.0,
924
+ "kl_div_avg": 0.014346327632665634,
925
+ "learning_rate": 4.92495993005974e-07,
926
+ "loss_func": "stage2",
927
+ "step": 109
928
+ },
929
+ {
930
+ "epoch": 0.08154721274175199,
931
+ "importance_ratio": 1.0002002716064453,
932
+ "kl_div_avg": 0.05834633857011795,
933
+ "learning_rate": 4.924231385691388e-07,
934
+ "loss_func": "stage2",
935
+ "step": 110
936
+ },
937
+ {
938
+ "epoch": 0.08154721274175199,
939
+ "importance_ratio": 1.0007352828979492,
940
+ "kl_div_avg": 0.035077303647994995,
941
+ "learning_rate": 4.923502841323036e-07,
942
+ "loss_func": "stage2",
943
+ "step": 111
944
+ },
945
+ {
946
+ "epoch": 0.08154721274175199,
947
+ "importance_ratio": 1.000758409500122,
948
+ "kl_div_avg": 0.03604833036661148,
949
+ "learning_rate": 4.922774296954685e-07,
950
+ "loss_func": "stage2",
951
+ "step": 112
952
+ },
953
+ {
954
+ "epoch": 0.08445961319681457,
955
+ "importance_ratio": 1.0,
956
+ "kl_div_avg": 0.052136775106191635,
957
+ "learning_rate": 4.922045752586333e-07,
958
+ "loss_func": "stage2",
959
+ "step": 113
960
+ },
961
+ {
962
+ "epoch": 0.08445961319681457,
963
+ "importance_ratio": 0.9997671842575073,
964
+ "kl_div_avg": 0.03220074623823166,
965
+ "learning_rate": 4.92131720821798e-07,
966
+ "loss_func": "stage2",
967
+ "step": 114
968
+ },
969
+ {
970
+ "epoch": 0.08445961319681457,
971
+ "importance_ratio": 1.0004247426986694,
972
+ "kl_div_avg": 0.08191032707691193,
973
+ "learning_rate": 4.920588663849628e-07,
974
+ "loss_func": "stage2",
975
+ "step": 115
976
+ },
977
+ {
978
+ "epoch": 0.08445961319681457,
979
+ "importance_ratio": 1.0003342628479004,
980
+ "kl_div_avg": 0.048977646976709366,
981
+ "learning_rate": 4.919860119481276e-07,
982
+ "loss_func": "stage2",
983
+ "step": 116
984
+ },
985
+ {
986
+ "epoch": 0.08737201365187713,
987
+ "importance_ratio": 1.0,
988
+ "kl_div_avg": 0.03430851176381111,
989
+ "learning_rate": 4.919131575112925e-07,
990
+ "loss_func": "stage2",
991
+ "step": 117
992
+ },
993
+ {
994
+ "epoch": 0.08737201365187713,
995
+ "importance_ratio": 1.0001081228256226,
996
+ "kl_div_avg": 0.02755298838019371,
997
+ "learning_rate": 4.918403030744572e-07,
998
+ "loss_func": "stage2",
999
+ "step": 118
1000
+ },
1001
+ {
1002
+ "epoch": 0.08737201365187713,
1003
+ "importance_ratio": 1.001303791999817,
1004
+ "kl_div_avg": 0.021847058087587357,
1005
+ "learning_rate": 4.91767448637622e-07,
1006
+ "loss_func": "stage2",
1007
+ "step": 119
1008
+ },
1009
+ {
1010
+ "epoch": 0.08737201365187713,
1011
+ "importance_ratio": 1.002398133277893,
1012
+ "kl_div_avg": 0.027827974408864975,
1013
+ "learning_rate": 4.916945942007868e-07,
1014
+ "loss_func": "stage2",
1015
+ "step": 120
1016
+ },
1017
+ {
1018
+ "epoch": 0.0902844141069397,
1019
+ "importance_ratio": 1.0,
1020
+ "kl_div_avg": 0.030544161796569824,
1021
+ "learning_rate": 4.916217397639516e-07,
1022
+ "loss_func": "stage2",
1023
+ "step": 121
1024
+ },
1025
+ {
1026
+ "epoch": 0.0902844141069397,
1027
+ "importance_ratio": 0.9998140335083008,
1028
+ "kl_div_avg": 0.022375673055648804,
1029
+ "learning_rate": 4.915488853271165e-07,
1030
+ "loss_func": "stage2",
1031
+ "step": 122,
1032
+ "total_loss": -0.2255859375
1033
+ },
1034
+ {
1035
+ "epoch": 0.0902844141069397,
1036
+ "importance_ratio": 0.999756932258606,
1037
+ "kl_div_avg": 0.024012772366404533,
1038
+ "learning_rate": 4.914760308902812e-07,
1039
+ "loss_func": "stage2",
1040
+ "step": 123,
1041
+ "total_loss": 1.9375
1042
+ },
1043
+ {
1044
+ "epoch": 0.0902844141069397,
1045
+ "importance_ratio": 0.9983590245246887,
1046
+ "kl_div_avg": 0.030688390135765076,
1047
+ "learning_rate": 4.91403176453446e-07,
1048
+ "loss_func": "stage2",
1049
+ "step": 124,
1050
+ "total_loss": -0.3125
1051
+ },
1052
+ {
1053
+ "epoch": 0.09319681456200228,
1054
+ "importance_ratio": 1.0000343322753906,
1055
+ "kl_div_avg": 0.0227835550904274,
1056
+ "learning_rate": 4.913303220166108e-07,
1057
+ "loss_func": "stage2",
1058
+ "step": 125,
1059
+ "total_loss": 1.390625
1060
+ },
1061
+ {
1062
+ "epoch": 0.09319681456200228,
1063
+ "importance_ratio": 0.998842179775238,
1064
+ "kl_div_avg": 0.039185911417007446,
1065
+ "learning_rate": 4.912574675797756e-07,
1066
+ "loss_func": "stage2",
1067
+ "step": 126,
1068
+ "total_loss": -1.1328125
1069
+ },
1070
+ {
1071
+ "epoch": 0.09319681456200228,
1072
+ "importance_ratio": 0.9984805583953857,
1073
+ "kl_div_avg": 0.03698894754052162,
1074
+ "learning_rate": 4.911846131429404e-07,
1075
+ "loss_func": "stage2",
1076
+ "step": 127
1077
+ },
1078
+ {
1079
+ "epoch": 0.09319681456200228,
1080
+ "importance_ratio": 0.9969534277915955,
1081
+ "kl_div_avg": 0.03554018214344978,
1082
+ "learning_rate": 4.911117587061051e-07,
1083
+ "loss_func": "stage2",
1084
+ "step": 128,
1085
+ "total_loss": -1.3359375
1086
+ },
1087
+ {
1088
+ "epoch": 0.09610921501706485,
1089
+ "importance_ratio": 1.0,
1090
+ "kl_div_avg": 0.040138669312000275,
1091
+ "learning_rate": 4.9103890426927e-07,
1092
+ "loss_func": "stage2",
1093
+ "step": 129
1094
+ },
1095
+ {
1096
+ "epoch": 0.09610921501706485,
1097
+ "importance_ratio": 0.9992395639419556,
1098
+ "kl_div_avg": 0.022615844383835793,
1099
+ "learning_rate": 4.909660498324348e-07,
1100
+ "loss_func": "stage2",
1101
+ "step": 130
1102
+ },
1103
+ {
1104
+ "epoch": 0.09610921501706485,
1105
+ "importance_ratio": 0.9979618787765503,
1106
+ "kl_div_avg": 0.03186524659395218,
1107
+ "learning_rate": 4.908931953955996e-07,
1108
+ "loss_func": "stage2",
1109
+ "step": 131
1110
+ },
1111
+ {
1112
+ "epoch": 0.09610921501706485,
1113
+ "importance_ratio": 0.9972538948059082,
1114
+ "kl_div_avg": 0.02623588964343071,
1115
+ "learning_rate": 4.908203409587643e-07,
1116
+ "loss_func": "stage2",
1117
+ "step": 132
1118
+ },
1119
+ {
1120
+ "epoch": 0.09902161547212741,
1121
+ "importance_ratio": 1.0,
1122
+ "kl_div_avg": 0.041892606765031815,
1123
+ "learning_rate": 4.907474865219291e-07,
1124
+ "loss_func": "stage2",
1125
+ "step": 133
1126
+ },
1127
+ {
1128
+ "epoch": 0.09902161547212741,
1129
+ "importance_ratio": 0.9995802640914917,
1130
+ "kl_div_avg": 0.030310548841953278,
1131
+ "learning_rate": 4.90674632085094e-07,
1132
+ "loss_func": "stage2",
1133
+ "step": 134
1134
+ },
1135
+ {
1136
+ "epoch": 0.09902161547212741,
1137
+ "importance_ratio": 0.9992105960845947,
1138
+ "kl_div_avg": 0.06457407772541046,
1139
+ "learning_rate": 4.906017776482588e-07,
1140
+ "loss_func": "stage2",
1141
+ "step": 135
1142
+ },
1143
+ {
1144
+ "epoch": 0.09902161547212741,
1145
+ "importance_ratio": 0.9980916380882263,
1146
+ "kl_div_avg": 0.03993566334247589,
1147
+ "learning_rate": 4.905289232114235e-07,
1148
+ "loss_func": "stage2",
1149
+ "step": 136
1150
+ },
1151
+ {
1152
+ "epoch": 0.10193401592719,
1153
+ "importance_ratio": 1.0,
1154
+ "kl_div_avg": 0.021149709820747375,
1155
+ "learning_rate": 4.904560687745883e-07,
1156
+ "loss_func": "stage2",
1157
+ "step": 137
1158
+ },
1159
+ {
1160
+ "epoch": 0.10193401592719,
1161
+ "importance_ratio": 0.9998972415924072,
1162
+ "kl_div_avg": 0.04991449788212776,
1163
+ "learning_rate": 4.903832143377531e-07,
1164
+ "loss_func": "stage2",
1165
+ "step": 138
1166
+ },
1167
+ {
1168
+ "epoch": 0.10193401592719,
1169
+ "importance_ratio": 0.9993065595626831,
1170
+ "kl_div_avg": 0.03638123348355293,
1171
+ "learning_rate": 4.90310359900918e-07,
1172
+ "loss_func": "stage2",
1173
+ "step": 139
1174
+ },
1175
+ {
1176
+ "epoch": 0.10193401592719,
1177
+ "importance_ratio": 0.9985758066177368,
1178
+ "kl_div_avg": 0.04586644098162651,
1179
+ "learning_rate": 4.902375054640828e-07,
1180
+ "loss_func": "stage2",
1181
+ "step": 140
1182
+ },
1183
+ {
1184
+ "epoch": 0.10484641638225256,
1185
+ "importance_ratio": 0.9999945759773254,
1186
+ "kl_div_avg": 0.025496020913124084,
1187
+ "learning_rate": 4.901646510272475e-07,
1188
+ "loss_func": "stage2",
1189
+ "step": 141,
1190
+ "total_loss": -1.21875
1191
+ },
1192
+ {
1193
+ "epoch": 0.10484641638225256,
1194
+ "importance_ratio": 0.9999227523803711,
1195
+ "kl_div_avg": 0.025891993194818497,
1196
+ "learning_rate": 4.900917965904123e-07,
1197
+ "loss_func": "stage2",
1198
+ "step": 142,
1199
+ "total_loss": 1.2890625
1200
+ },
1201
+ {
1202
+ "epoch": 0.10484641638225256,
1203
+ "importance_ratio": 0.9999605417251587,
1204
+ "kl_div_avg": 0.02385072410106659,
1205
+ "learning_rate": 4.900189421535771e-07,
1206
+ "loss_func": "stage2",
1207
+ "step": 143
1208
+ },
1209
+ {
1210
+ "epoch": 0.10484641638225256,
1211
+ "importance_ratio": 1.0007202625274658,
1212
+ "kl_div_avg": 0.027996843680739403,
1213
+ "learning_rate": 4.89946087716742e-07,
1214
+ "loss_func": "stage2",
1215
+ "step": 144,
1216
+ "total_loss": -1.4765625
1217
+ },
1218
+ {
1219
+ "epoch": 0.10775881683731513,
1220
+ "importance_ratio": 1.0,
1221
+ "kl_div_avg": 0.01974659040570259,
1222
+ "learning_rate": 4.898732332799068e-07,
1223
+ "loss_func": "stage2",
1224
+ "step": 145
1225
+ },
1226
+ {
1227
+ "epoch": 0.10775881683731513,
1228
+ "importance_ratio": 1.0009050369262695,
1229
+ "kl_div_avg": 0.0290310550481081,
1230
+ "learning_rate": 4.898003788430715e-07,
1231
+ "loss_func": "stage2",
1232
+ "step": 146
1233
+ },
1234
+ {
1235
+ "epoch": 0.10775881683731513,
1236
+ "importance_ratio": 1.0006165504455566,
1237
+ "kl_div_avg": 0.025887252762913704,
1238
+ "learning_rate": 4.897275244062363e-07,
1239
+ "loss_func": "stage2",
1240
+ "step": 147
1241
+ },
1242
+ {
1243
+ "epoch": 0.10775881683731513,
1244
+ "importance_ratio": 1.0016820430755615,
1245
+ "kl_div_avg": 0.021247221156954765,
1246
+ "learning_rate": 4.896546699694011e-07,
1247
+ "loss_func": "stage2",
1248
+ "step": 148
1249
+ },
1250
+ {
1251
+ "epoch": 0.11067121729237771,
1252
+ "importance_ratio": 1.0,
1253
+ "kl_div_avg": 0.040258921682834625,
1254
+ "learning_rate": 4.895818155325659e-07,
1255
+ "loss_func": "stage2",
1256
+ "step": 149,
1257
+ "total_loss": 0.013671875
1258
+ },
1259
+ {
1260
+ "epoch": 0.11067121729237771,
1261
+ "importance_ratio": 1.0006983280181885,
1262
+ "kl_div_avg": 0.025034813210368156,
1263
+ "learning_rate": 4.895089610957307e-07,
1264
+ "loss_func": "stage2",
1265
+ "step": 150,
1266
+ "total_loss": -0.08203125
1267
+ },
1268
+ {
1269
+ "epoch": 0.11067121729237771,
1270
+ "importance_ratio": 1.0025944709777832,
1271
+ "kl_div_avg": 0.034798409789800644,
1272
+ "learning_rate": 4.894361066588955e-07,
1273
+ "loss_func": "stage2",
1274
+ "step": 151,
1275
+ "total_loss": -0.484375
1276
+ },
1277
+ {
1278
+ "epoch": 0.11067121729237771,
1279
+ "importance_ratio": 1.0026025772094727,
1280
+ "kl_div_avg": 0.02111036330461502,
1281
+ "learning_rate": 4.893632522220603e-07,
1282
+ "loss_func": "stage2",
1283
+ "step": 152,
1284
+ "total_loss": -0.142578125
1285
+ },
1286
+ {
1287
+ "epoch": 0.11358361774744027,
1288
+ "importance_ratio": 1.0,
1289
+ "kl_div_avg": 0.03777769207954407,
1290
+ "learning_rate": 4.892903977852251e-07,
1291
+ "loss_func": "stage2",
1292
+ "step": 153
1293
+ },
1294
+ {
1295
+ "epoch": 0.11358361774744027,
1296
+ "importance_ratio": 1.0004066228866577,
1297
+ "kl_div_avg": 0.027016688138246536,
1298
+ "learning_rate": 4.892175433483899e-07,
1299
+ "loss_func": "stage2",
1300
+ "step": 154
1301
+ },
1302
+ {
1303
+ "epoch": 0.11358361774744027,
1304
+ "importance_ratio": 1.000730037689209,
1305
+ "kl_div_avg": 0.026569224894046783,
1306
+ "learning_rate": 4.891446889115547e-07,
1307
+ "loss_func": "stage2",
1308
+ "step": 155
1309
+ },
1310
+ {
1311
+ "epoch": 0.11358361774744027,
1312
+ "importance_ratio": 1.0018224716186523,
1313
+ "kl_div_avg": 0.038676515221595764,
1314
+ "learning_rate": 4.890718344747195e-07,
1315
+ "loss_func": "stage2",
1316
+ "step": 156
1317
+ },
1318
+ {
1319
+ "epoch": 0.11649601820250284,
1320
+ "importance_ratio": 1.0,
1321
+ "kl_div_avg": 0.052732765674591064,
1322
+ "learning_rate": 4.889989800378843e-07,
1323
+ "loss_func": "stage2",
1324
+ "step": 157,
1325
+ "total_loss": -1.03125
1326
+ },
1327
+ {
1328
+ "epoch": 0.11649601820250284,
1329
+ "importance_ratio": 0.9996334314346313,
1330
+ "kl_div_avg": 0.05555739998817444,
1331
+ "learning_rate": 4.889261256010491e-07,
1332
+ "loss_func": "stage2",
1333
+ "step": 158,
1334
+ "total_loss": -1.0625
1335
+ },
1336
+ {
1337
+ "epoch": 0.11649601820250284,
1338
+ "importance_ratio": 0.9995920658111572,
1339
+ "kl_div_avg": 0.03014589659869671,
1340
+ "learning_rate": 4.888532711642138e-07,
1341
+ "loss_func": "stage2",
1342
+ "step": 159,
1343
+ "total_loss": -0.80859375
1344
+ },
1345
+ {
1346
+ "epoch": 0.11649601820250284,
1347
+ "importance_ratio": 0.9997560977935791,
1348
+ "kl_div_avg": 0.06232505291700363,
1349
+ "learning_rate": 4.887804167273787e-07,
1350
+ "loss_func": "stage2",
1351
+ "step": 160,
1352
+ "total_loss": -1.125
1353
+ },
1354
+ {
1355
+ "epoch": 0.11940841865756542,
1356
+ "importance_ratio": 1.0,
1357
+ "kl_div_avg": 0.05529934912919998,
1358
+ "learning_rate": 4.887075622905435e-07,
1359
+ "loss_func": "stage2",
1360
+ "step": 161
1361
+ },
1362
+ {
1363
+ "epoch": 0.11940841865756542,
1364
+ "importance_ratio": 1.0000139474868774,
1365
+ "kl_div_avg": 0.022508345544338226,
1366
+ "learning_rate": 4.886347078537083e-07,
1367
+ "loss_func": "stage2",
1368
+ "step": 162
1369
+ },
1370
+ {
1371
+ "epoch": 0.11940841865756542,
1372
+ "importance_ratio": 1.0001630783081055,
1373
+ "kl_div_avg": 0.015631631016731262,
1374
+ "learning_rate": 4.885618534168731e-07,
1375
+ "loss_func": "stage2",
1376
+ "step": 163
1377
+ },
1378
+ {
1379
+ "epoch": 0.11940841865756542,
1380
+ "importance_ratio": 1.0005483627319336,
1381
+ "kl_div_avg": 0.06399040669202805,
1382
+ "learning_rate": 4.884889989800378e-07,
1383
+ "loss_func": "stage2",
1384
+ "step": 164
1385
+ },
1386
+ {
1387
+ "epoch": 0.12232081911262799,
1388
+ "importance_ratio": 1.0,
1389
+ "kl_div_avg": 0.03488156944513321,
1390
+ "learning_rate": 4.884161445432027e-07,
1391
+ "loss_func": "stage2",
1392
+ "step": 165
1393
+ },
1394
+ {
1395
+ "epoch": 0.12232081911262799,
1396
+ "importance_ratio": 1.000325322151184,
1397
+ "kl_div_avg": 0.026072338223457336,
1398
+ "learning_rate": 4.883432901063674e-07,
1399
+ "loss_func": "stage2",
1400
+ "step": 166
1401
+ },
1402
+ {
1403
+ "epoch": 0.12232081911262799,
1404
+ "importance_ratio": 1.0011181831359863,
1405
+ "kl_div_avg": 0.031591013073921204,
1406
+ "learning_rate": 4.882704356695323e-07,
1407
+ "loss_func": "stage2",
1408
+ "step": 167
1409
+ },
1410
+ {
1411
+ "epoch": 0.12232081911262799,
1412
+ "importance_ratio": 1.0013492107391357,
1413
+ "kl_div_avg": 0.03676939755678177,
1414
+ "learning_rate": 4.881975812326971e-07,
1415
+ "loss_func": "stage2",
1416
+ "step": 168
1417
+ },
1418
+ {
1419
+ "epoch": 0.12523321956769057,
1420
+ "importance_ratio": 1.0,
1421
+ "kl_div_avg": 0.030846180394291878,
1422
+ "learning_rate": 4.881247267958618e-07,
1423
+ "loss_func": "stage2",
1424
+ "step": 169
1425
+ },
1426
+ {
1427
+ "epoch": 0.12523321956769057,
1428
+ "importance_ratio": 0.9997780323028564,
1429
+ "kl_div_avg": 0.030299291014671326,
1430
+ "learning_rate": 4.880518723590266e-07,
1431
+ "loss_func": "stage2",
1432
+ "step": 170,
1433
+ "total_loss": 1.0
1434
+ },
1435
+ {
1436
+ "epoch": 0.12523321956769057,
1437
+ "importance_ratio": 0.9996495246887207,
1438
+ "kl_div_avg": 0.03033524751663208,
1439
+ "learning_rate": 4.879790179221914e-07,
1440
+ "loss_func": "stage2",
1441
+ "step": 171,
1442
+ "total_loss": 1.1953125
1443
+ },
1444
+ {
1445
+ "epoch": 0.12523321956769057,
1446
+ "importance_ratio": 0.9985495805740356,
1447
+ "kl_div_avg": 0.024776607751846313,
1448
+ "learning_rate": 4.879061634853563e-07,
1449
+ "loss_func": "stage2",
1450
+ "step": 172,
1451
+ "total_loss": -1.5703125
1452
+ },
1453
+ {
1454
+ "epoch": 0.12814562002275312,
1455
+ "importance_ratio": 1.0,
1456
+ "kl_div_avg": 0.03331543505191803,
1457
+ "learning_rate": 4.87833309048521e-07,
1458
+ "loss_func": "stage2",
1459
+ "step": 173
1460
+ },
1461
+ {
1462
+ "epoch": 0.12814562002275312,
1463
+ "importance_ratio": 0.9997560381889343,
1464
+ "kl_div_avg": 0.027614161372184753,
1465
+ "learning_rate": 4.877604546116858e-07,
1466
+ "loss_func": "stage2",
1467
+ "step": 174
1468
+ },
1469
+ {
1470
+ "epoch": 0.12814562002275312,
1471
+ "importance_ratio": 0.9999554753303528,
1472
+ "kl_div_avg": 0.0482001006603241,
1473
+ "learning_rate": 4.876876001748506e-07,
1474
+ "loss_func": "stage2",
1475
+ "step": 175
1476
+ },
1477
+ {
1478
+ "epoch": 0.12814562002275312,
1479
+ "importance_ratio": 1.0001144409179688,
1480
+ "kl_div_avg": 0.03714786469936371,
1481
+ "learning_rate": 4.876147457380154e-07,
1482
+ "loss_func": "stage2",
1483
+ "step": 176
1484
+ },
1485
+ {
1486
+ "epoch": 0.1310580204778157,
1487
+ "importance_ratio": 1.0,
1488
+ "kl_div_avg": 0.05323777347803116,
1489
+ "learning_rate": 4.875418913011803e-07,
1490
+ "loss_func": "stage2",
1491
+ "step": 177,
1492
+ "total_loss": -0.48828125
1493
+ },
1494
+ {
1495
+ "epoch": 0.1310580204778157,
1496
+ "importance_ratio": 1.0003318786621094,
1497
+ "kl_div_avg": 0.03846876323223114,
1498
+ "learning_rate": 4.87469036864345e-07,
1499
+ "loss_func": "stage2",
1500
+ "step": 178,
1501
+ "total_loss": 0.640625
1502
+ },
1503
+ {
1504
+ "epoch": 0.1310580204778157,
1505
+ "importance_ratio": 1.0011920928955078,
1506
+ "kl_div_avg": 0.041027769446372986,
1507
+ "learning_rate": 4.873961824275098e-07,
1508
+ "loss_func": "stage2",
1509
+ "step": 179,
1510
+ "total_loss": -0.55078125
1511
+ },
1512
+ {
1513
+ "epoch": 0.1310580204778157,
1514
+ "importance_ratio": 1.0019876956939697,
1515
+ "kl_div_avg": 0.045351505279541016,
1516
+ "learning_rate": 4.873233279906746e-07,
1517
+ "loss_func": "stage2",
1518
+ "step": 180
1519
+ },
1520
+ {
1521
+ "epoch": 0.13397042093287828,
1522
+ "importance_ratio": 1.0,
1523
+ "kl_div_avg": 0.02115241438150406,
1524
+ "learning_rate": 4.872504735538394e-07,
1525
+ "loss_func": "stage2",
1526
+ "step": 181,
1527
+ "total_loss": 0.8046875
1528
+ },
1529
+ {
1530
+ "epoch": 0.13397042093287828,
1531
+ "importance_ratio": 1.0003323554992676,
1532
+ "kl_div_avg": 0.026031356304883957,
1533
+ "learning_rate": 4.871776191170043e-07,
1534
+ "loss_func": "stage2",
1535
+ "step": 182
1536
+ },
1537
+ {
1538
+ "epoch": 0.13397042093287828,
1539
+ "importance_ratio": 1.0005035400390625,
1540
+ "kl_div_avg": 0.014925890602171421,
1541
+ "learning_rate": 4.87104764680169e-07,
1542
+ "loss_func": "stage2",
1543
+ "step": 183,
1544
+ "total_loss": 0.8125
1545
+ },
1546
+ {
1547
+ "epoch": 0.13397042093287828,
1548
+ "importance_ratio": 1.0016844272613525,
1549
+ "kl_div_avg": 0.02387421950697899,
1550
+ "learning_rate": 4.870319102433338e-07,
1551
+ "loss_func": "stage2",
1552
+ "step": 184,
1553
+ "total_loss": -1.6484375
1554
+ },
1555
+ {
1556
+ "epoch": 0.13688282138794083,
1557
+ "importance_ratio": 1.0,
1558
+ "kl_div_avg": 0.04454325884580612,
1559
+ "learning_rate": 4.869590558064986e-07,
1560
+ "loss_func": "stage2",
1561
+ "step": 185
1562
+ },
1563
+ {
1564
+ "epoch": 0.13688282138794083,
1565
+ "importance_ratio": 1.0004349946975708,
1566
+ "kl_div_avg": 0.037973642349243164,
1567
+ "learning_rate": 4.868862013696634e-07,
1568
+ "loss_func": "stage2",
1569
+ "step": 186
1570
+ },
1571
+ {
1572
+ "epoch": 0.13688282138794083,
1573
+ "importance_ratio": 1.0010215044021606,
1574
+ "kl_div_avg": 0.043117135763168335,
1575
+ "learning_rate": 4.868133469328281e-07,
1576
+ "loss_func": "stage2",
1577
+ "step": 187
1578
+ },
1579
+ {
1580
+ "epoch": 0.13688282138794083,
1581
+ "importance_ratio": 1.0012775659561157,
1582
+ "kl_div_avg": 0.033980466425418854,
1583
+ "learning_rate": 4.86740492495993e-07,
1584
+ "loss_func": "stage2",
1585
+ "step": 188
1586
+ },
1587
+ {
1588
+ "epoch": 0.13979522184300341,
1589
+ "importance_ratio": 1.0,
1590
+ "kl_div_avg": 0.03627289831638336,
1591
+ "learning_rate": 4.866676380591578e-07,
1592
+ "loss_func": "stage2",
1593
+ "step": 189,
1594
+ "total_loss": 1.046875
1595
+ },
1596
+ {
1597
+ "epoch": 0.13979522184300341,
1598
+ "importance_ratio": 1.0005991458892822,
1599
+ "kl_div_avg": 0.0504533126950264,
1600
+ "learning_rate": 4.865947836223226e-07,
1601
+ "loss_func": "stage2",
1602
+ "step": 190,
1603
+ "total_loss": 1.265625
1604
+ },
1605
+ {
1606
+ "epoch": 0.13979522184300341,
1607
+ "importance_ratio": 1.0003464221954346,
1608
+ "kl_div_avg": 0.04870688170194626,
1609
+ "learning_rate": 4.865219291854874e-07,
1610
+ "loss_func": "stage2",
1611
+ "step": 191,
1612
+ "total_loss": -1.1875
1613
+ },
1614
+ {
1615
+ "epoch": 0.13979522184300341,
1616
+ "importance_ratio": 1.0007530450820923,
1617
+ "kl_div_avg": 0.038728028535842896,
1618
+ "learning_rate": 4.864490747486521e-07,
1619
+ "loss_func": "stage2",
1620
+ "step": 192,
1621
+ "total_loss": 1.2109375
1622
+ },
1623
+ {
1624
+ "epoch": 0.142707622298066,
1625
+ "importance_ratio": 1.0000061988830566,
1626
+ "kl_div_avg": 0.028430147096514702,
1627
+ "learning_rate": 4.86376220311817e-07,
1628
+ "loss_func": "stage2",
1629
+ "step": 193
1630
+ },
1631
+ {
1632
+ "epoch": 0.142707622298066,
1633
+ "importance_ratio": 1.0001733303070068,
1634
+ "kl_div_avg": 0.01401587575674057,
1635
+ "learning_rate": 4.863033658749818e-07,
1636
+ "loss_func": "stage2",
1637
+ "step": 194
1638
+ },
1639
+ {
1640
+ "epoch": 0.142707622298066,
1641
+ "importance_ratio": 1.0002660751342773,
1642
+ "kl_div_avg": 0.024514583870768547,
1643
+ "learning_rate": 4.862305114381466e-07,
1644
+ "loss_func": "stage2",
1645
+ "step": 195
1646
+ },
1647
+ {
1648
+ "epoch": 0.142707622298066,
1649
+ "importance_ratio": 1.0008165836334229,
1650
+ "kl_div_avg": 0.034122683107852936,
1651
+ "learning_rate": 4.861576570013113e-07,
1652
+ "loss_func": "stage2",
1653
+ "step": 196
1654
+ },
1655
+ {
1656
+ "epoch": 0.14562002275312855,
1657
+ "importance_ratio": 1.0,
1658
+ "kl_div_avg": 0.04862019419670105,
1659
+ "learning_rate": 4.860848025644761e-07,
1660
+ "loss_func": "stage2",
1661
+ "step": 197
1662
+ },
1663
+ {
1664
+ "epoch": 0.14562002275312855,
1665
+ "importance_ratio": 0.9995243549346924,
1666
+ "kl_div_avg": 0.02397969551384449,
1667
+ "learning_rate": 4.86011948127641e-07,
1668
+ "loss_func": "stage2",
1669
+ "step": 198,
1670
+ "total_loss": -0.4609375
1671
+ },
1672
+ {
1673
+ "epoch": 0.14562002275312855,
1674
+ "importance_ratio": 0.9991512894630432,
1675
+ "kl_div_avg": 0.027180787175893784,
1676
+ "learning_rate": 4.859390936908058e-07,
1677
+ "loss_func": "stage2",
1678
+ "step": 199,
1679
+ "total_loss": -0.5390625
1680
+ },
1681
+ {
1682
+ "epoch": 0.14562002275312855,
1683
+ "importance_ratio": 0.999755859375,
1684
+ "kl_div_avg": 0.02702735923230648,
1685
+ "learning_rate": 4.858662392539706e-07,
1686
+ "loss_func": "stage2",
1687
+ "step": 200,
1688
+ "total_loss": 0.90625
1689
+ },
1690
+ {
1691
+ "epoch": 0.14853242320819113,
1692
+ "importance_ratio": 1.0,
1693
+ "kl_div_avg": 0.06592931598424911,
1694
+ "learning_rate": 4.857933848171353e-07,
1695
+ "loss_func": "stage2",
1696
+ "step": 201
1697
+ },
1698
+ {
1699
+ "epoch": 0.14853242320819113,
1700
+ "importance_ratio": 0.9992879629135132,
1701
+ "kl_div_avg": 0.02779082953929901,
1702
+ "learning_rate": 4.857205303803001e-07,
1703
+ "loss_func": "stage2",
1704
+ "step": 202
1705
+ },
1706
+ {
1707
+ "epoch": 0.14853242320819113,
1708
+ "importance_ratio": 0.999265193939209,
1709
+ "kl_div_avg": 0.013107150793075562,
1710
+ "learning_rate": 4.85647675943465e-07,
1711
+ "loss_func": "stage2",
1712
+ "step": 203
1713
+ },
1714
+ {
1715
+ "epoch": 0.14853242320819113,
1716
+ "importance_ratio": 0.9988900423049927,
1717
+ "kl_div_avg": 0.04416199028491974,
1718
+ "learning_rate": 4.855748215066297e-07,
1719
+ "loss_func": "stage2",
1720
+ "step": 204
1721
+ },
1722
+ {
1723
+ "epoch": 0.1514448236632537,
1724
+ "importance_ratio": 1.0,
1725
+ "kl_div_avg": 0.015596572309732437,
1726
+ "learning_rate": 4.855019670697946e-07,
1727
+ "loss_func": "stage2",
1728
+ "step": 205,
1729
+ "total_loss": -0.3125
1730
+ },
1731
+ {
1732
+ "epoch": 0.1514448236632537,
1733
+ "importance_ratio": 0.9995862245559692,
1734
+ "kl_div_avg": 0.026362475007772446,
1735
+ "learning_rate": 4.854291126329593e-07,
1736
+ "loss_func": "stage2",
1737
+ "step": 206,
1738
+ "total_loss": -0.294921875
1739
+ },
1740
+ {
1741
+ "epoch": 0.1514448236632537,
1742
+ "importance_ratio": 0.9992890357971191,
1743
+ "kl_div_avg": 0.025417888537049294,
1744
+ "learning_rate": 4.853562581961241e-07,
1745
+ "loss_func": "stage2",
1746
+ "step": 207,
1747
+ "total_loss": 0.9609375
1748
+ },
1749
+ {
1750
+ "epoch": 0.1514448236632537,
1751
+ "importance_ratio": 0.9989533424377441,
1752
+ "kl_div_avg": 0.022100646048784256,
1753
+ "learning_rate": 4.85283403759289e-07,
1754
+ "loss_func": "stage2",
1755
+ "step": 208
1756
+ },
1757
+ {
1758
+ "epoch": 0.15435722411831626,
1759
+ "importance_ratio": 1.0,
1760
+ "kl_div_avg": 0.035768553614616394,
1761
+ "learning_rate": 4.852105493224537e-07,
1762
+ "loss_func": "stage2",
1763
+ "step": 209
1764
+ },
1765
+ {
1766
+ "epoch": 0.15435722411831626,
1767
+ "importance_ratio": 0.9997737407684326,
1768
+ "kl_div_avg": 0.016606420278549194,
1769
+ "learning_rate": 4.851376948856185e-07,
1770
+ "loss_func": "stage2",
1771
+ "step": 210
1772
+ },
1773
+ {
1774
+ "epoch": 0.15435722411831626,
1775
+ "importance_ratio": 0.9995913505554199,
1776
+ "kl_div_avg": 0.012671421281993389,
1777
+ "learning_rate": 4.850648404487833e-07,
1778
+ "loss_func": "stage2",
1779
+ "step": 211
1780
+ },
1781
+ {
1782
+ "epoch": 0.15435722411831626,
1783
+ "importance_ratio": 0.9999702572822571,
1784
+ "kl_div_avg": 0.03230913355946541,
1785
+ "learning_rate": 4.849919860119481e-07,
1786
+ "loss_func": "stage2",
1787
+ "step": 212
1788
+ },
1789
+ {
1790
+ "epoch": 0.15726962457337884,
1791
+ "importance_ratio": 0.9999392628669739,
1792
+ "kl_div_avg": 0.04738989472389221,
1793
+ "learning_rate": 4.849191315751129e-07,
1794
+ "loss_func": "stage2",
1795
+ "step": 213,
1796
+ "total_loss": -0.443359375
1797
+ },
1798
+ {
1799
+ "epoch": 0.15726962457337884,
1800
+ "importance_ratio": 0.9999153017997742,
1801
+ "kl_div_avg": 0.027265094220638275,
1802
+ "learning_rate": 4.848462771382777e-07,
1803
+ "loss_func": "stage2",
1804
+ "step": 214,
1805
+ "total_loss": -0.474609375
1806
+ },
1807
+ {
1808
+ "epoch": 0.15726962457337884,
1809
+ "importance_ratio": 0.999463677406311,
1810
+ "kl_div_avg": 0.042790867388248444,
1811
+ "learning_rate": 4.847734227014425e-07,
1812
+ "loss_func": "stage2",
1813
+ "step": 215
1814
+ },
1815
+ {
1816
+ "epoch": 0.15726962457337884,
1817
+ "importance_ratio": 0.9999215006828308,
1818
+ "kl_div_avg": 0.013197468593716621,
1819
+ "learning_rate": 4.847005682646073e-07,
1820
+ "loss_func": "stage2",
1821
+ "step": 216,
1822
+ "total_loss": 0.7109375
1823
+ },
1824
+ {
1825
+ "epoch": 0.16018202502844142,
1826
+ "importance_ratio": 1.0,
1827
+ "kl_div_avg": 0.019805949181318283,
1828
+ "learning_rate": 4.846277138277721e-07,
1829
+ "loss_func": "stage2",
1830
+ "step": 217
1831
+ },
1832
+ {
1833
+ "epoch": 0.16018202502844142,
1834
+ "importance_ratio": 1.0000206232070923,
1835
+ "kl_div_avg": 0.02629798650741577,
1836
+ "learning_rate": 4.845548593909369e-07,
1837
+ "loss_func": "stage2",
1838
+ "step": 218,
1839
+ "total_loss": -0.4765625
1840
+ },
1841
+ {
1842
+ "epoch": 0.16018202502844142,
1843
+ "importance_ratio": 1.0013692378997803,
1844
+ "kl_div_avg": 0.04414498805999756,
1845
+ "learning_rate": 4.844820049541016e-07,
1846
+ "loss_func": "stage2",
1847
+ "step": 219,
1848
+ "total_loss": 0.890625
1849
+ },
1850
+ {
1851
+ "epoch": 0.16018202502844142,
1852
+ "importance_ratio": 1.0012259483337402,
1853
+ "kl_div_avg": 0.03558802232146263,
1854
+ "learning_rate": 4.844091505172665e-07,
1855
+ "loss_func": "stage2",
1856
+ "step": 220,
1857
+ "total_loss": -0.302734375
1858
+ },
1859
+ {
1860
+ "epoch": 0.16309442548350397,
1861
+ "importance_ratio": 1.0,
1862
+ "kl_div_avg": 0.022240914404392242,
1863
+ "learning_rate": 4.843362960804313e-07,
1864
+ "loss_func": "stage2",
1865
+ "step": 221
1866
+ },
1867
+ {
1868
+ "epoch": 0.16309442548350397,
1869
+ "importance_ratio": 1.00046706199646,
1870
+ "kl_div_avg": 0.06476189196109772,
1871
+ "learning_rate": 4.842634416435961e-07,
1872
+ "loss_func": "stage2",
1873
+ "step": 222
1874
+ },
1875
+ {
1876
+ "epoch": 0.16309442548350397,
1877
+ "importance_ratio": 0.9995772838592529,
1878
+ "kl_div_avg": 0.033390507102012634,
1879
+ "learning_rate": 4.841905872067609e-07,
1880
+ "loss_func": "stage2",
1881
+ "step": 223
1882
+ },
1883
+ {
1884
+ "epoch": 0.16309442548350397,
1885
+ "importance_ratio": 1.0012643337249756,
1886
+ "kl_div_avg": 0.0590643510222435,
1887
+ "learning_rate": 4.841177327699256e-07,
1888
+ "loss_func": "stage2",
1889
+ "step": 224
1890
+ },
1891
+ {
1892
+ "epoch": 0.16600682593856655,
1893
+ "importance_ratio": 1.0,
1894
+ "kl_div_avg": 0.034556955099105835,
1895
+ "learning_rate": 4.840448783330905e-07,
1896
+ "loss_func": "stage2",
1897
+ "step": 225
1898
+ },
1899
+ {
1900
+ "epoch": 0.16600682593856655,
1901
+ "importance_ratio": 1.0007654428482056,
1902
+ "kl_div_avg": 0.031194303184747696,
1903
+ "learning_rate": 4.839720238962553e-07,
1904
+ "loss_func": "stage2",
1905
+ "step": 226
1906
+ },
1907
+ {
1908
+ "epoch": 0.16600682593856655,
1909
+ "importance_ratio": 1.0008078813552856,
1910
+ "kl_div_avg": 0.03249838203191757,
1911
+ "learning_rate": 4.838991694594201e-07,
1912
+ "loss_func": "stage2",
1913
+ "step": 227
1914
+ },
1915
+ {
1916
+ "epoch": 0.16600682593856655,
1917
+ "importance_ratio": 1.0013104677200317,
1918
+ "kl_div_avg": 0.02999018132686615,
1919
+ "learning_rate": 4.838263150225848e-07,
1920
+ "loss_func": "stage2",
1921
+ "step": 228
1922
+ },
1923
+ {
1924
+ "epoch": 0.16891922639362913,
1925
+ "importance_ratio": 0.9999874830245972,
1926
+ "kl_div_avg": 0.055338919162750244,
1927
+ "learning_rate": 4.837534605857496e-07,
1928
+ "loss_func": "stage2",
1929
+ "step": 229,
1930
+ "total_loss": 0.62109375
1931
+ },
1932
+ {
1933
+ "epoch": 0.16891922639362913,
1934
+ "importance_ratio": 1.001804232597351,
1935
+ "kl_div_avg": 0.0552295483648777,
1936
+ "learning_rate": 4.836806061489144e-07,
1937
+ "loss_func": "stage2",
1938
+ "step": 230
1939
+ },
1940
+ {
1941
+ "epoch": 0.16891922639362913,
1942
+ "importance_ratio": 1.0008022785186768,
1943
+ "kl_div_avg": 0.03091678023338318,
1944
+ "learning_rate": 4.836077517120793e-07,
1945
+ "loss_func": "stage2",
1946
+ "step": 231,
1947
+ "total_loss": 0.69140625
1948
+ },
1949
+ {
1950
+ "epoch": 0.16891922639362913,
1951
+ "importance_ratio": 1.0017752647399902,
1952
+ "kl_div_avg": 0.02759787067770958,
1953
+ "learning_rate": 4.835348972752441e-07,
1954
+ "loss_func": "stage2",
1955
+ "step": 232,
1956
+ "total_loss": -0.75390625
1957
+ },
1958
+ {
1959
+ "epoch": 0.1718316268486917,
1960
+ "importance_ratio": 1.0,
1961
+ "kl_div_avg": 0.04960617050528526,
1962
+ "learning_rate": 4.834620428384088e-07,
1963
+ "loss_func": "stage2",
1964
+ "step": 233
1965
+ },
1966
+ {
1967
+ "epoch": 0.1718316268486917,
1968
+ "importance_ratio": 0.9998636245727539,
1969
+ "kl_div_avg": 0.04251248389482498,
1970
+ "learning_rate": 4.833891884015736e-07,
1971
+ "loss_func": "stage2",
1972
+ "step": 234
1973
+ },
1974
+ {
1975
+ "epoch": 0.1718316268486917,
1976
+ "importance_ratio": 0.9993151426315308,
1977
+ "kl_div_avg": 0.047904349863529205,
1978
+ "learning_rate": 4.833163339647384e-07,
1979
+ "loss_func": "stage2",
1980
+ "step": 235
1981
+ },
1982
+ {
1983
+ "epoch": 0.1718316268486917,
1984
+ "importance_ratio": 0.9979664087295532,
1985
+ "kl_div_avg": 0.04585729539394379,
1986
+ "learning_rate": 4.832434795279033e-07,
1987
+ "loss_func": "stage2",
1988
+ "step": 236
1989
+ },
1990
+ {
1991
+ "epoch": 0.17474402730375427,
1992
+ "importance_ratio": 0.9999979734420776,
1993
+ "kl_div_avg": 0.032474417239427567,
1994
+ "learning_rate": 4.831706250910681e-07,
1995
+ "loss_func": "stage2",
1996
+ "step": 237,
1997
+ "total_loss": 0.66796875
1998
+ },
1999
+ {
2000
+ "epoch": 0.17474402730375427,
2001
+ "importance_ratio": 0.9992362856864929,
2002
+ "kl_div_avg": 0.04708264023065567,
2003
+ "learning_rate": 4.830977706542328e-07,
2004
+ "loss_func": "stage2",
2005
+ "step": 238,
2006
+ "total_loss": 1.0078125
2007
+ },
2008
+ {
2009
+ "epoch": 0.17474402730375427,
2010
+ "importance_ratio": 0.9996246695518494,
2011
+ "kl_div_avg": 0.03764179348945618,
2012
+ "learning_rate": 4.830249162173976e-07,
2013
+ "loss_func": "stage2",
2014
+ "step": 239,
2015
+ "total_loss": 0.9375
2016
+ },
2017
+ {
2018
+ "epoch": 0.17474402730375427,
2019
+ "importance_ratio": 0.9991611838340759,
2020
+ "kl_div_avg": 0.022797293961048126,
2021
+ "learning_rate": 4.829520617805624e-07,
2022
+ "loss_func": "stage2",
2023
+ "step": 240,
2024
+ "total_loss": -0.8515625
2025
+ },
2026
+ {
2027
+ "epoch": 0.17765642775881685,
2028
+ "importance_ratio": 1.0,
2029
+ "kl_div_avg": 0.030025824904441833,
2030
+ "learning_rate": 4.828792073437273e-07,
2031
+ "loss_func": "stage2",
2032
+ "step": 241
2033
+ },
2034
+ {
2035
+ "epoch": 0.17765642775881685,
2036
+ "importance_ratio": 0.9989254474639893,
2037
+ "kl_div_avg": 0.04463012516498566,
2038
+ "learning_rate": 4.82806352906892e-07,
2039
+ "loss_func": "stage2",
2040
+ "step": 242
2041
+ },
2042
+ {
2043
+ "epoch": 0.17765642775881685,
2044
+ "importance_ratio": 0.9987425804138184,
2045
+ "kl_div_avg": 0.048046525567770004,
2046
+ "learning_rate": 4.827334984700568e-07,
2047
+ "loss_func": "stage2",
2048
+ "step": 243
2049
+ },
2050
+ {
2051
+ "epoch": 0.17765642775881685,
2052
+ "importance_ratio": 0.9986125230789185,
2053
+ "kl_div_avg": 0.02986510843038559,
2054
+ "learning_rate": 4.826606440332216e-07,
2055
+ "loss_func": "stage2",
2056
+ "step": 244
2057
+ },
2058
+ {
2059
+ "epoch": 0.1805688282138794,
2060
+ "importance_ratio": 1.0,
2061
+ "kl_div_avg": 0.06527923047542572,
2062
+ "learning_rate": 4.825877895963864e-07,
2063
+ "loss_func": "stage2",
2064
+ "step": 245
2065
+ },
2066
+ {
2067
+ "epoch": 0.1805688282138794,
2068
+ "importance_ratio": 0.9997293949127197,
2069
+ "kl_div_avg": 0.03313666582107544,
2070
+ "learning_rate": 4.825149351595513e-07,
2071
+ "loss_func": "stage2",
2072
+ "step": 246
2073
+ },
2074
+ {
2075
+ "epoch": 0.1805688282138794,
2076
+ "importance_ratio": 0.9996707439422607,
2077
+ "kl_div_avg": 0.020555861294269562,
2078
+ "learning_rate": 4.824420807227159e-07,
2079
+ "loss_func": "stage2",
2080
+ "step": 247
2081
+ },
2082
+ {
2083
+ "epoch": 0.1805688282138794,
2084
+ "importance_ratio": 1.0002386569976807,
2085
+ "kl_div_avg": 0.03867045417428017,
2086
+ "learning_rate": 4.823692262858808e-07,
2087
+ "loss_func": "stage2",
2088
+ "step": 248
2089
+ },
2090
+ {
2091
+ "epoch": 0.18348122866894198,
2092
+ "importance_ratio": 1.0,
2093
+ "kl_div_avg": 0.05499115586280823,
2094
+ "learning_rate": 4.822963718490456e-07,
2095
+ "loss_func": "stage2",
2096
+ "step": 249
2097
+ },
2098
+ {
2099
+ "epoch": 0.18348122866894198,
2100
+ "importance_ratio": 0.9998311996459961,
2101
+ "kl_div_avg": 0.049019381403923035,
2102
+ "learning_rate": 4.822235174122104e-07,
2103
+ "loss_func": "stage2",
2104
+ "step": 250
2105
+ },
2106
+ {
2107
+ "epoch": 0.18348122866894198,
2108
+ "importance_ratio": 1.0000450611114502,
2109
+ "kl_div_avg": 0.020925089716911316,
2110
+ "learning_rate": 4.821506629753751e-07,
2111
+ "loss_func": "stage2",
2112
+ "step": 251
2113
+ },
2114
+ {
2115
+ "epoch": 0.18348122866894198,
2116
+ "importance_ratio": 1.0005130767822266,
2117
+ "kl_div_avg": 0.05002495273947716,
2118
+ "learning_rate": 4.820778085385399e-07,
2119
+ "loss_func": "stage2",
2120
+ "step": 252
2121
+ },
2122
+ {
2123
+ "epoch": 0.18639362912400456,
2124
+ "importance_ratio": 1.0,
2125
+ "kl_div_avg": 0.03229670226573944,
2126
+ "learning_rate": 4.820049541017048e-07,
2127
+ "loss_func": "stage2",
2128
+ "step": 253
2129
+ },
2130
+ {
2131
+ "epoch": 0.18639362912400456,
2132
+ "importance_ratio": 1.0004810094833374,
2133
+ "kl_div_avg": 0.05420541763305664,
2134
+ "learning_rate": 4.819320996648696e-07,
2135
+ "loss_func": "stage2",
2136
+ "step": 254
2137
+ },
2138
+ {
2139
+ "epoch": 0.18639362912400456,
2140
+ "importance_ratio": 1.0008883476257324,
2141
+ "kl_div_avg": 0.027021722868084908,
2142
+ "learning_rate": 4.818592452280344e-07,
2143
+ "loss_func": "stage2",
2144
+ "step": 255
2145
+ },
2146
+ {
2147
+ "epoch": 0.18639362912400456,
2148
+ "importance_ratio": 1.0022274255752563,
2149
+ "kl_div_avg": 0.03898981586098671,
2150
+ "learning_rate": 4.817863907911991e-07,
2151
+ "loss_func": "stage2",
2152
+ "step": 256
2153
+ },
2154
+ {
2155
+ "epoch": 0.18930602957906711,
2156
+ "importance_ratio": 1.0,
2157
+ "kl_div_avg": 0.07298167794942856,
2158
+ "learning_rate": 4.817135363543639e-07,
2159
+ "loss_func": "stage2",
2160
+ "step": 257
2161
+ },
2162
+ {
2163
+ "epoch": 0.18930602957906711,
2164
+ "importance_ratio": 1.0023469924926758,
2165
+ "kl_div_avg": 0.055954575538635254,
2166
+ "learning_rate": 4.816406819175288e-07,
2167
+ "loss_func": "stage2",
2168
+ "step": 258
2169
+ },
2170
+ {
2171
+ "epoch": 0.18930602957906711,
2172
+ "importance_ratio": 1.0012736320495605,
2173
+ "kl_div_avg": 0.04164516180753708,
2174
+ "learning_rate": 4.815678274806936e-07,
2175
+ "loss_func": "stage2",
2176
+ "step": 259
2177
+ },
2178
+ {
2179
+ "epoch": 0.18930602957906711,
2180
+ "importance_ratio": 1.00413978099823,
2181
+ "kl_div_avg": 0.07184624671936035,
2182
+ "learning_rate": 4.814949730438584e-07,
2183
+ "loss_func": "stage2",
2184
+ "step": 260
2185
+ },
2186
+ {
2187
+ "epoch": 0.1922184300341297,
2188
+ "importance_ratio": 1.0,
2189
+ "kl_div_avg": 0.027168840169906616,
2190
+ "learning_rate": 4.814221186070231e-07,
2191
+ "loss_func": "stage2",
2192
+ "step": 261,
2193
+ "total_loss": -0.287109375
2194
+ },
2195
+ {
2196
+ "epoch": 0.1922184300341297,
2197
+ "importance_ratio": 1.0015285015106201,
2198
+ "kl_div_avg": 0.038711898028850555,
2199
+ "learning_rate": 4.813492641701879e-07,
2200
+ "loss_func": "stage2",
2201
+ "step": 262,
2202
+ "total_loss": 0.77734375
2203
+ },
2204
+ {
2205
+ "epoch": 0.1922184300341297,
2206
+ "importance_ratio": 1.0005645751953125,
2207
+ "kl_div_avg": 0.021953891962766647,
2208
+ "learning_rate": 4.812764097333528e-07,
2209
+ "loss_func": "stage2",
2210
+ "step": 263,
2211
+ "total_loss": -0.376953125
2212
+ },
2213
+ {
2214
+ "epoch": 0.1922184300341297,
2215
+ "importance_ratio": 1.0069310665130615,
2216
+ "kl_div_avg": 0.04371698200702667,
2217
+ "learning_rate": 4.812035552965176e-07,
2218
+ "loss_func": "stage2",
2219
+ "step": 264,
2220
+ "total_loss": 1.2890625
2221
+ },
2222
+ {
2223
+ "epoch": 0.19513083048919228,
2224
+ "importance_ratio": 1.0,
2225
+ "kl_div_avg": 0.023378241807222366,
2226
+ "learning_rate": 4.811307008596823e-07,
2227
+ "loss_func": "stage2",
2228
+ "step": 265,
2229
+ "total_loss": -0.6875
2230
+ },
2231
+ {
2232
+ "epoch": 0.19513083048919228,
2233
+ "importance_ratio": 1.0003318786621094,
2234
+ "kl_div_avg": 0.030648723244667053,
2235
+ "learning_rate": 4.810578464228471e-07,
2236
+ "loss_func": "stage2",
2237
+ "step": 266,
2238
+ "total_loss": 0.6328125
2239
+ },
2240
+ {
2241
+ "epoch": 0.19513083048919228,
2242
+ "importance_ratio": 0.9998455047607422,
2243
+ "kl_div_avg": 0.04823487997055054,
2244
+ "learning_rate": 4.809849919860119e-07,
2245
+ "loss_func": "stage2",
2246
+ "step": 267,
2247
+ "total_loss": 1.1796875
2248
+ },
2249
+ {
2250
+ "epoch": 0.19513083048919228,
2251
+ "importance_ratio": 0.999752402305603,
2252
+ "kl_div_avg": 0.024743907153606415,
2253
+ "learning_rate": 4.809121375491767e-07,
2254
+ "loss_func": "stage2",
2255
+ "step": 268,
2256
+ "total_loss": 0.32421875
2257
+ },
2258
+ {
2259
+ "epoch": 0.19804323094425483,
2260
+ "importance_ratio": 1.0,
2261
+ "kl_div_avg": 0.017089594155550003,
2262
+ "learning_rate": 4.808392831123416e-07,
2263
+ "loss_func": "stage2",
2264
+ "step": 269,
2265
+ "total_loss": 0.9375
2266
+ },
2267
+ {
2268
+ "epoch": 0.19804323094425483,
2269
+ "importance_ratio": 0.9995547533035278,
2270
+ "kl_div_avg": 0.019818518310785294,
2271
+ "learning_rate": 4.807664286755063e-07,
2272
+ "loss_func": "stage2",
2273
+ "step": 270
2274
+ },
2275
+ {
2276
+ "epoch": 0.19804323094425483,
2277
+ "importance_ratio": 0.9994271993637085,
2278
+ "kl_div_avg": 0.020417192950844765,
2279
+ "learning_rate": 4.806935742386711e-07,
2280
+ "loss_func": "stage2",
2281
+ "step": 271,
2282
+ "total_loss": -0.46875
2283
+ },
2284
+ {
2285
+ "epoch": 0.19804323094425483,
2286
+ "importance_ratio": 0.9990317821502686,
2287
+ "kl_div_avg": 0.020819377154111862,
2288
+ "learning_rate": 4.806207198018359e-07,
2289
+ "loss_func": "stage2",
2290
+ "step": 272,
2291
+ "total_loss": -0.546875
2292
+ },
2293
+ {
2294
+ "epoch": 0.2009556313993174,
2295
+ "importance_ratio": 1.0,
2296
+ "kl_div_avg": 0.04535255581140518,
2297
+ "learning_rate": 4.805478653650007e-07,
2298
+ "loss_func": "stage2",
2299
+ "step": 273
2300
+ },
2301
+ {
2302
+ "epoch": 0.2009556313993174,
2303
+ "importance_ratio": 0.9979629516601562,
2304
+ "kl_div_avg": 0.05327494442462921,
2305
+ "learning_rate": 4.804750109281656e-07,
2306
+ "loss_func": "stage2",
2307
+ "step": 274
2308
+ },
2309
+ {
2310
+ "epoch": 0.2009556313993174,
2311
+ "importance_ratio": 0.9990555047988892,
2312
+ "kl_div_avg": 0.041617073118686676,
2313
+ "learning_rate": 4.804021564913303e-07,
2314
+ "loss_func": "stage2",
2315
+ "step": 275
2316
+ },
2317
+ {
2318
+ "epoch": 0.2009556313993174,
2319
+ "importance_ratio": 0.9964962005615234,
2320
+ "kl_div_avg": 0.043679993599653244,
2321
+ "learning_rate": 4.803293020544951e-07,
2322
+ "loss_func": "stage2",
2323
+ "step": 276
2324
+ },
2325
+ {
2326
+ "epoch": 0.20386803185438,
2327
+ "importance_ratio": 1.0,
2328
+ "kl_div_avg": 0.038318827748298645,
2329
+ "learning_rate": 4.802564476176599e-07,
2330
+ "loss_func": "stage2",
2331
+ "step": 277
2332
+ },
2333
+ {
2334
+ "epoch": 0.20386803185438,
2335
+ "importance_ratio": 0.9991254806518555,
2336
+ "kl_div_avg": 0.03668826445937157,
2337
+ "learning_rate": 4.801835931808247e-07,
2338
+ "loss_func": "stage2",
2339
+ "step": 278
2340
+ },
2341
+ {
2342
+ "epoch": 0.20386803185438,
2343
+ "importance_ratio": 0.9992523193359375,
2344
+ "kl_div_avg": 0.031174367293715477,
2345
+ "learning_rate": 4.801107387439895e-07,
2346
+ "loss_func": "stage2",
2347
+ "step": 279
2348
+ },
2349
+ {
2350
+ "epoch": 0.20386803185438,
2351
+ "importance_ratio": 0.9991823434829712,
2352
+ "kl_div_avg": 0.022506345063447952,
2353
+ "learning_rate": 4.800378843071543e-07,
2354
+ "loss_func": "stage2",
2355
+ "step": 280
2356
+ },
2357
+ {
2358
+ "epoch": 0.20678043230944254,
2359
+ "importance_ratio": 1.0000108480453491,
2360
+ "kl_div_avg": 0.07250766456127167,
2361
+ "learning_rate": 4.799650298703191e-07,
2362
+ "loss_func": "stage2",
2363
+ "step": 281
2364
+ },
2365
+ {
2366
+ "epoch": 0.20678043230944254,
2367
+ "importance_ratio": 0.9996242523193359,
2368
+ "kl_div_avg": 0.04273686558008194,
2369
+ "learning_rate": 4.798921754334839e-07,
2370
+ "loss_func": "stage2",
2371
+ "step": 282
2372
+ },
2373
+ {
2374
+ "epoch": 0.20678043230944254,
2375
+ "importance_ratio": 1.0001927614212036,
2376
+ "kl_div_avg": 0.024231867864727974,
2377
+ "learning_rate": 4.798193209966487e-07,
2378
+ "loss_func": "stage2",
2379
+ "step": 283
2380
+ },
2381
+ {
2382
+ "epoch": 0.20678043230944254,
2383
+ "importance_ratio": 0.9994685649871826,
2384
+ "kl_div_avg": 0.05078791826963425,
2385
+ "learning_rate": 4.797464665598135e-07,
2386
+ "loss_func": "stage2",
2387
+ "step": 284
2388
+ },
2389
+ {
2390
+ "epoch": 0.20969283276450512,
2391
+ "importance_ratio": 0.9999988079071045,
2392
+ "kl_div_avg": 0.05624654144048691,
2393
+ "learning_rate": 4.796736121229782e-07,
2394
+ "loss_func": "stage2",
2395
+ "step": 285
2396
+ },
2397
+ {
2398
+ "epoch": 0.20969283276450512,
2399
+ "importance_ratio": 1.000368595123291,
2400
+ "kl_div_avg": 0.06209776550531387,
2401
+ "learning_rate": 4.796007576861431e-07,
2402
+ "loss_func": "stage2",
2403
+ "step": 286
2404
+ },
2405
+ {
2406
+ "epoch": 0.20969283276450512,
2407
+ "importance_ratio": 1.0004286766052246,
2408
+ "kl_div_avg": 0.05481367185711861,
2409
+ "learning_rate": 4.795279032493079e-07,
2410
+ "loss_func": "stage2",
2411
+ "step": 287
2412
+ },
2413
+ {
2414
+ "epoch": 0.20969283276450512,
2415
+ "importance_ratio": 1.0034512281417847,
2416
+ "kl_div_avg": 0.053617849946022034,
2417
+ "learning_rate": 4.794550488124726e-07,
2418
+ "loss_func": "stage2",
2419
+ "step": 288
2420
+ },
2421
+ {
2422
+ "epoch": 0.2126052332195677,
2423
+ "importance_ratio": 1.0,
2424
+ "kl_div_avg": 0.029997631907463074,
2425
+ "learning_rate": 4.793821943756374e-07,
2426
+ "loss_func": "stage2",
2427
+ "step": 289
2428
+ },
2429
+ {
2430
+ "epoch": 0.2126052332195677,
2431
+ "importance_ratio": 1.0002427101135254,
2432
+ "kl_div_avg": 0.0545087493956089,
2433
+ "learning_rate": 4.793093399388022e-07,
2434
+ "loss_func": "stage2",
2435
+ "step": 290
2436
+ },
2437
+ {
2438
+ "epoch": 0.2126052332195677,
2439
+ "importance_ratio": 0.9994891881942749,
2440
+ "kl_div_avg": 0.04038421809673309,
2441
+ "learning_rate": 4.792364855019671e-07,
2442
+ "loss_func": "stage2",
2443
+ "step": 291
2444
+ },
2445
+ {
2446
+ "epoch": 0.2126052332195677,
2447
+ "importance_ratio": 0.9999635815620422,
2448
+ "kl_div_avg": 0.03762605041265488,
2449
+ "learning_rate": 4.791636310651319e-07,
2450
+ "loss_func": "stage2",
2451
+ "step": 292
2452
+ },
2453
+ {
2454
+ "epoch": 0.21551763367463025,
2455
+ "importance_ratio": 1.0,
2456
+ "kl_div_avg": 0.027985263615846634,
2457
+ "learning_rate": 4.790907766282966e-07,
2458
+ "loss_func": "stage2",
2459
+ "step": 293
2460
+ },
2461
+ {
2462
+ "epoch": 0.21551763367463025,
2463
+ "importance_ratio": 1.0003306865692139,
2464
+ "kl_div_avg": 0.040808938443660736,
2465
+ "learning_rate": 4.790179221914614e-07,
2466
+ "loss_func": "stage2",
2467
+ "step": 294
2468
+ },
2469
+ {
2470
+ "epoch": 0.21551763367463025,
2471
+ "importance_ratio": 1.00089693069458,
2472
+ "kl_div_avg": 0.0335797518491745,
2473
+ "learning_rate": 4.789450677546262e-07,
2474
+ "loss_func": "stage2",
2475
+ "step": 295
2476
+ },
2477
+ {
2478
+ "epoch": 0.21551763367463025,
2479
+ "importance_ratio": 1.0001624822616577,
2480
+ "kl_div_avg": 0.015699325129389763,
2481
+ "learning_rate": 4.788722133177911e-07,
2482
+ "loss_func": "stage2",
2483
+ "step": 296
2484
+ },
2485
+ {
2486
+ "epoch": 0.21843003412969283,
2487
+ "importance_ratio": 1.0,
2488
+ "kl_div_avg": 0.05593610554933548,
2489
+ "learning_rate": 4.787993588809558e-07,
2490
+ "loss_func": "stage2",
2491
+ "step": 297,
2492
+ "total_loss": -0.08349609375
2493
+ },
2494
+ {
2495
+ "epoch": 0.21843003412969283,
2496
+ "importance_ratio": 1.0008994340896606,
2497
+ "kl_div_avg": 0.04691431298851967,
2498
+ "learning_rate": 4.787265044441206e-07,
2499
+ "loss_func": "stage2",
2500
+ "step": 298,
2501
+ "total_loss": -0.56640625
2502
+ },
2503
+ {
2504
+ "epoch": 0.21843003412969283,
2505
+ "importance_ratio": 1.0015584230422974,
2506
+ "kl_div_avg": 0.04217691347002983,
2507
+ "learning_rate": 4.786536500072854e-07,
2508
+ "loss_func": "stage2",
2509
+ "step": 299,
2510
+ "total_loss": -0.408203125
2511
+ },
2512
+ {
2513
+ "epoch": 0.21843003412969283,
2514
+ "importance_ratio": 1.0016425848007202,
2515
+ "kl_div_avg": 0.05044947564601898,
2516
+ "learning_rate": 4.785807955704502e-07,
2517
+ "loss_func": "stage2",
2518
+ "step": 300,
2519
+ "total_loss": 1.8984375
2520
+ },
2521
+ {
2522
+ "epoch": 0.22134243458475542,
2523
+ "importance_ratio": 1.0,
2524
+ "kl_div_avg": 0.13301140069961548,
2525
+ "learning_rate": 4.785079411336151e-07,
2526
+ "loss_func": "stage2",
2527
+ "step": 301
2528
+ },
2529
+ {
2530
+ "epoch": 0.22134243458475542,
2531
+ "importance_ratio": 0.9997519254684448,
2532
+ "kl_div_avg": 0.0724569633603096,
2533
+ "learning_rate": 4.784350866967798e-07,
2534
+ "loss_func": "stage2",
2535
+ "step": 302,
2536
+ "total_loss": 0.8984375
2537
+ },
2538
+ {
2539
+ "epoch": 0.22134243458475542,
2540
+ "importance_ratio": 0.9995059967041016,
2541
+ "kl_div_avg": 0.07791668176651001,
2542
+ "learning_rate": 4.783622322599446e-07,
2543
+ "loss_func": "stage2",
2544
+ "step": 303,
2545
+ "total_loss": 0.90234375
2546
+ },
2547
+ {
2548
+ "epoch": 0.22134243458475542,
2549
+ "importance_ratio": 0.9976062774658203,
2550
+ "kl_div_avg": 0.03134729713201523,
2551
+ "learning_rate": 4.782893778231094e-07,
2552
+ "loss_func": "stage2",
2553
+ "step": 304,
2554
+ "total_loss": -0.3984375
2555
+ },
2556
+ {
2557
+ "epoch": 0.22425483503981797,
2558
+ "importance_ratio": 1.0,
2559
+ "kl_div_avg": 0.023282647132873535,
2560
+ "learning_rate": 4.782165233862742e-07,
2561
+ "loss_func": "stage2",
2562
+ "step": 305
2563
+ },
2564
+ {
2565
+ "epoch": 0.22425483503981797,
2566
+ "importance_ratio": 0.9994572401046753,
2567
+ "kl_div_avg": 0.039033204317092896,
2568
+ "learning_rate": 4.78143668949439e-07,
2569
+ "loss_func": "stage2",
2570
+ "step": 306
2571
+ },
2572
+ {
2573
+ "epoch": 0.22425483503981797,
2574
+ "importance_ratio": 0.9989634156227112,
2575
+ "kl_div_avg": 0.04119700938463211,
2576
+ "learning_rate": 4.780708145126038e-07,
2577
+ "loss_func": "stage2",
2578
+ "step": 307
2579
+ },
2580
+ {
2581
+ "epoch": 0.22425483503981797,
2582
+ "importance_ratio": 0.9977949261665344,
2583
+ "kl_div_avg": 0.06166260689496994,
2584
+ "learning_rate": 4.779979600757686e-07,
2585
+ "loss_func": "stage2",
2586
+ "step": 308
2587
+ },
2588
+ {
2589
+ "epoch": 0.22716723549488055,
2590
+ "importance_ratio": 1.0,
2591
+ "kl_div_avg": 0.023296231403946877,
2592
+ "learning_rate": 4.779251056389334e-07,
2593
+ "loss_func": "stage2",
2594
+ "step": 309,
2595
+ "total_loss": -0.75
2596
+ },
2597
+ {
2598
+ "epoch": 0.22716723549488055,
2599
+ "importance_ratio": 0.9992837905883789,
2600
+ "kl_div_avg": 0.03709561377763748,
2601
+ "learning_rate": 4.778522512020982e-07,
2602
+ "loss_func": "stage2",
2603
+ "step": 310,
2604
+ "total_loss": -1.375
2605
+ },
2606
+ {
2607
+ "epoch": 0.22716723549488055,
2608
+ "importance_ratio": 0.9993754625320435,
2609
+ "kl_div_avg": 0.0337868295609951,
2610
+ "learning_rate": 4.777793967652629e-07,
2611
+ "loss_func": "stage2",
2612
+ "step": 311
2613
+ },
2614
+ {
2615
+ "epoch": 0.22716723549488055,
2616
+ "importance_ratio": 0.9995378851890564,
2617
+ "kl_div_avg": 0.03989873826503754,
2618
+ "learning_rate": 4.777065423284278e-07,
2619
+ "loss_func": "stage2",
2620
+ "step": 312,
2621
+ "total_loss": 2.1875
2622
+ },
2623
+ {
2624
+ "epoch": 0.23007963594994313,
2625
+ "importance_ratio": 1.0,
2626
+ "kl_div_avg": 0.039063937962055206,
2627
+ "learning_rate": 4.776336878915926e-07,
2628
+ "loss_func": "stage2",
2629
+ "step": 313
2630
+ },
2631
+ {
2632
+ "epoch": 0.23007963594994313,
2633
+ "importance_ratio": 1.0004396438598633,
2634
+ "kl_div_avg": 0.05700904130935669,
2635
+ "learning_rate": 4.775608334547574e-07,
2636
+ "loss_func": "stage2",
2637
+ "step": 314
2638
+ },
2639
+ {
2640
+ "epoch": 0.23007963594994313,
2641
+ "importance_ratio": 1.0002377033233643,
2642
+ "kl_div_avg": 0.03964870795607567,
2643
+ "learning_rate": 4.774879790179222e-07,
2644
+ "loss_func": "stage2",
2645
+ "step": 315
2646
+ },
2647
+ {
2648
+ "epoch": 0.23007963594994313,
2649
+ "importance_ratio": 1.0020824670791626,
2650
+ "kl_div_avg": 0.0543329194188118,
2651
+ "learning_rate": 4.774151245810869e-07,
2652
+ "loss_func": "stage2",
2653
+ "step": 316
2654
+ },
2655
+ {
2656
+ "epoch": 0.23299203640500568,
2657
+ "importance_ratio": 1.0,
2658
+ "kl_div_avg": 0.06052602827548981,
2659
+ "learning_rate": 4.773422701442518e-07,
2660
+ "loss_func": "stage2",
2661
+ "step": 317
2662
+ },
2663
+ {
2664
+ "epoch": 0.23299203640500568,
2665
+ "importance_ratio": 0.9997171759605408,
2666
+ "kl_div_avg": 0.11223512887954712,
2667
+ "learning_rate": 4.772694157074166e-07,
2668
+ "loss_func": "stage2",
2669
+ "step": 318
2670
+ },
2671
+ {
2672
+ "epoch": 0.23299203640500568,
2673
+ "importance_ratio": 1.00046706199646,
2674
+ "kl_div_avg": 0.04581636190414429,
2675
+ "learning_rate": 4.771965612705814e-07,
2676
+ "loss_func": "stage2",
2677
+ "step": 319
2678
+ },
2679
+ {
2680
+ "epoch": 0.23299203640500568,
2681
+ "importance_ratio": 1.002081036567688,
2682
+ "kl_div_avg": 0.038961946964263916,
2683
+ "learning_rate": 4.771237068337461e-07,
2684
+ "loss_func": "stage2",
2685
+ "step": 320
2686
+ },
2687
+ {
2688
+ "epoch": 0.23590443686006826,
2689
+ "importance_ratio": 0.9999942183494568,
2690
+ "kl_div_avg": 0.023084010928869247,
2691
+ "learning_rate": 4.770508523969109e-07,
2692
+ "loss_func": "stage2",
2693
+ "step": 321,
2694
+ "total_loss": -1.359375
2695
+ },
2696
+ {
2697
+ "epoch": 0.23590443686006826,
2698
+ "importance_ratio": 1.000396490097046,
2699
+ "kl_div_avg": 0.024995721876621246,
2700
+ "learning_rate": 4.769779979600758e-07,
2701
+ "loss_func": "stage2",
2702
+ "step": 322,
2703
+ "total_loss": -1.09375
2704
+ },
2705
+ {
2706
+ "epoch": 0.23590443686006826,
2707
+ "importance_ratio": 1.0004132986068726,
2708
+ "kl_div_avg": 0.03009365126490593,
2709
+ "learning_rate": 4.769051435232405e-07,
2710
+ "loss_func": "stage2",
2711
+ "step": 323
2712
+ },
2713
+ {
2714
+ "epoch": 0.23590443686006826,
2715
+ "importance_ratio": 1.0022618770599365,
2716
+ "kl_div_avg": 0.040596380829811096,
2717
+ "learning_rate": 4.768322890864053e-07,
2718
+ "loss_func": "stage2",
2719
+ "step": 324,
2720
+ "total_loss": 1.09375
2721
+ },
2722
+ {
2723
+ "epoch": 0.23881683731513084,
2724
+ "importance_ratio": 1.0,
2725
+ "kl_div_avg": 0.04582751914858818,
2726
+ "learning_rate": 4.7675943464957014e-07,
2727
+ "loss_func": "stage2",
2728
+ "step": 325,
2729
+ "total_loss": -0.8515625
2730
+ },
2731
+ {
2732
+ "epoch": 0.23881683731513084,
2733
+ "importance_ratio": 0.9998639225959778,
2734
+ "kl_div_avg": 0.024669548496603966,
2735
+ "learning_rate": 4.7668658021273497e-07,
2736
+ "loss_func": "stage2",
2737
+ "step": 326,
2738
+ "total_loss": -0.58203125
2739
+ },
2740
+ {
2741
+ "epoch": 0.23881683731513084,
2742
+ "importance_ratio": 0.9992770552635193,
2743
+ "kl_div_avg": 0.04793988913297653,
2744
+ "learning_rate": 4.7661372577589975e-07,
2745
+ "loss_func": "stage2",
2746
+ "step": 327,
2747
+ "total_loss": 1.7890625
2748
+ },
2749
+ {
2750
+ "epoch": 0.23881683731513084,
2751
+ "importance_ratio": 0.9995605945587158,
2752
+ "kl_div_avg": 0.043279629200696945,
2753
+ "learning_rate": 4.765408713390645e-07,
2754
+ "loss_func": "stage2",
2755
+ "step": 328,
2756
+ "total_loss": -0.462890625
2757
+ },
2758
+ {
2759
+ "epoch": 0.2417292377701934,
2760
+ "importance_ratio": 1.0,
2761
+ "kl_div_avg": 0.0608009472489357,
2762
+ "learning_rate": 4.764680169022293e-07,
2763
+ "loss_func": "stage2",
2764
+ "step": 329
2765
+ },
2766
+ {
2767
+ "epoch": 0.2417292377701934,
2768
+ "importance_ratio": 1.000767707824707,
2769
+ "kl_div_avg": 0.06964662671089172,
2770
+ "learning_rate": 4.7639516246539413e-07,
2771
+ "loss_func": "stage2",
2772
+ "step": 330
2773
+ },
2774
+ {
2775
+ "epoch": 0.2417292377701934,
2776
+ "importance_ratio": 1.0013978481292725,
2777
+ "kl_div_avg": 0.07270665466785431,
2778
+ "learning_rate": 4.7632230802855896e-07,
2779
+ "loss_func": "stage2",
2780
+ "step": 331
2781
+ },
2782
+ {
2783
+ "epoch": 0.2417292377701934,
2784
+ "importance_ratio": 1.000546932220459,
2785
+ "kl_div_avg": 0.06220786273479462,
2786
+ "learning_rate": 4.762494535917237e-07,
2787
+ "loss_func": "stage2",
2788
+ "step": 332
2789
+ },
2790
+ {
2791
+ "epoch": 0.24464163822525598,
2792
+ "importance_ratio": 1.0,
2793
+ "kl_div_avg": 0.050163887441158295,
2794
+ "learning_rate": 4.761765991548885e-07,
2795
+ "loss_func": "stage2",
2796
+ "step": 333,
2797
+ "total_loss": 0.84375
2798
+ },
2799
+ {
2800
+ "epoch": 0.24464163822525598,
2801
+ "importance_ratio": 0.9995476007461548,
2802
+ "kl_div_avg": 0.028794296085834503,
2803
+ "learning_rate": 4.761037447180533e-07,
2804
+ "loss_func": "stage2",
2805
+ "step": 334,
2806
+ "total_loss": 0.984375
2807
+ },
2808
+ {
2809
+ "epoch": 0.24464163822525598,
2810
+ "importance_ratio": 0.9990682601928711,
2811
+ "kl_div_avg": 0.016825854778289795,
2812
+ "learning_rate": 4.760308902812181e-07,
2813
+ "loss_func": "stage2",
2814
+ "step": 335,
2815
+ "total_loss": -0.5859375
2816
+ },
2817
+ {
2818
+ "epoch": 0.24464163822525598,
2819
+ "importance_ratio": 0.9990837574005127,
2820
+ "kl_div_avg": 0.0576476976275444,
2821
+ "learning_rate": 4.759580358443829e-07,
2822
+ "loss_func": "stage2",
2823
+ "step": 336
2824
+ },
2825
+ {
2826
+ "epoch": 0.24755403868031856,
2827
+ "importance_ratio": 1.0,
2828
+ "kl_div_avg": 0.03124171867966652,
2829
+ "learning_rate": 4.758851814075477e-07,
2830
+ "loss_func": "stage2",
2831
+ "step": 337,
2832
+ "total_loss": -0.5625
2833
+ },
2834
+ {
2835
+ "epoch": 0.24755403868031856,
2836
+ "importance_ratio": 0.9997870326042175,
2837
+ "kl_div_avg": 0.030996575951576233,
2838
+ "learning_rate": 4.758123269707125e-07,
2839
+ "loss_func": "stage2",
2840
+ "step": 338,
2841
+ "total_loss": -0.7578125
2842
+ },
2843
+ {
2844
+ "epoch": 0.24755403868031856,
2845
+ "importance_ratio": 0.9987279176712036,
2846
+ "kl_div_avg": 0.04082472622394562,
2847
+ "learning_rate": 4.757394725338773e-07,
2848
+ "loss_func": "stage2",
2849
+ "step": 339,
2850
+ "total_loss": -0.5078125
2851
+ },
2852
+ {
2853
+ "epoch": 0.24755403868031856,
2854
+ "importance_ratio": 0.9984229803085327,
2855
+ "kl_div_avg": 0.04259004443883896,
2856
+ "learning_rate": 4.756666180970421e-07,
2857
+ "loss_func": "stage2",
2858
+ "step": 340,
2859
+ "total_loss": 1.921875
2860
+ },
2861
+ {
2862
+ "epoch": 0.25046643913538114,
2863
+ "importance_ratio": 1.000009536743164,
2864
+ "kl_div_avg": 0.0397428497672081,
2865
+ "learning_rate": 4.755937636602069e-07,
2866
+ "loss_func": "stage2",
2867
+ "step": 341,
2868
+ "total_loss": -0.78125
2869
+ },
2870
+ {
2871
+ "epoch": 0.25046643913538114,
2872
+ "importance_ratio": 1.0004072189331055,
2873
+ "kl_div_avg": 0.0358537882566452,
2874
+ "learning_rate": 4.7552090922337167e-07,
2875
+ "loss_func": "stage2",
2876
+ "step": 342,
2877
+ "total_loss": -0.265625
2878
+ },
2879
+ {
2880
+ "epoch": 0.25046643913538114,
2881
+ "importance_ratio": 0.9997845888137817,
2882
+ "kl_div_avg": 0.02491338737308979,
2883
+ "learning_rate": 4.754480547865365e-07,
2884
+ "loss_func": "stage2",
2885
+ "step": 343
2886
+ },
2887
+ {
2888
+ "epoch": 0.25046643913538114,
2889
+ "importance_ratio": 1.0003361701965332,
2890
+ "kl_div_avg": 0.01933516189455986,
2891
+ "learning_rate": 4.753752003497013e-07,
2892
+ "loss_func": "stage2",
2893
+ "step": 344,
2894
+ "total_loss": 2.171875
2895
+ },
2896
+ {
2897
+ "epoch": 0.25337883959044366,
2898
+ "importance_ratio": 1.0,
2899
+ "kl_div_avg": 0.055748093873262405,
2900
+ "learning_rate": 4.7530234591286605e-07,
2901
+ "loss_func": "stage2",
2902
+ "step": 345,
2903
+ "total_loss": 0.15625
2904
+ },
2905
+ {
2906
+ "epoch": 0.25337883959044366,
2907
+ "importance_ratio": 1.001150131225586,
2908
+ "kl_div_avg": 0.06542669236660004,
2909
+ "learning_rate": 4.752294914760309e-07,
2910
+ "loss_func": "stage2",
2911
+ "step": 346,
2912
+ "total_loss": -0.341796875
2913
+ },
2914
+ {
2915
+ "epoch": 0.25337883959044366,
2916
+ "importance_ratio": 1.0002367496490479,
2917
+ "kl_div_avg": 0.02955247461795807,
2918
+ "learning_rate": 4.7515663703919566e-07,
2919
+ "loss_func": "stage2",
2920
+ "step": 347
2921
+ },
2922
+ {
2923
+ "epoch": 0.25337883959044366,
2924
+ "importance_ratio": 1.0002845525741577,
2925
+ "kl_div_avg": 0.028858419507741928,
2926
+ "learning_rate": 4.750837826023605e-07,
2927
+ "loss_func": "stage2",
2928
+ "step": 348
2929
+ },
2930
+ {
2931
+ "epoch": 0.25629124004550624,
2932
+ "importance_ratio": 1.0,
2933
+ "kl_div_avg": 0.050181884318590164,
2934
+ "learning_rate": 4.750109281655252e-07,
2935
+ "loss_func": "stage2",
2936
+ "step": 349
2937
+ },
2938
+ {
2939
+ "epoch": 0.25629124004550624,
2940
+ "importance_ratio": 1.0005871057510376,
2941
+ "kl_div_avg": 0.04680076614022255,
2942
+ "learning_rate": 4.7493807372869004e-07,
2943
+ "loss_func": "stage2",
2944
+ "step": 350
2945
+ },
2946
+ {
2947
+ "epoch": 0.25629124004550624,
2948
+ "importance_ratio": 1.0019506216049194,
2949
+ "kl_div_avg": 0.06889910995960236,
2950
+ "learning_rate": 4.748652192918549e-07,
2951
+ "loss_func": "stage2",
2952
+ "step": 351
2953
+ },
2954
+ {
2955
+ "epoch": 0.25629124004550624,
2956
+ "importance_ratio": 1.0027525424957275,
2957
+ "kl_div_avg": 0.05746535211801529,
2958
+ "learning_rate": 4.7479236485501965e-07,
2959
+ "loss_func": "stage2",
2960
+ "step": 352
2961
+ },
2962
+ {
2963
+ "epoch": 0.2592036405005688,
2964
+ "importance_ratio": 1.0,
2965
+ "kl_div_avg": 0.042875513434410095,
2966
+ "learning_rate": 4.7471951041818443e-07,
2967
+ "loss_func": "stage2",
2968
+ "step": 353
2969
+ },
2970
+ {
2971
+ "epoch": 0.2592036405005688,
2972
+ "importance_ratio": 1.0002708435058594,
2973
+ "kl_div_avg": 0.028494440019130707,
2974
+ "learning_rate": 4.746466559813492e-07,
2975
+ "loss_func": "stage2",
2976
+ "step": 354
2977
+ },
2978
+ {
2979
+ "epoch": 0.2592036405005688,
2980
+ "importance_ratio": 1.0010781288146973,
2981
+ "kl_div_avg": 0.036078453063964844,
2982
+ "learning_rate": 4.7457380154451404e-07,
2983
+ "loss_func": "stage2",
2984
+ "step": 355
2985
+ },
2986
+ {
2987
+ "epoch": 0.2592036405005688,
2988
+ "importance_ratio": 1.0010154247283936,
2989
+ "kl_div_avg": 0.0418880432844162,
2990
+ "learning_rate": 4.7450094710767887e-07,
2991
+ "loss_func": "stage2",
2992
+ "step": 356
2993
+ },
2994
+ {
2995
+ "epoch": 0.2621160409556314,
2996
+ "importance_ratio": 1.0,
2997
+ "kl_div_avg": 0.034274179488420486,
2998
+ "learning_rate": 4.7442809267084364e-07,
2999
+ "loss_func": "stage2",
3000
+ "step": 357
3001
+ },
3002
+ {
3003
+ "epoch": 0.2621160409556314,
3004
+ "importance_ratio": 1.0006074905395508,
3005
+ "kl_div_avg": 0.06455402821302414,
3006
+ "learning_rate": 4.743552382340084e-07,
3007
+ "loss_func": "stage2",
3008
+ "step": 358
3009
+ },
3010
+ {
3011
+ "epoch": 0.2621160409556314,
3012
+ "importance_ratio": 1.000532627105713,
3013
+ "kl_div_avg": 0.06488654017448425,
3014
+ "learning_rate": 4.7428238379717325e-07,
3015
+ "loss_func": "stage2",
3016
+ "step": 359
3017
+ },
3018
+ {
3019
+ "epoch": 0.2621160409556314,
3020
+ "importance_ratio": 1.0015405416488647,
3021
+ "kl_div_avg": 0.05848488584160805,
3022
+ "learning_rate": 4.7420952936033803e-07,
3023
+ "loss_func": "stage2",
3024
+ "step": 360
3025
+ },
3026
+ {
3027
+ "epoch": 0.265028441410694,
3028
+ "importance_ratio": 1.0,
3029
+ "kl_div_avg": 0.056837569922208786,
3030
+ "learning_rate": 4.7413667492350286e-07,
3031
+ "loss_func": "stage2",
3032
+ "step": 361
3033
+ },
3034
+ {
3035
+ "epoch": 0.265028441410694,
3036
+ "importance_ratio": 0.9998044967651367,
3037
+ "kl_div_avg": 0.06221582740545273,
3038
+ "learning_rate": 4.740638204866676e-07,
3039
+ "loss_func": "stage2",
3040
+ "step": 362
3041
+ },
3042
+ {
3043
+ "epoch": 0.265028441410694,
3044
+ "importance_ratio": 0.9996775388717651,
3045
+ "kl_div_avg": 0.060226716101169586,
3046
+ "learning_rate": 4.739909660498324e-07,
3047
+ "loss_func": "stage2",
3048
+ "step": 363
3049
+ },
3050
+ {
3051
+ "epoch": 0.265028441410694,
3052
+ "importance_ratio": 0.9990496039390564,
3053
+ "kl_div_avg": 0.07773536443710327,
3054
+ "learning_rate": 4.7391811161299724e-07,
3055
+ "loss_func": "stage2",
3056
+ "step": 364
3057
+ },
3058
+ {
3059
+ "epoch": 0.26794084186575656,
3060
+ "importance_ratio": 1.0,
3061
+ "kl_div_avg": 0.0389438197016716,
3062
+ "learning_rate": 4.73845257176162e-07,
3063
+ "loss_func": "stage2",
3064
+ "step": 365
3065
+ },
3066
+ {
3067
+ "epoch": 0.26794084186575656,
3068
+ "importance_ratio": 0.999747633934021,
3069
+ "kl_div_avg": 0.059490106999874115,
3070
+ "learning_rate": 4.737724027393268e-07,
3071
+ "loss_func": "stage2",
3072
+ "step": 366
3073
+ },
3074
+ {
3075
+ "epoch": 0.26794084186575656,
3076
+ "importance_ratio": 0.9999392032623291,
3077
+ "kl_div_avg": 0.04581678286194801,
3078
+ "learning_rate": 4.736995483024916e-07,
3079
+ "loss_func": "stage2",
3080
+ "step": 367
3081
+ },
3082
+ {
3083
+ "epoch": 0.26794084186575656,
3084
+ "importance_ratio": 0.9997276067733765,
3085
+ "kl_div_avg": 0.04072655737400055,
3086
+ "learning_rate": 4.736266938656564e-07,
3087
+ "loss_func": "stage2",
3088
+ "step": 368
3089
+ },
3090
+ {
3091
+ "epoch": 0.2708532423208191,
3092
+ "importance_ratio": 1.0,
3093
+ "kl_div_avg": 0.04005524516105652,
3094
+ "learning_rate": 4.7355383942882123e-07,
3095
+ "loss_func": "stage2",
3096
+ "step": 369
3097
+ },
3098
+ {
3099
+ "epoch": 0.2708532423208191,
3100
+ "importance_ratio": 0.9993170499801636,
3101
+ "kl_div_avg": 0.06568346917629242,
3102
+ "learning_rate": 4.7348098499198596e-07,
3103
+ "loss_func": "stage2",
3104
+ "step": 370
3105
+ },
3106
+ {
3107
+ "epoch": 0.2708532423208191,
3108
+ "importance_ratio": 0.9980641603469849,
3109
+ "kl_div_avg": 0.05638229474425316,
3110
+ "learning_rate": 4.734081305551508e-07,
3111
+ "loss_func": "stage2",
3112
+ "step": 371
3113
+ },
3114
+ {
3115
+ "epoch": 0.2708532423208191,
3116
+ "importance_ratio": 0.9988054037094116,
3117
+ "kl_div_avg": 0.01818370260298252,
3118
+ "learning_rate": 4.7333527611831557e-07,
3119
+ "loss_func": "stage2",
3120
+ "step": 372
3121
+ },
3122
+ {
3123
+ "epoch": 0.27376564277588167,
3124
+ "importance_ratio": 1.0,
3125
+ "kl_div_avg": 0.04747728630900383,
3126
+ "learning_rate": 4.732624216814804e-07,
3127
+ "loss_func": "stage2",
3128
+ "step": 373
3129
+ },
3130
+ {
3131
+ "epoch": 0.27376564277588167,
3132
+ "importance_ratio": 0.9997256398200989,
3133
+ "kl_div_avg": 0.05248579382896423,
3134
+ "learning_rate": 4.731895672446452e-07,
3135
+ "loss_func": "stage2",
3136
+ "step": 374
3137
+ },
3138
+ {
3139
+ "epoch": 0.27376564277588167,
3140
+ "importance_ratio": 0.9994120001792908,
3141
+ "kl_div_avg": 0.04088594764471054,
3142
+ "learning_rate": 4.7311671280780995e-07,
3143
+ "loss_func": "stage2",
3144
+ "step": 375
3145
+ },
3146
+ {
3147
+ "epoch": 0.27376564277588167,
3148
+ "importance_ratio": 0.9979708194732666,
3149
+ "kl_div_avg": 0.0623336061835289,
3150
+ "learning_rate": 4.730438583709748e-07,
3151
+ "loss_func": "stage2",
3152
+ "step": 376
3153
+ }
3154
+ ],
3155
+ "logging_steps": 1.0,
3156
+ "max_steps": 6868,
3157
+ "num_input_tokens_seen": 0,
3158
+ "num_train_epochs": 20.0,
3159
+ "save_steps": 50,
3160
+ "stateful_callbacks": {
3161
+ "TrainerControl": {
3162
+ "args": {
3163
+ "should_epoch_stop": false,
3164
+ "should_evaluate": false,
3165
+ "should_log": false,
3166
+ "should_save": false,
3167
+ "should_training_stop": false
3168
+ },
3169
+ "attributes": {}
3170
+ }
3171
+ },
3172
+ "total_flos": 0,
3173
+ "train_batch_size": 1,
3174
+ "trial_name": null,
3175
+ "trial_params": null
3176
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf5202dc42116948ce5e1e9705b424475d1ad4c2c99c84501c25f6f13751af8b
3
+ size 11640
vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
zero_to_fp32.py ADDED
@@ -0,0 +1,587 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+
3
+ # Copyright (c) Microsoft Corporation.
4
+ # SPDX-License-Identifier: Apache-2.0
5
+
6
+ # DeepSpeed Team
7
+
8
+ # This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
9
+ # copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
10
+ # the future. Once extracted, the weights don't require DeepSpeed and can be used in any
11
+ # application.
12
+ #
13
+ # example: python zero_to_fp32.py . pytorch_model.bin
14
+
15
+ import argparse
16
+ import torch
17
+ import glob
18
+ import math
19
+ import os
20
+ import re
21
+ from collections import OrderedDict
22
+ from dataclasses import dataclass
23
+
24
+ # while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
25
+ # DeepSpeed data structures it has to be available in the current python environment.
26
+ from deepspeed.utils import logger
27
+ from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
28
+ FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
29
+ FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
30
+
31
+
32
+ @dataclass
33
+ class zero_model_state:
34
+ buffers: dict()
35
+ param_shapes: dict()
36
+ shared_params: list
37
+ ds_version: int
38
+ frozen_param_shapes: dict()
39
+ frozen_param_fragments: dict()
40
+
41
+
42
+ debug = 0
43
+
44
+ # load to cpu
45
+ device = torch.device('cpu')
46
+
47
+
48
+ def atoi(text):
49
+ return int(text) if text.isdigit() else text
50
+
51
+
52
+ def natural_keys(text):
53
+ '''
54
+ alist.sort(key=natural_keys) sorts in human order
55
+ http://nedbatchelder.com/blog/200712/human_sorting.html
56
+ (See Toothy's implementation in the comments)
57
+ '''
58
+ return [atoi(c) for c in re.split(r'(\d+)', text)]
59
+
60
+
61
+ def get_model_state_file(checkpoint_dir, zero_stage):
62
+ if not os.path.isdir(checkpoint_dir):
63
+ raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
64
+
65
+ # there should be only one file
66
+ if zero_stage <= 2:
67
+ file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
68
+ elif zero_stage == 3:
69
+ file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
70
+
71
+ if not os.path.exists(file):
72
+ raise FileNotFoundError(f"can't find model states file at '{file}'")
73
+
74
+ return file
75
+
76
+
77
+ def get_checkpoint_files(checkpoint_dir, glob_pattern):
78
+ # XXX: need to test that this simple glob rule works for multi-node setup too
79
+ ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
80
+
81
+ if len(ckpt_files) == 0:
82
+ raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
83
+
84
+ return ckpt_files
85
+
86
+
87
+ def get_optim_files(checkpoint_dir):
88
+ return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
89
+
90
+
91
+ def get_model_state_files(checkpoint_dir):
92
+ return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
93
+
94
+
95
+ def parse_model_states(files):
96
+ zero_model_states = []
97
+ for file in files:
98
+ state_dict = torch.load(file, map_location=device)
99
+
100
+ if BUFFER_NAMES not in state_dict:
101
+ raise ValueError(f"{file} is not a model state checkpoint")
102
+ buffer_names = state_dict[BUFFER_NAMES]
103
+ if debug:
104
+ print("Found buffers:", buffer_names)
105
+
106
+ # recover just the buffers while restoring them to fp32 if they were saved in fp16
107
+ buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
108
+ param_shapes = state_dict[PARAM_SHAPES]
109
+
110
+ # collect parameters that are included in param_shapes
111
+ param_names = []
112
+ for s in param_shapes:
113
+ for name in s.keys():
114
+ param_names.append(name)
115
+
116
+ # update with frozen parameters
117
+ frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
118
+ if frozen_param_shapes is not None:
119
+ if debug:
120
+ print(f"Found frozen_param_shapes: {frozen_param_shapes}")
121
+ param_names += list(frozen_param_shapes.keys())
122
+
123
+ # handle shared params
124
+ shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
125
+
126
+ ds_version = state_dict.get(DS_VERSION, None)
127
+
128
+ frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
129
+
130
+ z_model_state = zero_model_state(buffers=buffers,
131
+ param_shapes=param_shapes,
132
+ shared_params=shared_params,
133
+ ds_version=ds_version,
134
+ frozen_param_shapes=frozen_param_shapes,
135
+ frozen_param_fragments=frozen_param_fragments)
136
+ zero_model_states.append(z_model_state)
137
+
138
+ return zero_model_states
139
+
140
+
141
+ def parse_optim_states(files, ds_checkpoint_dir):
142
+
143
+ total_files = len(files)
144
+ state_dicts = []
145
+ for f in files:
146
+ state_dict = torch.load(f, map_location=device)
147
+ # immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
148
+ # and also handle the case where it was already removed by another helper script
149
+ state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
150
+ state_dicts.append(state_dict)
151
+
152
+ if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
153
+ raise ValueError(f"{files[0]} is not a zero checkpoint")
154
+ zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
155
+ world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
156
+
157
+ # For ZeRO-2 each param group can have different partition_count as data parallelism for expert
158
+ # parameters can be different from data parallelism for non-expert parameters. So we can just
159
+ # use the max of the partition_count to get the dp world_size.
160
+
161
+ if type(world_size) is list:
162
+ world_size = max(world_size)
163
+
164
+ if world_size != total_files:
165
+ raise ValueError(
166
+ f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
167
+ "Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
168
+ )
169
+
170
+ # the groups are named differently in each stage
171
+ if zero_stage <= 2:
172
+ fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
173
+ elif zero_stage == 3:
174
+ fp32_groups_key = FP32_FLAT_GROUPS
175
+ else:
176
+ raise ValueError(f"unknown zero stage {zero_stage}")
177
+
178
+ if zero_stage <= 2:
179
+ fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
180
+ elif zero_stage == 3:
181
+ # if there is more than one param group, there will be multiple flattened tensors - one
182
+ # flattened tensor per group - for simplicity merge them into a single tensor
183
+ #
184
+ # XXX: could make the script more memory efficient for when there are multiple groups - it
185
+ # will require matching the sub-lists of param_shapes for each param group flattened tensor
186
+
187
+ fp32_flat_groups = [
188
+ torch.cat(state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key], 0) for i in range(len(state_dicts))
189
+ ]
190
+
191
+ return zero_stage, world_size, fp32_flat_groups
192
+
193
+
194
+ def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir):
195
+ """
196
+ Returns fp32 state_dict reconstructed from ds checkpoint
197
+
198
+ Args:
199
+ - ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
200
+
201
+ """
202
+ print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
203
+
204
+ optim_files = get_optim_files(ds_checkpoint_dir)
205
+ zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
206
+ print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
207
+
208
+ model_files = get_model_state_files(ds_checkpoint_dir)
209
+
210
+ zero_model_states = parse_model_states(model_files)
211
+ print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
212
+
213
+ if zero_stage <= 2:
214
+ return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states)
215
+ elif zero_stage == 3:
216
+ return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states)
217
+
218
+
219
+ def _zero2_merge_frozen_params(state_dict, zero_model_states):
220
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
221
+ return
222
+
223
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
224
+ frozen_param_fragments = zero_model_states[0].frozen_param_fragments
225
+
226
+ if debug:
227
+ num_elem = sum(s.numel() for s in frozen_param_shapes.values())
228
+ print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
229
+
230
+ wanted_params = len(frozen_param_shapes)
231
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
232
+ avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
233
+ print(f'Frozen params: Have {avail_numel} numels to process.')
234
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
235
+
236
+ total_params = 0
237
+ total_numel = 0
238
+ for name, shape in frozen_param_shapes.items():
239
+ total_params += 1
240
+ unpartitioned_numel = shape.numel()
241
+ total_numel += unpartitioned_numel
242
+
243
+ state_dict[name] = frozen_param_fragments[name]
244
+
245
+ if debug:
246
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
247
+
248
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
249
+
250
+
251
+ def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
252
+ param_shapes = zero_model_states[0].param_shapes
253
+
254
+ # Reconstruction protocol:
255
+ #
256
+ # XXX: document this
257
+
258
+ if debug:
259
+ for i in range(world_size):
260
+ for j in range(len(fp32_flat_groups[0])):
261
+ print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
262
+
263
+ # XXX: memory usage doubles here (zero2)
264
+ num_param_groups = len(fp32_flat_groups[0])
265
+ merged_single_partition_of_fp32_groups = []
266
+ for i in range(num_param_groups):
267
+ merged_partitions = [sd[i] for sd in fp32_flat_groups]
268
+ full_single_fp32_vector = torch.cat(merged_partitions, 0)
269
+ merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
270
+ avail_numel = sum(
271
+ [full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
272
+
273
+ if debug:
274
+ wanted_params = sum([len(shapes) for shapes in param_shapes])
275
+ wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
276
+ # not asserting if there is a mismatch due to possible padding
277
+ print(f"Have {avail_numel} numels to process.")
278
+ print(f"Need {wanted_numel} numels in {wanted_params} params.")
279
+
280
+ # params
281
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
282
+ # out-of-core computing solution
283
+ total_numel = 0
284
+ total_params = 0
285
+ for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
286
+ offset = 0
287
+ avail_numel = full_single_fp32_vector.numel()
288
+ for name, shape in shapes.items():
289
+
290
+ unpartitioned_numel = shape.numel()
291
+ total_numel += unpartitioned_numel
292
+ total_params += 1
293
+
294
+ if debug:
295
+ print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
296
+ state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
297
+ offset += unpartitioned_numel
298
+
299
+ # Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
300
+ # avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
301
+ # paddings performed in the code it's almost impossible to predict the exact numbers w/o the
302
+ # live optimizer object, so we are checking that the numbers are within the right range
303
+ align_to = 2 * world_size
304
+
305
+ def zero2_align(x):
306
+ return align_to * math.ceil(x / align_to)
307
+
308
+ if debug:
309
+ print(f"original offset={offset}, avail_numel={avail_numel}")
310
+
311
+ offset = zero2_align(offset)
312
+ avail_numel = zero2_align(avail_numel)
313
+
314
+ if debug:
315
+ print(f"aligned offset={offset}, avail_numel={avail_numel}")
316
+
317
+ # Sanity check
318
+ if offset != avail_numel:
319
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
320
+
321
+ print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
322
+
323
+
324
+ def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states):
325
+ state_dict = OrderedDict()
326
+
327
+ # buffers
328
+ buffers = zero_model_states[0].buffers
329
+ state_dict.update(buffers)
330
+ if debug:
331
+ print(f"added {len(buffers)} buffers")
332
+
333
+ _zero2_merge_frozen_params(state_dict, zero_model_states)
334
+
335
+ _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
336
+
337
+ # recover shared parameters
338
+ for pair in zero_model_states[0].shared_params:
339
+ if pair[1] in state_dict:
340
+ state_dict[pair[0]] = state_dict[pair[1]]
341
+
342
+ return state_dict
343
+
344
+
345
+ def zero3_partitioned_param_info(unpartitioned_numel, world_size):
346
+ remainder = unpartitioned_numel % world_size
347
+ padding_numel = (world_size - remainder) if remainder else 0
348
+ partitioned_numel = math.ceil(unpartitioned_numel / world_size)
349
+ return partitioned_numel, padding_numel
350
+
351
+
352
+ def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
353
+ if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
354
+ return
355
+
356
+ if debug:
357
+ for i in range(world_size):
358
+ num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
359
+ print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
360
+
361
+ frozen_param_shapes = zero_model_states[0].frozen_param_shapes
362
+ wanted_params = len(frozen_param_shapes)
363
+ wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
364
+ avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
365
+ print(f'Frozen params: Have {avail_numel} numels to process.')
366
+ print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
367
+
368
+ total_params = 0
369
+ total_numel = 0
370
+ for name, shape in zero_model_states[0].frozen_param_shapes.items():
371
+ total_params += 1
372
+ unpartitioned_numel = shape.numel()
373
+ total_numel += unpartitioned_numel
374
+
375
+ param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
376
+ state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
377
+
378
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
379
+
380
+ if debug:
381
+ print(
382
+ f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
383
+ )
384
+
385
+ print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
386
+
387
+
388
+ def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
389
+ param_shapes = zero_model_states[0].param_shapes
390
+ avail_numel = fp32_flat_groups[0].numel() * world_size
391
+ # Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
392
+ # param, re-consolidating each param, while dealing with padding if any
393
+
394
+ # merge list of dicts, preserving order
395
+ param_shapes = {k: v for d in param_shapes for k, v in d.items()}
396
+
397
+ if debug:
398
+ for i in range(world_size):
399
+ print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
400
+
401
+ wanted_params = len(param_shapes)
402
+ wanted_numel = sum(shape.numel() for shape in param_shapes.values())
403
+ # not asserting if there is a mismatch due to possible padding
404
+ avail_numel = fp32_flat_groups[0].numel() * world_size
405
+ print(f"Trainable params: Have {avail_numel} numels to process.")
406
+ print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
407
+
408
+ # params
409
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
410
+ # out-of-core computing solution
411
+ offset = 0
412
+ total_numel = 0
413
+ total_params = 0
414
+ for name, shape in param_shapes.items():
415
+
416
+ unpartitioned_numel = shape.numel()
417
+ total_numel += unpartitioned_numel
418
+ total_params += 1
419
+
420
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
421
+
422
+ if debug:
423
+ print(
424
+ f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
425
+ )
426
+
427
+ # XXX: memory usage doubles here
428
+ state_dict[name] = torch.cat(
429
+ tuple(fp32_flat_groups[i].narrow(0, offset, partitioned_numel) for i in range(world_size)),
430
+ 0).narrow(0, 0, unpartitioned_numel).view(shape)
431
+ offset += partitioned_numel
432
+
433
+ offset *= world_size
434
+
435
+ # Sanity check
436
+ if offset != avail_numel:
437
+ raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
438
+
439
+ print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
440
+
441
+
442
+ def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states):
443
+ state_dict = OrderedDict()
444
+
445
+ # buffers
446
+ buffers = zero_model_states[0].buffers
447
+ state_dict.update(buffers)
448
+ if debug:
449
+ print(f"added {len(buffers)} buffers")
450
+
451
+ _zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
452
+
453
+ _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
454
+
455
+ # recover shared parameters
456
+ for pair in zero_model_states[0].shared_params:
457
+ if pair[1] in state_dict:
458
+ state_dict[pair[0]] = state_dict[pair[1]]
459
+
460
+ return state_dict
461
+
462
+
463
+ def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag=None):
464
+ """
465
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
466
+ ``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
467
+ via a model hub.
468
+
469
+ Args:
470
+ - ``checkpoint_dir``: path to the desired checkpoint folder
471
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
472
+
473
+ Returns:
474
+ - pytorch ``state_dict``
475
+
476
+ Note: this approach may not work if your application doesn't have sufficient free CPU memory and
477
+ you may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
478
+ the checkpoint.
479
+
480
+ A typical usage might be ::
481
+
482
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
483
+ # do the training and checkpoint saving
484
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
485
+ model = model.cpu() # move to cpu
486
+ model.load_state_dict(state_dict)
487
+ # submit to model hub or save the model to share with others
488
+
489
+ In this example the ``model`` will no longer be usable in the deepspeed context of the same
490
+ application. i.e. you will need to re-initialize the deepspeed engine, since
491
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
492
+
493
+ If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
494
+
495
+ """
496
+ if tag is None:
497
+ latest_path = os.path.join(checkpoint_dir, 'latest')
498
+ if os.path.isfile(latest_path):
499
+ with open(latest_path, 'r') as fd:
500
+ tag = fd.read().strip()
501
+ else:
502
+ raise ValueError(f"Unable to find 'latest' file at {latest_path}")
503
+
504
+ ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
505
+
506
+ if not os.path.isdir(ds_checkpoint_dir):
507
+ raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
508
+
509
+ return _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir)
510
+
511
+
512
+ def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir, output_file, tag=None):
513
+ """
514
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
515
+ loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
516
+
517
+ Args:
518
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
519
+ - ``output_file``: path to the pytorch fp32 state_dict output file (e.g. path/pytorch_model.bin)
520
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
521
+ """
522
+
523
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
524
+ print(f"Saving fp32 state dict to {output_file}")
525
+ torch.save(state_dict, output_file)
526
+
527
+
528
+ def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
529
+ """
530
+ 1. Put the provided model to cpu
531
+ 2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
532
+ 3. Load it into the provided model
533
+
534
+ Args:
535
+ - ``model``: the model object to update
536
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
537
+ - ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
538
+
539
+ Returns:
540
+ - ``model`: modified model
541
+
542
+ Make sure you have plenty of CPU memory available before you call this function. If you don't
543
+ have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
544
+ conveniently placed for you in the checkpoint folder.
545
+
546
+ A typical usage might be ::
547
+
548
+ from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
549
+ model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
550
+ # submit to model hub or save the model to share with others
551
+
552
+ Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
553
+ of the same application. i.e. you will need to re-initialize the deepspeed engine, since
554
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
555
+
556
+ """
557
+ logger.info(f"Extracting fp32 weights")
558
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
559
+
560
+ logger.info(f"Overwriting model with fp32 weights")
561
+ model = model.cpu()
562
+ model.load_state_dict(state_dict, strict=False)
563
+
564
+ return model
565
+
566
+
567
+ if __name__ == "__main__":
568
+
569
+ parser = argparse.ArgumentParser()
570
+ parser.add_argument("checkpoint_dir",
571
+ type=str,
572
+ help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
573
+ parser.add_argument(
574
+ "output_file",
575
+ type=str,
576
+ help="path to the pytorch fp32 state_dict output file (e.g. path/checkpoint-12/pytorch_model.bin)")
577
+ parser.add_argument("-t",
578
+ "--tag",
579
+ type=str,
580
+ default=None,
581
+ help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
582
+ parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
583
+ args = parser.parse_args()
584
+
585
+ debug = args.debug
586
+
587
+ convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir, args.output_file, tag=args.tag)