dmayhem93 commited on
Commit
f560562
1 Parent(s): 16252e5

Upload with huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "EleutherAI/pythia-6.7b-deduped",
3
+ "architectures": [
4
+ "GPTNeoXForCausalLM"
5
+ ],
6
+ "bos_token_id": 0,
7
+ "eos_token_id": 0,
8
+ "hidden_act": "gelu",
9
+ "hidden_size": 4096,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 16384,
12
+ "layer_norm_eps": 1e-05,
13
+ "max_position_embeddings": 2048,
14
+ "model_type": "gpt_neox",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "rotary_emb_base": 10000,
18
+ "rotary_pct": 0.25,
19
+ "tie_word_embeddings": false,
20
+ "torch_dtype": "float16",
21
+ "transformers_version": "4.26.0.dev0",
22
+ "use_cache": true,
23
+ "use_parallel_residual": true,
24
+ "vocab_size": 50432
25
+ }
global_step14299/mp_rank_00_model_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7fcfe766022d4d2fc3752c91d95bfc9a48e0c7678eed71962b3e60b5b73c8a5
3
+ size 13848970074
global_step14299/zero_pp_rank_0_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:971b60aa7e7e1970089cf3e1e3d92e81a6544cca7ee8a8e683077cd7ea9e5931
3
+ size 10285959326
global_step14299/zero_pp_rank_1_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b097f4ba6bcf1b488c25e10b117f56294fc26b7782ea9d8f5e3dbce22bb5bd0e
3
+ size 10285960286
global_step14299/zero_pp_rank_2_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd186391677fec0be2f13ebcdcbcc649b9490196eb06f993c207d577b2a2d5c5
3
+ size 10285960094
global_step14299/zero_pp_rank_3_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e95eb5360ad7880d9b40d3bb01de3fc5490f2aeb64b3cdf95e09d5b1721a5c44
3
+ size 10285960158
global_step14299/zero_pp_rank_4_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b308598c27c6f67029bc011103bb9f8b73c4cca8a8c33dbeaa77a30fefb0000
3
+ size 10285960414
global_step14299/zero_pp_rank_5_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:779f945cc4418680d1e0a5f166bb4af20a47ace9577b59c0c4fa33a33f3cc94d
3
+ size 10285960158
global_step14299/zero_pp_rank_6_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc0df5ff43c2a07624de01e89d1af5be9c282b9218f65740cf04d5214319f7d9
3
+ size 10285960158
global_step14299/zero_pp_rank_7_mp_rank_00_optim_states.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dacc8251f768fc32250cfb9b88776ac75abfae228ccb45eaef61f693a5397df5
3
+ size 10285959262
latest ADDED
@@ -0,0 +1 @@
 
 
1
+ global_step14299
pytorch_model-00001-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03a871b42195223547943cfb7d1fba5540dc5cb6073c8cca4f21b1adb677caf9
3
+ size 13815335033
pytorch_model-00002-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f64b366706a5e3119e2b24e2b8eb3f9c6bf9c97c50a3b259f5abbca7a45a179b
3
+ size 13748182361
pytorch_model.bin.index.json ADDED
@@ -0,0 +1,491 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 13848822848
4
+ },
5
+ "weight_map": {
6
+ "embed_out.weight": "pytorch_model-00002-of-00002.bin",
7
+ "gpt_neox.embed_in.weight": "pytorch_model-00001-of-00002.bin",
8
+ "gpt_neox.final_layer_norm.bias": "pytorch_model-00002-of-00002.bin",
9
+ "gpt_neox.final_layer_norm.weight": "pytorch_model-00002-of-00002.bin",
10
+ "gpt_neox.layers.0.attention.bias": "pytorch_model-00001-of-00002.bin",
11
+ "gpt_neox.layers.0.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
12
+ "gpt_neox.layers.0.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
13
+ "gpt_neox.layers.0.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
14
+ "gpt_neox.layers.0.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
15
+ "gpt_neox.layers.0.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
16
+ "gpt_neox.layers.0.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
17
+ "gpt_neox.layers.0.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
18
+ "gpt_neox.layers.0.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
19
+ "gpt_neox.layers.0.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
20
+ "gpt_neox.layers.0.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
21
+ "gpt_neox.layers.0.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
22
+ "gpt_neox.layers.0.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
23
+ "gpt_neox.layers.0.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
24
+ "gpt_neox.layers.0.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
25
+ "gpt_neox.layers.1.attention.bias": "pytorch_model-00001-of-00002.bin",
26
+ "gpt_neox.layers.1.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
27
+ "gpt_neox.layers.1.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
28
+ "gpt_neox.layers.1.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
29
+ "gpt_neox.layers.1.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
30
+ "gpt_neox.layers.1.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
31
+ "gpt_neox.layers.1.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
32
+ "gpt_neox.layers.1.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
33
+ "gpt_neox.layers.1.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
34
+ "gpt_neox.layers.1.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
35
+ "gpt_neox.layers.1.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
36
+ "gpt_neox.layers.1.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
37
+ "gpt_neox.layers.1.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
38
+ "gpt_neox.layers.1.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
39
+ "gpt_neox.layers.1.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
40
+ "gpt_neox.layers.10.attention.bias": "pytorch_model-00001-of-00002.bin",
41
+ "gpt_neox.layers.10.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
42
+ "gpt_neox.layers.10.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
43
+ "gpt_neox.layers.10.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
44
+ "gpt_neox.layers.10.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
45
+ "gpt_neox.layers.10.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
46
+ "gpt_neox.layers.10.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
47
+ "gpt_neox.layers.10.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
48
+ "gpt_neox.layers.10.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
49
+ "gpt_neox.layers.10.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
50
+ "gpt_neox.layers.10.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
51
+ "gpt_neox.layers.10.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
52
+ "gpt_neox.layers.10.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
53
+ "gpt_neox.layers.10.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
54
+ "gpt_neox.layers.10.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
55
+ "gpt_neox.layers.11.attention.bias": "pytorch_model-00001-of-00002.bin",
56
+ "gpt_neox.layers.11.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
57
+ "gpt_neox.layers.11.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
58
+ "gpt_neox.layers.11.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
59
+ "gpt_neox.layers.11.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
60
+ "gpt_neox.layers.11.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
61
+ "gpt_neox.layers.11.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
62
+ "gpt_neox.layers.11.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
63
+ "gpt_neox.layers.11.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
64
+ "gpt_neox.layers.11.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
65
+ "gpt_neox.layers.11.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
66
+ "gpt_neox.layers.11.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
67
+ "gpt_neox.layers.11.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
68
+ "gpt_neox.layers.11.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
69
+ "gpt_neox.layers.11.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
70
+ "gpt_neox.layers.12.attention.bias": "pytorch_model-00001-of-00002.bin",
71
+ "gpt_neox.layers.12.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
72
+ "gpt_neox.layers.12.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
73
+ "gpt_neox.layers.12.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
74
+ "gpt_neox.layers.12.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
75
+ "gpt_neox.layers.12.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
76
+ "gpt_neox.layers.12.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
77
+ "gpt_neox.layers.12.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
78
+ "gpt_neox.layers.12.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
79
+ "gpt_neox.layers.12.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
80
+ "gpt_neox.layers.12.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
81
+ "gpt_neox.layers.12.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
82
+ "gpt_neox.layers.12.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
83
+ "gpt_neox.layers.12.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
84
+ "gpt_neox.layers.12.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
85
+ "gpt_neox.layers.13.attention.bias": "pytorch_model-00001-of-00002.bin",
86
+ "gpt_neox.layers.13.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
87
+ "gpt_neox.layers.13.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
88
+ "gpt_neox.layers.13.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
89
+ "gpt_neox.layers.13.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
90
+ "gpt_neox.layers.13.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
91
+ "gpt_neox.layers.13.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
92
+ "gpt_neox.layers.13.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
93
+ "gpt_neox.layers.13.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
94
+ "gpt_neox.layers.13.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
95
+ "gpt_neox.layers.13.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
96
+ "gpt_neox.layers.13.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
97
+ "gpt_neox.layers.13.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
98
+ "gpt_neox.layers.13.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
99
+ "gpt_neox.layers.13.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
100
+ "gpt_neox.layers.14.attention.bias": "pytorch_model-00001-of-00002.bin",
101
+ "gpt_neox.layers.14.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
102
+ "gpt_neox.layers.14.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
103
+ "gpt_neox.layers.14.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
104
+ "gpt_neox.layers.14.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
105
+ "gpt_neox.layers.14.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
106
+ "gpt_neox.layers.14.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
107
+ "gpt_neox.layers.14.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
108
+ "gpt_neox.layers.14.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
109
+ "gpt_neox.layers.14.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
110
+ "gpt_neox.layers.14.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
111
+ "gpt_neox.layers.14.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
112
+ "gpt_neox.layers.14.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
113
+ "gpt_neox.layers.14.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
114
+ "gpt_neox.layers.14.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
115
+ "gpt_neox.layers.15.attention.bias": "pytorch_model-00001-of-00002.bin",
116
+ "gpt_neox.layers.15.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
117
+ "gpt_neox.layers.15.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
118
+ "gpt_neox.layers.15.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
119
+ "gpt_neox.layers.15.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
120
+ "gpt_neox.layers.15.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
121
+ "gpt_neox.layers.15.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
122
+ "gpt_neox.layers.15.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
123
+ "gpt_neox.layers.15.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
124
+ "gpt_neox.layers.15.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
125
+ "gpt_neox.layers.15.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
126
+ "gpt_neox.layers.15.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
127
+ "gpt_neox.layers.15.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
128
+ "gpt_neox.layers.15.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
129
+ "gpt_neox.layers.15.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
130
+ "gpt_neox.layers.16.attention.bias": "pytorch_model-00001-of-00002.bin",
131
+ "gpt_neox.layers.16.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
132
+ "gpt_neox.layers.16.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
133
+ "gpt_neox.layers.16.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
134
+ "gpt_neox.layers.16.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
135
+ "gpt_neox.layers.16.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
136
+ "gpt_neox.layers.16.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
137
+ "gpt_neox.layers.16.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
138
+ "gpt_neox.layers.16.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
139
+ "gpt_neox.layers.16.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
140
+ "gpt_neox.layers.16.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
141
+ "gpt_neox.layers.16.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
142
+ "gpt_neox.layers.16.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
143
+ "gpt_neox.layers.16.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
144
+ "gpt_neox.layers.16.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
145
+ "gpt_neox.layers.17.attention.bias": "pytorch_model-00001-of-00002.bin",
146
+ "gpt_neox.layers.17.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
147
+ "gpt_neox.layers.17.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
148
+ "gpt_neox.layers.17.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
149
+ "gpt_neox.layers.17.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
150
+ "gpt_neox.layers.17.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
151
+ "gpt_neox.layers.17.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
152
+ "gpt_neox.layers.17.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
153
+ "gpt_neox.layers.17.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
154
+ "gpt_neox.layers.17.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
155
+ "gpt_neox.layers.17.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
156
+ "gpt_neox.layers.17.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
157
+ "gpt_neox.layers.17.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
158
+ "gpt_neox.layers.17.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
159
+ "gpt_neox.layers.17.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
160
+ "gpt_neox.layers.18.attention.bias": "pytorch_model-00001-of-00002.bin",
161
+ "gpt_neox.layers.18.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
162
+ "gpt_neox.layers.18.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
163
+ "gpt_neox.layers.18.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
164
+ "gpt_neox.layers.18.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
165
+ "gpt_neox.layers.18.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
166
+ "gpt_neox.layers.18.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
167
+ "gpt_neox.layers.18.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
168
+ "gpt_neox.layers.18.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
169
+ "gpt_neox.layers.18.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
170
+ "gpt_neox.layers.18.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
171
+ "gpt_neox.layers.18.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
172
+ "gpt_neox.layers.18.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
173
+ "gpt_neox.layers.18.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
174
+ "gpt_neox.layers.18.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
175
+ "gpt_neox.layers.19.attention.bias": "pytorch_model-00001-of-00002.bin",
176
+ "gpt_neox.layers.19.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
177
+ "gpt_neox.layers.19.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
178
+ "gpt_neox.layers.19.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
179
+ "gpt_neox.layers.19.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
180
+ "gpt_neox.layers.19.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
181
+ "gpt_neox.layers.19.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
182
+ "gpt_neox.layers.19.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
183
+ "gpt_neox.layers.19.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
184
+ "gpt_neox.layers.19.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
185
+ "gpt_neox.layers.19.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
186
+ "gpt_neox.layers.19.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
187
+ "gpt_neox.layers.19.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
188
+ "gpt_neox.layers.19.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
189
+ "gpt_neox.layers.19.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
190
+ "gpt_neox.layers.2.attention.bias": "pytorch_model-00001-of-00002.bin",
191
+ "gpt_neox.layers.2.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
192
+ "gpt_neox.layers.2.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
193
+ "gpt_neox.layers.2.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
194
+ "gpt_neox.layers.2.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
195
+ "gpt_neox.layers.2.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
196
+ "gpt_neox.layers.2.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
197
+ "gpt_neox.layers.2.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
198
+ "gpt_neox.layers.2.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
199
+ "gpt_neox.layers.2.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
200
+ "gpt_neox.layers.2.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
201
+ "gpt_neox.layers.2.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
202
+ "gpt_neox.layers.2.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
203
+ "gpt_neox.layers.2.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
204
+ "gpt_neox.layers.2.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
205
+ "gpt_neox.layers.20.attention.bias": "pytorch_model-00001-of-00002.bin",
206
+ "gpt_neox.layers.20.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
207
+ "gpt_neox.layers.20.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
208
+ "gpt_neox.layers.20.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
209
+ "gpt_neox.layers.20.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
210
+ "gpt_neox.layers.20.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
211
+ "gpt_neox.layers.20.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
212
+ "gpt_neox.layers.20.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
213
+ "gpt_neox.layers.20.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
214
+ "gpt_neox.layers.20.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
215
+ "gpt_neox.layers.20.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
216
+ "gpt_neox.layers.20.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
217
+ "gpt_neox.layers.20.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
218
+ "gpt_neox.layers.20.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
219
+ "gpt_neox.layers.20.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
220
+ "gpt_neox.layers.21.attention.bias": "pytorch_model-00001-of-00002.bin",
221
+ "gpt_neox.layers.21.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
222
+ "gpt_neox.layers.21.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
223
+ "gpt_neox.layers.21.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
224
+ "gpt_neox.layers.21.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
225
+ "gpt_neox.layers.21.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
226
+ "gpt_neox.layers.21.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
227
+ "gpt_neox.layers.21.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
228
+ "gpt_neox.layers.21.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
229
+ "gpt_neox.layers.21.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
230
+ "gpt_neox.layers.21.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
231
+ "gpt_neox.layers.21.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
232
+ "gpt_neox.layers.21.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
233
+ "gpt_neox.layers.21.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
234
+ "gpt_neox.layers.21.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
235
+ "gpt_neox.layers.22.attention.bias": "pytorch_model-00001-of-00002.bin",
236
+ "gpt_neox.layers.22.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
237
+ "gpt_neox.layers.22.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
238
+ "gpt_neox.layers.22.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
239
+ "gpt_neox.layers.22.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
240
+ "gpt_neox.layers.22.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
241
+ "gpt_neox.layers.22.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
242
+ "gpt_neox.layers.22.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
243
+ "gpt_neox.layers.22.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
244
+ "gpt_neox.layers.22.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
245
+ "gpt_neox.layers.22.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
246
+ "gpt_neox.layers.22.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
247
+ "gpt_neox.layers.22.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
248
+ "gpt_neox.layers.22.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
249
+ "gpt_neox.layers.22.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
250
+ "gpt_neox.layers.23.attention.bias": "pytorch_model-00001-of-00002.bin",
251
+ "gpt_neox.layers.23.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
252
+ "gpt_neox.layers.23.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
253
+ "gpt_neox.layers.23.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
254
+ "gpt_neox.layers.23.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
255
+ "gpt_neox.layers.23.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
256
+ "gpt_neox.layers.23.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
257
+ "gpt_neox.layers.23.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
258
+ "gpt_neox.layers.23.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
259
+ "gpt_neox.layers.23.mlp.dense_4h_to_h.bias": "pytorch_model-00002-of-00002.bin",
260
+ "gpt_neox.layers.23.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00002.bin",
261
+ "gpt_neox.layers.23.mlp.dense_h_to_4h.bias": "pytorch_model-00002-of-00002.bin",
262
+ "gpt_neox.layers.23.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00002.bin",
263
+ "gpt_neox.layers.23.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
264
+ "gpt_neox.layers.23.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
265
+ "gpt_neox.layers.24.attention.bias": "pytorch_model-00002-of-00002.bin",
266
+ "gpt_neox.layers.24.attention.dense.bias": "pytorch_model-00002-of-00002.bin",
267
+ "gpt_neox.layers.24.attention.dense.weight": "pytorch_model-00002-of-00002.bin",
268
+ "gpt_neox.layers.24.attention.masked_bias": "pytorch_model-00002-of-00002.bin",
269
+ "gpt_neox.layers.24.attention.query_key_value.bias": "pytorch_model-00002-of-00002.bin",
270
+ "gpt_neox.layers.24.attention.query_key_value.weight": "pytorch_model-00002-of-00002.bin",
271
+ "gpt_neox.layers.24.attention.rotary_emb.inv_freq": "pytorch_model-00002-of-00002.bin",
272
+ "gpt_neox.layers.24.input_layernorm.bias": "pytorch_model-00002-of-00002.bin",
273
+ "gpt_neox.layers.24.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
274
+ "gpt_neox.layers.24.mlp.dense_4h_to_h.bias": "pytorch_model-00002-of-00002.bin",
275
+ "gpt_neox.layers.24.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00002.bin",
276
+ "gpt_neox.layers.24.mlp.dense_h_to_4h.bias": "pytorch_model-00002-of-00002.bin",
277
+ "gpt_neox.layers.24.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00002.bin",
278
+ "gpt_neox.layers.24.post_attention_layernorm.bias": "pytorch_model-00002-of-00002.bin",
279
+ "gpt_neox.layers.24.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
280
+ "gpt_neox.layers.25.attention.bias": "pytorch_model-00002-of-00002.bin",
281
+ "gpt_neox.layers.25.attention.dense.bias": "pytorch_model-00002-of-00002.bin",
282
+ "gpt_neox.layers.25.attention.dense.weight": "pytorch_model-00002-of-00002.bin",
283
+ "gpt_neox.layers.25.attention.masked_bias": "pytorch_model-00002-of-00002.bin",
284
+ "gpt_neox.layers.25.attention.query_key_value.bias": "pytorch_model-00002-of-00002.bin",
285
+ "gpt_neox.layers.25.attention.query_key_value.weight": "pytorch_model-00002-of-00002.bin",
286
+ "gpt_neox.layers.25.attention.rotary_emb.inv_freq": "pytorch_model-00002-of-00002.bin",
287
+ "gpt_neox.layers.25.input_layernorm.bias": "pytorch_model-00002-of-00002.bin",
288
+ "gpt_neox.layers.25.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
289
+ "gpt_neox.layers.25.mlp.dense_4h_to_h.bias": "pytorch_model-00002-of-00002.bin",
290
+ "gpt_neox.layers.25.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00002.bin",
291
+ "gpt_neox.layers.25.mlp.dense_h_to_4h.bias": "pytorch_model-00002-of-00002.bin",
292
+ "gpt_neox.layers.25.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00002.bin",
293
+ "gpt_neox.layers.25.post_attention_layernorm.bias": "pytorch_model-00002-of-00002.bin",
294
+ "gpt_neox.layers.25.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
295
+ "gpt_neox.layers.26.attention.bias": "pytorch_model-00002-of-00002.bin",
296
+ "gpt_neox.layers.26.attention.dense.bias": "pytorch_model-00002-of-00002.bin",
297
+ "gpt_neox.layers.26.attention.dense.weight": "pytorch_model-00002-of-00002.bin",
298
+ "gpt_neox.layers.26.attention.masked_bias": "pytorch_model-00002-of-00002.bin",
299
+ "gpt_neox.layers.26.attention.query_key_value.bias": "pytorch_model-00002-of-00002.bin",
300
+ "gpt_neox.layers.26.attention.query_key_value.weight": "pytorch_model-00002-of-00002.bin",
301
+ "gpt_neox.layers.26.attention.rotary_emb.inv_freq": "pytorch_model-00002-of-00002.bin",
302
+ "gpt_neox.layers.26.input_layernorm.bias": "pytorch_model-00002-of-00002.bin",
303
+ "gpt_neox.layers.26.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
304
+ "gpt_neox.layers.26.mlp.dense_4h_to_h.bias": "pytorch_model-00002-of-00002.bin",
305
+ "gpt_neox.layers.26.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00002.bin",
306
+ "gpt_neox.layers.26.mlp.dense_h_to_4h.bias": "pytorch_model-00002-of-00002.bin",
307
+ "gpt_neox.layers.26.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00002.bin",
308
+ "gpt_neox.layers.26.post_attention_layernorm.bias": "pytorch_model-00002-of-00002.bin",
309
+ "gpt_neox.layers.26.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
310
+ "gpt_neox.layers.27.attention.bias": "pytorch_model-00002-of-00002.bin",
311
+ "gpt_neox.layers.27.attention.dense.bias": "pytorch_model-00002-of-00002.bin",
312
+ "gpt_neox.layers.27.attention.dense.weight": "pytorch_model-00002-of-00002.bin",
313
+ "gpt_neox.layers.27.attention.masked_bias": "pytorch_model-00002-of-00002.bin",
314
+ "gpt_neox.layers.27.attention.query_key_value.bias": "pytorch_model-00002-of-00002.bin",
315
+ "gpt_neox.layers.27.attention.query_key_value.weight": "pytorch_model-00002-of-00002.bin",
316
+ "gpt_neox.layers.27.attention.rotary_emb.inv_freq": "pytorch_model-00002-of-00002.bin",
317
+ "gpt_neox.layers.27.input_layernorm.bias": "pytorch_model-00002-of-00002.bin",
318
+ "gpt_neox.layers.27.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
319
+ "gpt_neox.layers.27.mlp.dense_4h_to_h.bias": "pytorch_model-00002-of-00002.bin",
320
+ "gpt_neox.layers.27.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00002.bin",
321
+ "gpt_neox.layers.27.mlp.dense_h_to_4h.bias": "pytorch_model-00002-of-00002.bin",
322
+ "gpt_neox.layers.27.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00002.bin",
323
+ "gpt_neox.layers.27.post_attention_layernorm.bias": "pytorch_model-00002-of-00002.bin",
324
+ "gpt_neox.layers.27.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
325
+ "gpt_neox.layers.28.attention.bias": "pytorch_model-00002-of-00002.bin",
326
+ "gpt_neox.layers.28.attention.dense.bias": "pytorch_model-00002-of-00002.bin",
327
+ "gpt_neox.layers.28.attention.dense.weight": "pytorch_model-00002-of-00002.bin",
328
+ "gpt_neox.layers.28.attention.masked_bias": "pytorch_model-00002-of-00002.bin",
329
+ "gpt_neox.layers.28.attention.query_key_value.bias": "pytorch_model-00002-of-00002.bin",
330
+ "gpt_neox.layers.28.attention.query_key_value.weight": "pytorch_model-00002-of-00002.bin",
331
+ "gpt_neox.layers.28.attention.rotary_emb.inv_freq": "pytorch_model-00002-of-00002.bin",
332
+ "gpt_neox.layers.28.input_layernorm.bias": "pytorch_model-00002-of-00002.bin",
333
+ "gpt_neox.layers.28.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
334
+ "gpt_neox.layers.28.mlp.dense_4h_to_h.bias": "pytorch_model-00002-of-00002.bin",
335
+ "gpt_neox.layers.28.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00002.bin",
336
+ "gpt_neox.layers.28.mlp.dense_h_to_4h.bias": "pytorch_model-00002-of-00002.bin",
337
+ "gpt_neox.layers.28.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00002.bin",
338
+ "gpt_neox.layers.28.post_attention_layernorm.bias": "pytorch_model-00002-of-00002.bin",
339
+ "gpt_neox.layers.28.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
340
+ "gpt_neox.layers.29.attention.bias": "pytorch_model-00002-of-00002.bin",
341
+ "gpt_neox.layers.29.attention.dense.bias": "pytorch_model-00002-of-00002.bin",
342
+ "gpt_neox.layers.29.attention.dense.weight": "pytorch_model-00002-of-00002.bin",
343
+ "gpt_neox.layers.29.attention.masked_bias": "pytorch_model-00002-of-00002.bin",
344
+ "gpt_neox.layers.29.attention.query_key_value.bias": "pytorch_model-00002-of-00002.bin",
345
+ "gpt_neox.layers.29.attention.query_key_value.weight": "pytorch_model-00002-of-00002.bin",
346
+ "gpt_neox.layers.29.attention.rotary_emb.inv_freq": "pytorch_model-00002-of-00002.bin",
347
+ "gpt_neox.layers.29.input_layernorm.bias": "pytorch_model-00002-of-00002.bin",
348
+ "gpt_neox.layers.29.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
349
+ "gpt_neox.layers.29.mlp.dense_4h_to_h.bias": "pytorch_model-00002-of-00002.bin",
350
+ "gpt_neox.layers.29.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00002.bin",
351
+ "gpt_neox.layers.29.mlp.dense_h_to_4h.bias": "pytorch_model-00002-of-00002.bin",
352
+ "gpt_neox.layers.29.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00002.bin",
353
+ "gpt_neox.layers.29.post_attention_layernorm.bias": "pytorch_model-00002-of-00002.bin",
354
+ "gpt_neox.layers.29.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
355
+ "gpt_neox.layers.3.attention.bias": "pytorch_model-00001-of-00002.bin",
356
+ "gpt_neox.layers.3.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
357
+ "gpt_neox.layers.3.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
358
+ "gpt_neox.layers.3.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
359
+ "gpt_neox.layers.3.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
360
+ "gpt_neox.layers.3.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
361
+ "gpt_neox.layers.3.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
362
+ "gpt_neox.layers.3.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
363
+ "gpt_neox.layers.3.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
364
+ "gpt_neox.layers.3.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
365
+ "gpt_neox.layers.3.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
366
+ "gpt_neox.layers.3.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
367
+ "gpt_neox.layers.3.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
368
+ "gpt_neox.layers.3.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
369
+ "gpt_neox.layers.3.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
370
+ "gpt_neox.layers.30.attention.bias": "pytorch_model-00002-of-00002.bin",
371
+ "gpt_neox.layers.30.attention.dense.bias": "pytorch_model-00002-of-00002.bin",
372
+ "gpt_neox.layers.30.attention.dense.weight": "pytorch_model-00002-of-00002.bin",
373
+ "gpt_neox.layers.30.attention.masked_bias": "pytorch_model-00002-of-00002.bin",
374
+ "gpt_neox.layers.30.attention.query_key_value.bias": "pytorch_model-00002-of-00002.bin",
375
+ "gpt_neox.layers.30.attention.query_key_value.weight": "pytorch_model-00002-of-00002.bin",
376
+ "gpt_neox.layers.30.attention.rotary_emb.inv_freq": "pytorch_model-00002-of-00002.bin",
377
+ "gpt_neox.layers.30.input_layernorm.bias": "pytorch_model-00002-of-00002.bin",
378
+ "gpt_neox.layers.30.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
379
+ "gpt_neox.layers.30.mlp.dense_4h_to_h.bias": "pytorch_model-00002-of-00002.bin",
380
+ "gpt_neox.layers.30.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00002.bin",
381
+ "gpt_neox.layers.30.mlp.dense_h_to_4h.bias": "pytorch_model-00002-of-00002.bin",
382
+ "gpt_neox.layers.30.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00002.bin",
383
+ "gpt_neox.layers.30.post_attention_layernorm.bias": "pytorch_model-00002-of-00002.bin",
384
+ "gpt_neox.layers.30.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
385
+ "gpt_neox.layers.31.attention.bias": "pytorch_model-00002-of-00002.bin",
386
+ "gpt_neox.layers.31.attention.dense.bias": "pytorch_model-00002-of-00002.bin",
387
+ "gpt_neox.layers.31.attention.dense.weight": "pytorch_model-00002-of-00002.bin",
388
+ "gpt_neox.layers.31.attention.masked_bias": "pytorch_model-00002-of-00002.bin",
389
+ "gpt_neox.layers.31.attention.query_key_value.bias": "pytorch_model-00002-of-00002.bin",
390
+ "gpt_neox.layers.31.attention.query_key_value.weight": "pytorch_model-00002-of-00002.bin",
391
+ "gpt_neox.layers.31.attention.rotary_emb.inv_freq": "pytorch_model-00002-of-00002.bin",
392
+ "gpt_neox.layers.31.input_layernorm.bias": "pytorch_model-00002-of-00002.bin",
393
+ "gpt_neox.layers.31.input_layernorm.weight": "pytorch_model-00002-of-00002.bin",
394
+ "gpt_neox.layers.31.mlp.dense_4h_to_h.bias": "pytorch_model-00002-of-00002.bin",
395
+ "gpt_neox.layers.31.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00002.bin",
396
+ "gpt_neox.layers.31.mlp.dense_h_to_4h.bias": "pytorch_model-00002-of-00002.bin",
397
+ "gpt_neox.layers.31.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00002.bin",
398
+ "gpt_neox.layers.31.post_attention_layernorm.bias": "pytorch_model-00002-of-00002.bin",
399
+ "gpt_neox.layers.31.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin",
400
+ "gpt_neox.layers.4.attention.bias": "pytorch_model-00001-of-00002.bin",
401
+ "gpt_neox.layers.4.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
402
+ "gpt_neox.layers.4.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
403
+ "gpt_neox.layers.4.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
404
+ "gpt_neox.layers.4.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
405
+ "gpt_neox.layers.4.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
406
+ "gpt_neox.layers.4.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
407
+ "gpt_neox.layers.4.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
408
+ "gpt_neox.layers.4.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
409
+ "gpt_neox.layers.4.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
410
+ "gpt_neox.layers.4.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
411
+ "gpt_neox.layers.4.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
412
+ "gpt_neox.layers.4.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
413
+ "gpt_neox.layers.4.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
414
+ "gpt_neox.layers.4.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
415
+ "gpt_neox.layers.5.attention.bias": "pytorch_model-00001-of-00002.bin",
416
+ "gpt_neox.layers.5.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
417
+ "gpt_neox.layers.5.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
418
+ "gpt_neox.layers.5.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
419
+ "gpt_neox.layers.5.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
420
+ "gpt_neox.layers.5.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
421
+ "gpt_neox.layers.5.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
422
+ "gpt_neox.layers.5.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
423
+ "gpt_neox.layers.5.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
424
+ "gpt_neox.layers.5.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
425
+ "gpt_neox.layers.5.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
426
+ "gpt_neox.layers.5.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
427
+ "gpt_neox.layers.5.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
428
+ "gpt_neox.layers.5.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
429
+ "gpt_neox.layers.5.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
430
+ "gpt_neox.layers.6.attention.bias": "pytorch_model-00001-of-00002.bin",
431
+ "gpt_neox.layers.6.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
432
+ "gpt_neox.layers.6.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
433
+ "gpt_neox.layers.6.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
434
+ "gpt_neox.layers.6.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
435
+ "gpt_neox.layers.6.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
436
+ "gpt_neox.layers.6.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
437
+ "gpt_neox.layers.6.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
438
+ "gpt_neox.layers.6.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
439
+ "gpt_neox.layers.6.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
440
+ "gpt_neox.layers.6.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
441
+ "gpt_neox.layers.6.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
442
+ "gpt_neox.layers.6.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
443
+ "gpt_neox.layers.6.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
444
+ "gpt_neox.layers.6.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
445
+ "gpt_neox.layers.7.attention.bias": "pytorch_model-00001-of-00002.bin",
446
+ "gpt_neox.layers.7.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
447
+ "gpt_neox.layers.7.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
448
+ "gpt_neox.layers.7.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
449
+ "gpt_neox.layers.7.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
450
+ "gpt_neox.layers.7.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
451
+ "gpt_neox.layers.7.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
452
+ "gpt_neox.layers.7.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
453
+ "gpt_neox.layers.7.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
454
+ "gpt_neox.layers.7.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
455
+ "gpt_neox.layers.7.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
456
+ "gpt_neox.layers.7.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
457
+ "gpt_neox.layers.7.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
458
+ "gpt_neox.layers.7.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
459
+ "gpt_neox.layers.7.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
460
+ "gpt_neox.layers.8.attention.bias": "pytorch_model-00001-of-00002.bin",
461
+ "gpt_neox.layers.8.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
462
+ "gpt_neox.layers.8.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
463
+ "gpt_neox.layers.8.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
464
+ "gpt_neox.layers.8.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
465
+ "gpt_neox.layers.8.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
466
+ "gpt_neox.layers.8.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
467
+ "gpt_neox.layers.8.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
468
+ "gpt_neox.layers.8.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
469
+ "gpt_neox.layers.8.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
470
+ "gpt_neox.layers.8.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
471
+ "gpt_neox.layers.8.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
472
+ "gpt_neox.layers.8.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
473
+ "gpt_neox.layers.8.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
474
+ "gpt_neox.layers.8.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin",
475
+ "gpt_neox.layers.9.attention.bias": "pytorch_model-00001-of-00002.bin",
476
+ "gpt_neox.layers.9.attention.dense.bias": "pytorch_model-00001-of-00002.bin",
477
+ "gpt_neox.layers.9.attention.dense.weight": "pytorch_model-00001-of-00002.bin",
478
+ "gpt_neox.layers.9.attention.masked_bias": "pytorch_model-00001-of-00002.bin",
479
+ "gpt_neox.layers.9.attention.query_key_value.bias": "pytorch_model-00001-of-00002.bin",
480
+ "gpt_neox.layers.9.attention.query_key_value.weight": "pytorch_model-00001-of-00002.bin",
481
+ "gpt_neox.layers.9.attention.rotary_emb.inv_freq": "pytorch_model-00001-of-00002.bin",
482
+ "gpt_neox.layers.9.input_layernorm.bias": "pytorch_model-00001-of-00002.bin",
483
+ "gpt_neox.layers.9.input_layernorm.weight": "pytorch_model-00001-of-00002.bin",
484
+ "gpt_neox.layers.9.mlp.dense_4h_to_h.bias": "pytorch_model-00001-of-00002.bin",
485
+ "gpt_neox.layers.9.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00002.bin",
486
+ "gpt_neox.layers.9.mlp.dense_h_to_4h.bias": "pytorch_model-00001-of-00002.bin",
487
+ "gpt_neox.layers.9.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00002.bin",
488
+ "gpt_neox.layers.9.post_attention_layernorm.bias": "pytorch_model-00001-of-00002.bin",
489
+ "gpt_neox.layers.9.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin"
490
+ }
491
+ }
rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a961c7aa8293531040f379f129f1930093670f11c91d3736bf6d8518af2b1507
3
+ size 14583
rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbc4475e8615a434844642d2b6db8c82a3eb4d1532c0358142650af35982f7d4
3
+ size 14583
rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:881eb4ea22a97cf8b6f92b147ff4c6e2ae57dcc7e36f52b570b5be3eeb7887b6
3
+ size 14583
rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b494daea51340989a686bc325649dfd2d62f65af56b0d25143e33790c8a957a
3
+ size 14583
rng_state_4.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a88b3a9b9d34f9c56a628c06043f3d84338d75c0f6730bf31d21d05f60a24e7
3
+ size 14583
rng_state_5.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1556e939ee7eca3367a22108d1bd8653197711d2ab29b9fc7633bec21b96125
3
+ size 14583
rng_state_6.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86e9ed27d35f586c7ec30600373ad7abf89086510211847110cb4a979365cfa0
3
+ size 14583
rng_state_7.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1828f5f1b78bdfd59c65a849162815831fbce941a063f6c4056e93648685a2ec
3
+ size 14583
trainer_state.json ADDED
@@ -0,0 +1,876 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "global_step": 14299,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.01,
12
+ "learning_rate": 4.744067728226103e-05,
13
+ "loss": 2.2624,
14
+ "step": 100
15
+ },
16
+ {
17
+ "epoch": 0.01,
18
+ "learning_rate": 5e-05,
19
+ "loss": 1.6195,
20
+ "step": 200
21
+ },
22
+ {
23
+ "epoch": 0.02,
24
+ "learning_rate": 5e-05,
25
+ "loss": 1.5902,
26
+ "step": 300
27
+ },
28
+ {
29
+ "epoch": 0.03,
30
+ "learning_rate": 5e-05,
31
+ "loss": 1.5743,
32
+ "step": 400
33
+ },
34
+ {
35
+ "epoch": 0.03,
36
+ "learning_rate": 5e-05,
37
+ "loss": 1.6174,
38
+ "step": 500
39
+ },
40
+ {
41
+ "epoch": 0.04,
42
+ "learning_rate": 5e-05,
43
+ "loss": 1.5901,
44
+ "step": 600
45
+ },
46
+ {
47
+ "epoch": 0.05,
48
+ "learning_rate": 5e-05,
49
+ "loss": 1.6239,
50
+ "step": 700
51
+ },
52
+ {
53
+ "epoch": 0.06,
54
+ "learning_rate": 5e-05,
55
+ "loss": 1.5941,
56
+ "step": 800
57
+ },
58
+ {
59
+ "epoch": 0.06,
60
+ "learning_rate": 5e-05,
61
+ "loss": 1.5958,
62
+ "step": 900
63
+ },
64
+ {
65
+ "epoch": 0.07,
66
+ "learning_rate": 5e-05,
67
+ "loss": 1.6153,
68
+ "step": 1000
69
+ },
70
+ {
71
+ "epoch": 0.08,
72
+ "learning_rate": 5e-05,
73
+ "loss": 1.6057,
74
+ "step": 1100
75
+ },
76
+ {
77
+ "epoch": 0.08,
78
+ "learning_rate": 5e-05,
79
+ "loss": 1.5912,
80
+ "step": 1200
81
+ },
82
+ {
83
+ "epoch": 0.09,
84
+ "learning_rate": 5e-05,
85
+ "loss": 1.5743,
86
+ "step": 1300
87
+ },
88
+ {
89
+ "epoch": 0.1,
90
+ "learning_rate": 5e-05,
91
+ "loss": 1.5914,
92
+ "step": 1400
93
+ },
94
+ {
95
+ "epoch": 0.1,
96
+ "learning_rate": 5e-05,
97
+ "loss": 1.5982,
98
+ "step": 1500
99
+ },
100
+ {
101
+ "epoch": 0.11,
102
+ "learning_rate": 5e-05,
103
+ "loss": 1.6243,
104
+ "step": 1600
105
+ },
106
+ {
107
+ "epoch": 0.12,
108
+ "learning_rate": 5e-05,
109
+ "loss": 1.5919,
110
+ "step": 1700
111
+ },
112
+ {
113
+ "epoch": 0.13,
114
+ "learning_rate": 5e-05,
115
+ "loss": 1.6657,
116
+ "step": 1800
117
+ },
118
+ {
119
+ "epoch": 0.13,
120
+ "learning_rate": 5e-05,
121
+ "loss": 1.5617,
122
+ "step": 1900
123
+ },
124
+ {
125
+ "epoch": 0.14,
126
+ "learning_rate": 5e-05,
127
+ "loss": 1.6119,
128
+ "step": 2000
129
+ },
130
+ {
131
+ "epoch": 0.15,
132
+ "learning_rate": 5e-05,
133
+ "loss": 1.6065,
134
+ "step": 2100
135
+ },
136
+ {
137
+ "epoch": 0.15,
138
+ "learning_rate": 5e-05,
139
+ "loss": 1.6083,
140
+ "step": 2200
141
+ },
142
+ {
143
+ "epoch": 0.16,
144
+ "learning_rate": 5e-05,
145
+ "loss": 1.5941,
146
+ "step": 2300
147
+ },
148
+ {
149
+ "epoch": 0.17,
150
+ "learning_rate": 5e-05,
151
+ "loss": 1.5984,
152
+ "step": 2400
153
+ },
154
+ {
155
+ "epoch": 0.17,
156
+ "learning_rate": 5e-05,
157
+ "loss": 1.6146,
158
+ "step": 2500
159
+ },
160
+ {
161
+ "epoch": 0.18,
162
+ "learning_rate": 5e-05,
163
+ "loss": 1.5795,
164
+ "step": 2600
165
+ },
166
+ {
167
+ "epoch": 0.19,
168
+ "learning_rate": 5e-05,
169
+ "loss": 1.6075,
170
+ "step": 2700
171
+ },
172
+ {
173
+ "epoch": 0.2,
174
+ "learning_rate": 5e-05,
175
+ "loss": 1.5891,
176
+ "step": 2800
177
+ },
178
+ {
179
+ "epoch": 0.2,
180
+ "learning_rate": 5e-05,
181
+ "loss": 1.6145,
182
+ "step": 2900
183
+ },
184
+ {
185
+ "epoch": 0.21,
186
+ "learning_rate": 5e-05,
187
+ "loss": 1.6148,
188
+ "step": 3000
189
+ },
190
+ {
191
+ "epoch": 0.22,
192
+ "learning_rate": 5e-05,
193
+ "loss": 1.5933,
194
+ "step": 3100
195
+ },
196
+ {
197
+ "epoch": 0.22,
198
+ "learning_rate": 5e-05,
199
+ "loss": 1.5984,
200
+ "step": 3200
201
+ },
202
+ {
203
+ "epoch": 0.23,
204
+ "learning_rate": 5e-05,
205
+ "loss": 1.5871,
206
+ "step": 3300
207
+ },
208
+ {
209
+ "epoch": 0.24,
210
+ "learning_rate": 5e-05,
211
+ "loss": 1.5893,
212
+ "step": 3400
213
+ },
214
+ {
215
+ "epoch": 0.24,
216
+ "learning_rate": 5e-05,
217
+ "loss": 1.6136,
218
+ "step": 3500
219
+ },
220
+ {
221
+ "epoch": 0.25,
222
+ "learning_rate": 5e-05,
223
+ "loss": 1.5723,
224
+ "step": 3600
225
+ },
226
+ {
227
+ "epoch": 0.26,
228
+ "learning_rate": 5e-05,
229
+ "loss": 1.5873,
230
+ "step": 3700
231
+ },
232
+ {
233
+ "epoch": 0.27,
234
+ "learning_rate": 5e-05,
235
+ "loss": 1.5868,
236
+ "step": 3800
237
+ },
238
+ {
239
+ "epoch": 0.27,
240
+ "learning_rate": 5e-05,
241
+ "loss": 1.6131,
242
+ "step": 3900
243
+ },
244
+ {
245
+ "epoch": 0.28,
246
+ "learning_rate": 5e-05,
247
+ "loss": 1.5685,
248
+ "step": 4000
249
+ },
250
+ {
251
+ "epoch": 0.29,
252
+ "learning_rate": 5e-05,
253
+ "loss": 1.6014,
254
+ "step": 4100
255
+ },
256
+ {
257
+ "epoch": 0.29,
258
+ "learning_rate": 5e-05,
259
+ "loss": 1.5402,
260
+ "step": 4200
261
+ },
262
+ {
263
+ "epoch": 0.3,
264
+ "learning_rate": 5e-05,
265
+ "loss": 1.577,
266
+ "step": 4300
267
+ },
268
+ {
269
+ "epoch": 0.31,
270
+ "learning_rate": 5e-05,
271
+ "loss": 1.5723,
272
+ "step": 4400
273
+ },
274
+ {
275
+ "epoch": 0.31,
276
+ "learning_rate": 5e-05,
277
+ "loss": 1.5432,
278
+ "step": 4500
279
+ },
280
+ {
281
+ "epoch": 0.32,
282
+ "learning_rate": 5e-05,
283
+ "loss": 1.5987,
284
+ "step": 4600
285
+ },
286
+ {
287
+ "epoch": 0.33,
288
+ "learning_rate": 5e-05,
289
+ "loss": 1.6015,
290
+ "step": 4700
291
+ },
292
+ {
293
+ "epoch": 0.34,
294
+ "learning_rate": 5e-05,
295
+ "loss": 1.5848,
296
+ "step": 4800
297
+ },
298
+ {
299
+ "epoch": 0.34,
300
+ "learning_rate": 5e-05,
301
+ "loss": 1.547,
302
+ "step": 4900
303
+ },
304
+ {
305
+ "epoch": 0.35,
306
+ "learning_rate": 5e-05,
307
+ "loss": 1.563,
308
+ "step": 5000
309
+ },
310
+ {
311
+ "epoch": 0.36,
312
+ "learning_rate": 5e-05,
313
+ "loss": 1.571,
314
+ "step": 5100
315
+ },
316
+ {
317
+ "epoch": 0.36,
318
+ "learning_rate": 5e-05,
319
+ "loss": 1.5562,
320
+ "step": 5200
321
+ },
322
+ {
323
+ "epoch": 0.37,
324
+ "learning_rate": 5e-05,
325
+ "loss": 1.5762,
326
+ "step": 5300
327
+ },
328
+ {
329
+ "epoch": 0.38,
330
+ "learning_rate": 5e-05,
331
+ "loss": 1.5837,
332
+ "step": 5400
333
+ },
334
+ {
335
+ "epoch": 0.38,
336
+ "learning_rate": 5e-05,
337
+ "loss": 1.5926,
338
+ "step": 5500
339
+ },
340
+ {
341
+ "epoch": 0.39,
342
+ "learning_rate": 5e-05,
343
+ "loss": 1.5939,
344
+ "step": 5600
345
+ },
346
+ {
347
+ "epoch": 0.4,
348
+ "learning_rate": 5e-05,
349
+ "loss": 1.5689,
350
+ "step": 5700
351
+ },
352
+ {
353
+ "epoch": 0.41,
354
+ "learning_rate": 5e-05,
355
+ "loss": 1.5701,
356
+ "step": 5800
357
+ },
358
+ {
359
+ "epoch": 0.41,
360
+ "learning_rate": 5e-05,
361
+ "loss": 1.5744,
362
+ "step": 5900
363
+ },
364
+ {
365
+ "epoch": 0.42,
366
+ "learning_rate": 5e-05,
367
+ "loss": 1.5617,
368
+ "step": 6000
369
+ },
370
+ {
371
+ "epoch": 0.43,
372
+ "learning_rate": 5e-05,
373
+ "loss": 1.594,
374
+ "step": 6100
375
+ },
376
+ {
377
+ "epoch": 0.43,
378
+ "learning_rate": 5e-05,
379
+ "loss": 1.5909,
380
+ "step": 6200
381
+ },
382
+ {
383
+ "epoch": 0.44,
384
+ "learning_rate": 5e-05,
385
+ "loss": 1.544,
386
+ "step": 6300
387
+ },
388
+ {
389
+ "epoch": 0.45,
390
+ "learning_rate": 5e-05,
391
+ "loss": 1.5568,
392
+ "step": 6400
393
+ },
394
+ {
395
+ "epoch": 0.45,
396
+ "learning_rate": 5e-05,
397
+ "loss": 1.5536,
398
+ "step": 6500
399
+ },
400
+ {
401
+ "epoch": 0.46,
402
+ "learning_rate": 5e-05,
403
+ "loss": 1.5356,
404
+ "step": 6600
405
+ },
406
+ {
407
+ "epoch": 0.47,
408
+ "learning_rate": 5e-05,
409
+ "loss": 1.5098,
410
+ "step": 6700
411
+ },
412
+ {
413
+ "epoch": 0.48,
414
+ "learning_rate": 5e-05,
415
+ "loss": 1.5231,
416
+ "step": 6800
417
+ },
418
+ {
419
+ "epoch": 0.48,
420
+ "learning_rate": 5e-05,
421
+ "loss": 1.5658,
422
+ "step": 6900
423
+ },
424
+ {
425
+ "epoch": 0.49,
426
+ "learning_rate": 5e-05,
427
+ "loss": 1.5379,
428
+ "step": 7000
429
+ },
430
+ {
431
+ "epoch": 0.5,
432
+ "learning_rate": 5e-05,
433
+ "loss": 1.5326,
434
+ "step": 7100
435
+ },
436
+ {
437
+ "epoch": 0.5,
438
+ "learning_rate": 5e-05,
439
+ "loss": 1.5385,
440
+ "step": 7200
441
+ },
442
+ {
443
+ "epoch": 0.51,
444
+ "learning_rate": 5e-05,
445
+ "loss": 1.5492,
446
+ "step": 7300
447
+ },
448
+ {
449
+ "epoch": 0.52,
450
+ "learning_rate": 5e-05,
451
+ "loss": 1.5566,
452
+ "step": 7400
453
+ },
454
+ {
455
+ "epoch": 0.52,
456
+ "learning_rate": 5e-05,
457
+ "loss": 1.5182,
458
+ "step": 7500
459
+ },
460
+ {
461
+ "epoch": 0.53,
462
+ "learning_rate": 5e-05,
463
+ "loss": 1.542,
464
+ "step": 7600
465
+ },
466
+ {
467
+ "epoch": 0.54,
468
+ "learning_rate": 5e-05,
469
+ "loss": 1.5348,
470
+ "step": 7700
471
+ },
472
+ {
473
+ "epoch": 0.55,
474
+ "learning_rate": 5e-05,
475
+ "loss": 1.541,
476
+ "step": 7800
477
+ },
478
+ {
479
+ "epoch": 0.55,
480
+ "learning_rate": 5e-05,
481
+ "loss": 1.545,
482
+ "step": 7900
483
+ },
484
+ {
485
+ "epoch": 0.56,
486
+ "learning_rate": 5e-05,
487
+ "loss": 1.5045,
488
+ "step": 8000
489
+ },
490
+ {
491
+ "epoch": 0.57,
492
+ "learning_rate": 5e-05,
493
+ "loss": 1.4969,
494
+ "step": 8100
495
+ },
496
+ {
497
+ "epoch": 0.57,
498
+ "learning_rate": 5e-05,
499
+ "loss": 1.517,
500
+ "step": 8200
501
+ },
502
+ {
503
+ "epoch": 0.58,
504
+ "learning_rate": 5e-05,
505
+ "loss": 1.5262,
506
+ "step": 8300
507
+ },
508
+ {
509
+ "epoch": 0.59,
510
+ "learning_rate": 5e-05,
511
+ "loss": 1.5164,
512
+ "step": 8400
513
+ },
514
+ {
515
+ "epoch": 0.59,
516
+ "learning_rate": 5e-05,
517
+ "loss": 1.5557,
518
+ "step": 8500
519
+ },
520
+ {
521
+ "epoch": 0.6,
522
+ "learning_rate": 5e-05,
523
+ "loss": 1.5422,
524
+ "step": 8600
525
+ },
526
+ {
527
+ "epoch": 0.61,
528
+ "learning_rate": 5e-05,
529
+ "loss": 1.5283,
530
+ "step": 8700
531
+ },
532
+ {
533
+ "epoch": 0.62,
534
+ "learning_rate": 5e-05,
535
+ "loss": 1.5218,
536
+ "step": 8800
537
+ },
538
+ {
539
+ "epoch": 0.62,
540
+ "learning_rate": 5e-05,
541
+ "loss": 1.5142,
542
+ "step": 8900
543
+ },
544
+ {
545
+ "epoch": 0.63,
546
+ "learning_rate": 5e-05,
547
+ "loss": 1.5171,
548
+ "step": 9000
549
+ },
550
+ {
551
+ "epoch": 0.64,
552
+ "learning_rate": 5e-05,
553
+ "loss": 1.517,
554
+ "step": 9100
555
+ },
556
+ {
557
+ "epoch": 0.64,
558
+ "learning_rate": 5e-05,
559
+ "loss": 1.529,
560
+ "step": 9200
561
+ },
562
+ {
563
+ "epoch": 0.65,
564
+ "learning_rate": 5e-05,
565
+ "loss": 1.5035,
566
+ "step": 9300
567
+ },
568
+ {
569
+ "epoch": 0.66,
570
+ "learning_rate": 5e-05,
571
+ "loss": 1.5116,
572
+ "step": 9400
573
+ },
574
+ {
575
+ "epoch": 0.66,
576
+ "learning_rate": 5e-05,
577
+ "loss": 1.5186,
578
+ "step": 9500
579
+ },
580
+ {
581
+ "epoch": 0.67,
582
+ "learning_rate": 5e-05,
583
+ "loss": 1.4911,
584
+ "step": 9600
585
+ },
586
+ {
587
+ "epoch": 0.68,
588
+ "learning_rate": 5e-05,
589
+ "loss": 1.4649,
590
+ "step": 9700
591
+ },
592
+ {
593
+ "epoch": 0.69,
594
+ "learning_rate": 5e-05,
595
+ "loss": 1.4844,
596
+ "step": 9800
597
+ },
598
+ {
599
+ "epoch": 0.69,
600
+ "learning_rate": 5e-05,
601
+ "loss": 1.5288,
602
+ "step": 9900
603
+ },
604
+ {
605
+ "epoch": 0.7,
606
+ "learning_rate": 5e-05,
607
+ "loss": 1.4952,
608
+ "step": 10000
609
+ },
610
+ {
611
+ "epoch": 0.71,
612
+ "learning_rate": 5e-05,
613
+ "loss": 1.4732,
614
+ "step": 10100
615
+ },
616
+ {
617
+ "epoch": 0.71,
618
+ "learning_rate": 5e-05,
619
+ "loss": 1.5338,
620
+ "step": 10200
621
+ },
622
+ {
623
+ "epoch": 0.72,
624
+ "learning_rate": 5e-05,
625
+ "loss": 1.4655,
626
+ "step": 10300
627
+ },
628
+ {
629
+ "epoch": 0.73,
630
+ "learning_rate": 5e-05,
631
+ "loss": 1.4582,
632
+ "step": 10400
633
+ },
634
+ {
635
+ "epoch": 0.73,
636
+ "learning_rate": 5e-05,
637
+ "loss": 1.4788,
638
+ "step": 10500
639
+ },
640
+ {
641
+ "epoch": 0.74,
642
+ "learning_rate": 5e-05,
643
+ "loss": 1.4891,
644
+ "step": 10600
645
+ },
646
+ {
647
+ "epoch": 0.75,
648
+ "learning_rate": 5e-05,
649
+ "loss": 1.5126,
650
+ "step": 10700
651
+ },
652
+ {
653
+ "epoch": 0.76,
654
+ "learning_rate": 5e-05,
655
+ "loss": 1.5224,
656
+ "step": 10800
657
+ },
658
+ {
659
+ "epoch": 0.76,
660
+ "learning_rate": 5e-05,
661
+ "loss": 1.4811,
662
+ "step": 10900
663
+ },
664
+ {
665
+ "epoch": 0.77,
666
+ "learning_rate": 5e-05,
667
+ "loss": 1.4623,
668
+ "step": 11000
669
+ },
670
+ {
671
+ "epoch": 0.78,
672
+ "learning_rate": 5e-05,
673
+ "loss": 1.4655,
674
+ "step": 11100
675
+ },
676
+ {
677
+ "epoch": 0.78,
678
+ "learning_rate": 5e-05,
679
+ "loss": 1.4531,
680
+ "step": 11200
681
+ },
682
+ {
683
+ "epoch": 0.79,
684
+ "learning_rate": 5e-05,
685
+ "loss": 1.4616,
686
+ "step": 11300
687
+ },
688
+ {
689
+ "epoch": 0.8,
690
+ "learning_rate": 5e-05,
691
+ "loss": 1.4442,
692
+ "step": 11400
693
+ },
694
+ {
695
+ "epoch": 0.8,
696
+ "learning_rate": 5e-05,
697
+ "loss": 1.4889,
698
+ "step": 11500
699
+ },
700
+ {
701
+ "epoch": 0.81,
702
+ "learning_rate": 5e-05,
703
+ "loss": 1.5087,
704
+ "step": 11600
705
+ },
706
+ {
707
+ "epoch": 0.82,
708
+ "learning_rate": 5e-05,
709
+ "loss": 1.4804,
710
+ "step": 11700
711
+ },
712
+ {
713
+ "epoch": 0.83,
714
+ "learning_rate": 5e-05,
715
+ "loss": 1.4737,
716
+ "step": 11800
717
+ },
718
+ {
719
+ "epoch": 0.83,
720
+ "learning_rate": 5e-05,
721
+ "loss": 1.4591,
722
+ "step": 11900
723
+ },
724
+ {
725
+ "epoch": 0.84,
726
+ "learning_rate": 5e-05,
727
+ "loss": 1.4595,
728
+ "step": 12000
729
+ },
730
+ {
731
+ "epoch": 0.85,
732
+ "learning_rate": 5e-05,
733
+ "loss": 1.4909,
734
+ "step": 12100
735
+ },
736
+ {
737
+ "epoch": 0.85,
738
+ "learning_rate": 5e-05,
739
+ "loss": 1.4742,
740
+ "step": 12200
741
+ },
742
+ {
743
+ "epoch": 0.86,
744
+ "learning_rate": 5e-05,
745
+ "loss": 1.4383,
746
+ "step": 12300
747
+ },
748
+ {
749
+ "epoch": 0.87,
750
+ "learning_rate": 5e-05,
751
+ "loss": 1.4517,
752
+ "step": 12400
753
+ },
754
+ {
755
+ "epoch": 0.87,
756
+ "learning_rate": 5e-05,
757
+ "loss": 1.448,
758
+ "step": 12500
759
+ },
760
+ {
761
+ "epoch": 0.88,
762
+ "learning_rate": 5e-05,
763
+ "loss": 1.4438,
764
+ "step": 12600
765
+ },
766
+ {
767
+ "epoch": 0.89,
768
+ "learning_rate": 5e-05,
769
+ "loss": 1.4533,
770
+ "step": 12700
771
+ },
772
+ {
773
+ "epoch": 0.9,
774
+ "learning_rate": 5e-05,
775
+ "loss": 1.4606,
776
+ "step": 12800
777
+ },
778
+ {
779
+ "epoch": 0.9,
780
+ "learning_rate": 5e-05,
781
+ "loss": 1.4629,
782
+ "step": 12900
783
+ },
784
+ {
785
+ "epoch": 0.91,
786
+ "learning_rate": 5e-05,
787
+ "loss": 1.451,
788
+ "step": 13000
789
+ },
790
+ {
791
+ "epoch": 0.92,
792
+ "learning_rate": 5e-05,
793
+ "loss": 1.4366,
794
+ "step": 13100
795
+ },
796
+ {
797
+ "epoch": 0.92,
798
+ "learning_rate": 5e-05,
799
+ "loss": 1.459,
800
+ "step": 13200
801
+ },
802
+ {
803
+ "epoch": 0.93,
804
+ "learning_rate": 5e-05,
805
+ "loss": 1.4358,
806
+ "step": 13300
807
+ },
808
+ {
809
+ "epoch": 0.94,
810
+ "learning_rate": 5e-05,
811
+ "loss": 1.4735,
812
+ "step": 13400
813
+ },
814
+ {
815
+ "epoch": 0.94,
816
+ "learning_rate": 5e-05,
817
+ "loss": 1.4474,
818
+ "step": 13500
819
+ },
820
+ {
821
+ "epoch": 0.95,
822
+ "learning_rate": 5e-05,
823
+ "loss": 1.4368,
824
+ "step": 13600
825
+ },
826
+ {
827
+ "epoch": 0.96,
828
+ "learning_rate": 5e-05,
829
+ "loss": 1.4134,
830
+ "step": 13700
831
+ },
832
+ {
833
+ "epoch": 0.97,
834
+ "learning_rate": 5e-05,
835
+ "loss": 1.455,
836
+ "step": 13800
837
+ },
838
+ {
839
+ "epoch": 0.97,
840
+ "learning_rate": 5e-05,
841
+ "loss": 1.4479,
842
+ "step": 13900
843
+ },
844
+ {
845
+ "epoch": 0.98,
846
+ "learning_rate": 5e-05,
847
+ "loss": 1.4398,
848
+ "step": 14000
849
+ },
850
+ {
851
+ "epoch": 0.99,
852
+ "learning_rate": 5e-05,
853
+ "loss": 1.433,
854
+ "step": 14100
855
+ },
856
+ {
857
+ "epoch": 0.99,
858
+ "learning_rate": 5e-05,
859
+ "loss": 1.4429,
860
+ "step": 14200
861
+ },
862
+ {
863
+ "epoch": 1.0,
864
+ "eval_loss": 1.4375,
865
+ "eval_runtime": 19.8133,
866
+ "eval_samples_per_second": 117.85,
867
+ "eval_steps_per_second": 14.738,
868
+ "step": 14299
869
+ }
870
+ ],
871
+ "max_steps": 14299,
872
+ "num_train_epochs": 1,
873
+ "total_flos": 2.6064687168162365e+18,
874
+ "trial_name": null,
875
+ "trial_params": null
876
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25ba4a3df00e6dc023bf365b92c2450d0b1cbac6f20c17d0186acd31d5282a8a
3
+ size 4347
zero_to_fp32.py ADDED
@@ -0,0 +1,482 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+
3
+ # This script extracts fp32 consolidated weights from a zero 2 and 3 DeepSpeed checkpoints. It gets
4
+ # copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
5
+ # the future. Once extracted, the weights don't require DeepSpeed and can be used in any
6
+ # application.
7
+ #
8
+ # example: python zero_to_fp32.py . pytorch_model.bin
9
+
10
+ import argparse
11
+ import torch
12
+ import glob
13
+ import math
14
+ import os
15
+ import re
16
+ from collections import OrderedDict
17
+
18
+ # while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
19
+ # DeepSpeed data structures it has to be available in the current python environment.
20
+ from deepspeed.utils import logger
21
+ from deepspeed.checkpoint.constants import (DS_VERSION,
22
+ OPTIMIZER_STATE_DICT,
23
+ SINGLE_PARTITION_OF_FP32_GROUPS,
24
+ FP32_FLAT_GROUPS,
25
+ ZERO_STAGE,
26
+ PARTITION_COUNT,
27
+ PARAM_SHAPES,
28
+ BUFFER_NAMES)
29
+
30
+ debug = 0
31
+
32
+ # load to cpu
33
+ device = torch.device('cpu')
34
+
35
+
36
+ def atoi(text):
37
+ return int(text) if text.isdigit() else text
38
+
39
+
40
+ def natural_keys(text):
41
+ '''
42
+ alist.sort(key=natural_keys) sorts in human order
43
+ http://nedbatchelder.com/blog/200712/human_sorting.html
44
+ (See Toothy's implementation in the comments)
45
+ '''
46
+ return [atoi(c) for c in re.split(r'(\d+)', text)]
47
+
48
+
49
+ def get_model_state_file(checkpoint_dir, zero_stage):
50
+ if not os.path.isdir(checkpoint_dir):
51
+ raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
52
+
53
+ # there should be only one file
54
+ if zero_stage == 2:
55
+ file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
56
+ elif zero_stage == 3:
57
+ file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
58
+
59
+ if not os.path.exists(file):
60
+ raise FileNotFoundError(f"can't find model states file at '{file}'")
61
+
62
+ return file
63
+
64
+
65
+ def get_optim_files(checkpoint_dir):
66
+ # XXX: need to test that this simple glob rule works for multi-node setup too
67
+ optim_files = sorted(glob.glob(os.path.join(checkpoint_dir,
68
+ "*_optim_states.pt")),
69
+ key=natural_keys)
70
+
71
+ if len(optim_files) == 0:
72
+ raise FileNotFoundError(
73
+ f"can't find '*_optim_states.pt' files in directory '{checkpoint_dir}'")
74
+
75
+ return optim_files
76
+
77
+
78
+ def parse_model_state(file):
79
+ state_dict = torch.load(file, map_location=device)
80
+
81
+ if BUFFER_NAMES not in state_dict:
82
+ raise ValueError(f"{file} is not a model state checkpoint")
83
+ buffer_names = state_dict[BUFFER_NAMES]
84
+ if debug:
85
+ print("Found buffers:", buffer_names)
86
+
87
+ # recover just the buffers while restoring them to fp32 if they were saved in fp16
88
+ buffers = {
89
+ k: v.float()
90
+ for k,
91
+ v in state_dict["module"].items() if k in buffer_names
92
+ }
93
+ param_shapes = state_dict[PARAM_SHAPES]
94
+
95
+ ds_version = state_dict.get(DS_VERSION, None)
96
+
97
+ return buffers, param_shapes, ds_version
98
+
99
+
100
+ def parse_optim_states(files, ds_checkpoint_dir):
101
+
102
+ total_files = len(files)
103
+ state_dicts = []
104
+ for f in files:
105
+ state_dicts.append(torch.load(f, map_location=device))
106
+
107
+ if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
108
+ raise ValueError(f"{files[0]} is not a zero checkpoint")
109
+ zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
110
+ world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
111
+
112
+ # For ZeRO-2 each param group can have different partition_count as data parallelism for expert
113
+ # parameters can be different from data parallelism for non-expert parameters. So we can just
114
+ # use the max of the partition_count to get the dp world_size.
115
+
116
+ if type(world_size) is list:
117
+ world_size = max(world_size)
118
+
119
+ if world_size != total_files:
120
+ raise ValueError(
121
+ f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
122
+ "Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
123
+ )
124
+
125
+ # the groups are named differently in each stage
126
+ if zero_stage == 2:
127
+ fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
128
+ elif zero_stage == 3:
129
+ fp32_groups_key = FP32_FLAT_GROUPS
130
+ else:
131
+ raise ValueError(f"unknown zero stage {zero_stage}")
132
+
133
+ if zero_stage == 2:
134
+ fp32_flat_groups = [
135
+ state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key]
136
+ for i in range(len(state_dicts))
137
+ ]
138
+ elif zero_stage == 3:
139
+ # if there is more than one param group, there will be multiple flattened tensors - one
140
+ # flattened tensor per group - for simplicity merge them into a single tensor
141
+ #
142
+ # XXX: could make the script more memory efficient for when there are multiple groups - it
143
+ # will require matching the sub-lists of param_shapes for each param group flattened tensor
144
+
145
+ fp32_flat_groups = [
146
+ torch.cat(state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key],
147
+ 0) for i in range(len(state_dicts))
148
+ ]
149
+
150
+ return zero_stage, world_size, fp32_flat_groups
151
+
152
+
153
+ def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir):
154
+ """
155
+ Returns fp32 state_dict reconstructed from ds checkpoint
156
+
157
+ Args:
158
+ - ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
159
+
160
+ """
161
+ print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
162
+
163
+ optim_files = get_optim_files(ds_checkpoint_dir)
164
+ zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
165
+ print(
166
+ f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
167
+
168
+ model_file = get_model_state_file(ds_checkpoint_dir, zero_stage)
169
+ buffers, param_shapes, ds_version = parse_model_state(model_file)
170
+ print(f'Parsing checkpoint created by deepspeed=={ds_version}')
171
+
172
+ if zero_stage == 2:
173
+ return _get_fp32_state_dict_from_zero2_checkpoint(world_size,
174
+ param_shapes,
175
+ fp32_flat_groups,
176
+ buffers)
177
+ elif zero_stage == 3:
178
+ return _get_fp32_state_dict_from_zero3_checkpoint(world_size,
179
+ param_shapes,
180
+ fp32_flat_groups,
181
+ buffers)
182
+
183
+
184
+ def _get_fp32_state_dict_from_zero2_checkpoint(world_size,
185
+ param_shapes,
186
+ fp32_flat_groups,
187
+ buffers):
188
+
189
+ # Reconstruction protocol:
190
+ #
191
+ # XXX: document this
192
+
193
+ if debug:
194
+ for i in range(world_size):
195
+ for j in range(len(fp32_flat_groups[0])):
196
+ print(
197
+ f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
198
+
199
+ # XXX: memory usage doubles here (zero2)
200
+ num_param_groups = len(fp32_flat_groups[0])
201
+ merged_single_partition_of_fp32_groups = []
202
+ for i in range(num_param_groups):
203
+ merged_partitions = [sd[i] for sd in fp32_flat_groups]
204
+ full_single_fp32_vector = torch.cat(merged_partitions, 0)
205
+ merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
206
+ avail_numel = sum([
207
+ full_single_fp32_vector.numel()
208
+ for full_single_fp32_vector in merged_single_partition_of_fp32_groups
209
+ ])
210
+
211
+ if debug:
212
+ wanted_params = sum([len(shapes) for shapes in param_shapes])
213
+ wanted_numel = sum(
214
+ [sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
215
+ # not asserting if there is a mismatch due to possible padding
216
+ print(f"Have {avail_numel} numels to process.")
217
+ print(f"Need {wanted_numel} numels in {wanted_params} params.")
218
+
219
+ state_dict = OrderedDict()
220
+
221
+ # buffers
222
+ state_dict.update(buffers)
223
+ if debug:
224
+ print(f"added {len(buffers)} buffers")
225
+
226
+ # params
227
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
228
+ # out-of-core computing solution
229
+ total_numel = 0
230
+ total_params = 0
231
+ for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
232
+ offset = 0
233
+ avail_numel = full_single_fp32_vector.numel()
234
+ for name, shape in shapes.items():
235
+
236
+ unpartitioned_numel = shape.numel()
237
+ total_numel += unpartitioned_numel
238
+ total_params += 1
239
+
240
+ if debug:
241
+ print(
242
+ f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} "
243
+ )
244
+ state_dict[name] = full_single_fp32_vector.narrow(
245
+ 0,
246
+ offset,
247
+ unpartitioned_numel).view(shape)
248
+ offset += unpartitioned_numel
249
+
250
+ # Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
251
+ # avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
252
+ # paddings performed in the code it's almost impossible to predict the exact numbers w/o the
253
+ # live optimizer object, so we are checking that the numbers are within the right range
254
+ align_to = 2 * world_size
255
+
256
+ def zero2_align(x):
257
+ return align_to * math.ceil(x / align_to)
258
+
259
+ if debug:
260
+ print(f"original offset={offset}, avail_numel={avail_numel}")
261
+
262
+ offset = zero2_align(offset)
263
+ avail_numel = zero2_align(avail_numel)
264
+
265
+ if debug:
266
+ print(f"aligned offset={offset}, avail_numel={avail_numel}")
267
+
268
+ # Sanity check
269
+ if offset != avail_numel:
270
+ raise ValueError(
271
+ f"consumed {offset} numels out of {avail_numel} - something is wrong")
272
+
273
+ print(
274
+ f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements"
275
+ )
276
+
277
+ return state_dict
278
+
279
+
280
+ def zero3_partitioned_param_info(unpartitioned_numel, world_size):
281
+ remainder = unpartitioned_numel % world_size
282
+ padding_numel = (world_size - remainder) if remainder else 0
283
+ partitioned_numel = math.ceil(unpartitioned_numel / world_size)
284
+ return partitioned_numel, padding_numel
285
+
286
+
287
+ def _get_fp32_state_dict_from_zero3_checkpoint(world_size,
288
+ param_shapes,
289
+ fp32_flat_groups,
290
+ buffers):
291
+
292
+ # Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
293
+ # param, re-consolidating each param, while dealing with padding if any
294
+
295
+ avail_numel = fp32_flat_groups[0].numel() * world_size
296
+ # merge list of dicts, preserving order
297
+ param_shapes = {k: v for d in param_shapes for k, v in d.items()}
298
+
299
+ if debug:
300
+ for i in range(world_size):
301
+ print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
302
+
303
+ wanted_params = len(param_shapes)
304
+ wanted_numel = sum(shape.numel() for shape in param_shapes.values())
305
+ # not asserting if there is a mismatch due to possible padding
306
+ print(f"Have {avail_numel} numels to process.")
307
+ print(f"Need {wanted_numel} numels in {wanted_params} params.")
308
+
309
+ state_dict = OrderedDict()
310
+
311
+ # buffers
312
+ state_dict.update(buffers)
313
+ if debug:
314
+ print(f"added {len(buffers)} buffers")
315
+
316
+ # params
317
+ # XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
318
+ # out-of-core computing solution
319
+ offset = 0
320
+ total_numel = 0
321
+ total_params = 0
322
+ for name, shape in param_shapes.items():
323
+
324
+ unpartitioned_numel = shape.numel()
325
+ total_numel += unpartitioned_numel
326
+ total_params += 1
327
+
328
+ partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
329
+
330
+ if debug:
331
+ print(
332
+ f"{total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
333
+ )
334
+
335
+ # XXX: memory usage doubles here
336
+ state_dict[name] = torch.cat(
337
+ tuple(fp32_flat_groups[i].narrow(0,
338
+ offset,
339
+ partitioned_numel)
340
+ for i in range(world_size)),
341
+ 0).narrow(0,
342
+ 0,
343
+ unpartitioned_numel).view(shape)
344
+ offset += partitioned_numel
345
+
346
+ offset *= world_size
347
+
348
+ # Sanity check
349
+ if offset != avail_numel:
350
+ raise ValueError(
351
+ f"consumed {offset} numels out of {avail_numel} - something is wrong")
352
+
353
+ print(
354
+ f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements"
355
+ )
356
+
357
+ return state_dict
358
+
359
+
360
+ def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag=None):
361
+ """
362
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
363
+ ``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
364
+ via a model hub.
365
+
366
+ Args:
367
+ - ``checkpoint_dir``: path to the desired checkpoint folder
368
+ - ``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``
369
+
370
+ Returns:
371
+ - pytorch ``state_dict``
372
+
373
+ Note: this approach may not work if your application doesn't have sufficient free CPU memory and
374
+ you may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
375
+ the checkpoint.
376
+
377
+ A typical usage might be ::
378
+
379
+ from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
380
+ # do the training and checkpoint saving
381
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
382
+ model = model.cpu() # move to cpu
383
+ model.load_state_dict(state_dict)
384
+ # submit to model hub or save the model to share with others
385
+
386
+ In this example the ``model`` will no longer be usable in the deepspeed context of the same
387
+ application. i.e. you will need to re-initialize the deepspeed engine, since
388
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
389
+
390
+ If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
391
+
392
+ """
393
+ if tag is None:
394
+ latest_path = os.path.join(checkpoint_dir, 'latest')
395
+ if os.path.isfile(latest_path):
396
+ with open(latest_path, 'r') as fd:
397
+ tag = fd.read().strip()
398
+ else:
399
+ raise ValueError(f"Unable to find 'latest' file at {latest_path}")
400
+
401
+ ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
402
+
403
+ if not os.path.isdir(ds_checkpoint_dir):
404
+ raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
405
+
406
+ return _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir)
407
+
408
+
409
+ def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir, output_file, tag=None):
410
+ """
411
+ Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
412
+ loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
413
+
414
+ Args:
415
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
416
+ - ``output_file``: path to the pytorch fp32 state_dict output file (e.g. path/pytorch_model.bin)
417
+ - ``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``
418
+ """
419
+
420
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
421
+ print(f"Saving fp32 state dict to {output_file}")
422
+ torch.save(state_dict, output_file)
423
+
424
+
425
+ def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
426
+ """
427
+ 1. Put the provided model to cpu
428
+ 2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
429
+ 3. Load it into the provided model
430
+
431
+ Args:
432
+ - ``model``: the model object to update
433
+ - ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
434
+ - ``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``
435
+
436
+ Returns:
437
+ - ``model`: modified model
438
+
439
+ Make sure you have plenty of CPU memory available before you call this function. If you don't
440
+ have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
441
+ conveniently placed for you in the checkpoint folder.
442
+
443
+ A typical usage might be ::
444
+
445
+ from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
446
+ model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
447
+ # submit to model hub or save the model to share with others
448
+
449
+ Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
450
+ of the same application. i.e. you will need to re-initialize the deepspeed engine, since
451
+ ``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
452
+
453
+ """
454
+ logger.info(f"Extracting fp32 weights")
455
+ state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
456
+
457
+ logger.info(f"Overwriting model with fp32 weights")
458
+ model = model.cpu()
459
+ model.load_state_dict(state_dict, strict=False)
460
+
461
+ return model
462
+
463
+
464
+ if __name__ == "__main__":
465
+
466
+ parser = argparse.ArgumentParser()
467
+ parser.add_argument(
468
+ "checkpoint_dir",
469
+ type=str,
470
+ help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
471
+ parser.add_argument(
472
+ "output_file",
473
+ type=str,
474
+ help=
475
+ "path to the pytorch fp32 state_dict output file (e.g. path/checkpoint-12/pytorch_model.bin)"
476
+ )
477
+ parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
478
+ args = parser.parse_args()
479
+
480
+ debug = args.debug
481
+
482
+ convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir, args.output_file)