Shivam22182
commited on
Upload 7 files
Browse files- config.json +39 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +195 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gpt2",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
+
"n_embd": 768,
|
16 |
+
"n_head": 12,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 12,
|
19 |
+
"n_positions": 1024,
|
20 |
+
"reorder_and_upcast_attn": false,
|
21 |
+
"resid_pdrop": 0.1,
|
22 |
+
"scale_attn_by_inverse_layer_idx": false,
|
23 |
+
"scale_attn_weights": true,
|
24 |
+
"summary_activation": null,
|
25 |
+
"summary_first_dropout": 0.1,
|
26 |
+
"summary_proj_to_labels": true,
|
27 |
+
"summary_type": "cls_index",
|
28 |
+
"summary_use_proj": true,
|
29 |
+
"task_specific_params": {
|
30 |
+
"text-generation": {
|
31 |
+
"do_sample": true,
|
32 |
+
"max_length": 50
|
33 |
+
}
|
34 |
+
},
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.37.1",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 50257
|
39 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.37.1"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c93ade789c627f9af698ccd021899b169a9707952d78f3952c2c6de085e8708
|
3 |
+
size 497774208
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95209bca370a53a124e92620ff7b93d26b049c08c6593bd2d77a61443c2b5e0e
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb8572ebaa364ccd203f27cd2f8cf84d02c67072836233db8d6d9edc539e77f6
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9971803864933636,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 14500,
|
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.03,
|
13 |
+
"learning_rate": 4.828072347156317e-05,
|
14 |
+
"loss": 1.3416,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.07,
|
19 |
+
"learning_rate": 4.656144694312634e-05,
|
20 |
+
"loss": 1.1277,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.1,
|
25 |
+
"learning_rate": 4.4842170414689496e-05,
|
26 |
+
"loss": 1.0744,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.14,
|
31 |
+
"learning_rate": 4.312289388625267e-05,
|
32 |
+
"loss": 1.034,
|
33 |
+
"step": 2000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.17,
|
37 |
+
"learning_rate": 4.140361735781583e-05,
|
38 |
+
"loss": 1.013,
|
39 |
+
"step": 2500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.21,
|
43 |
+
"learning_rate": 3.9684340829379003e-05,
|
44 |
+
"loss": 0.9948,
|
45 |
+
"step": 3000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.24,
|
49 |
+
"learning_rate": 3.796506430094217e-05,
|
50 |
+
"loss": 0.9951,
|
51 |
+
"step": 3500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.28,
|
55 |
+
"learning_rate": 3.624578777250533e-05,
|
56 |
+
"loss": 0.9735,
|
57 |
+
"step": 4000
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.31,
|
61 |
+
"learning_rate": 3.45265112440685e-05,
|
62 |
+
"loss": 0.9796,
|
63 |
+
"step": 4500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.34,
|
67 |
+
"learning_rate": 3.280723471563166e-05,
|
68 |
+
"loss": 0.9688,
|
69 |
+
"step": 5000
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.38,
|
73 |
+
"learning_rate": 3.108795818719483e-05,
|
74 |
+
"loss": 0.9511,
|
75 |
+
"step": 5500
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.41,
|
79 |
+
"learning_rate": 2.9368681658757994e-05,
|
80 |
+
"loss": 0.9531,
|
81 |
+
"step": 6000
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.45,
|
85 |
+
"learning_rate": 2.764940513032116e-05,
|
86 |
+
"loss": 0.9337,
|
87 |
+
"step": 6500
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.48,
|
91 |
+
"learning_rate": 2.593012860188433e-05,
|
92 |
+
"loss": 0.9208,
|
93 |
+
"step": 7000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.52,
|
97 |
+
"learning_rate": 2.4210852073447495e-05,
|
98 |
+
"loss": 0.9241,
|
99 |
+
"step": 7500
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.55,
|
103 |
+
"learning_rate": 2.249157554501066e-05,
|
104 |
+
"loss": 0.9049,
|
105 |
+
"step": 8000
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 0.58,
|
109 |
+
"learning_rate": 2.0772299016573828e-05,
|
110 |
+
"loss": 0.9192,
|
111 |
+
"step": 8500
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 0.62,
|
115 |
+
"learning_rate": 1.9053022488136992e-05,
|
116 |
+
"loss": 0.9219,
|
117 |
+
"step": 9000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 0.65,
|
121 |
+
"learning_rate": 1.733374595970016e-05,
|
122 |
+
"loss": 0.9034,
|
123 |
+
"step": 9500
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 0.69,
|
127 |
+
"learning_rate": 1.5614469431263325e-05,
|
128 |
+
"loss": 0.9074,
|
129 |
+
"step": 10000
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.72,
|
133 |
+
"learning_rate": 1.3895192902826493e-05,
|
134 |
+
"loss": 0.9088,
|
135 |
+
"step": 10500
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.76,
|
139 |
+
"learning_rate": 1.2175916374389657e-05,
|
140 |
+
"loss": 0.9119,
|
141 |
+
"step": 11000
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 0.79,
|
145 |
+
"learning_rate": 1.0456639845952824e-05,
|
146 |
+
"loss": 0.8996,
|
147 |
+
"step": 11500
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 0.83,
|
151 |
+
"learning_rate": 8.73736331751599e-06,
|
152 |
+
"loss": 0.8881,
|
153 |
+
"step": 12000
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 0.86,
|
157 |
+
"learning_rate": 7.018086789079156e-06,
|
158 |
+
"loss": 0.9013,
|
159 |
+
"step": 12500
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 0.89,
|
163 |
+
"learning_rate": 5.298810260642322e-06,
|
164 |
+
"loss": 0.8916,
|
165 |
+
"step": 13000
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 0.93,
|
169 |
+
"learning_rate": 3.5795337322054882e-06,
|
170 |
+
"loss": 0.8953,
|
171 |
+
"step": 13500
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 0.96,
|
175 |
+
"learning_rate": 1.8602572037686543e-06,
|
176 |
+
"loss": 0.8992,
|
177 |
+
"step": 14000
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 1.0,
|
181 |
+
"learning_rate": 1.4098067533182036e-07,
|
182 |
+
"loss": 0.8785,
|
183 |
+
"step": 14500
|
184 |
+
}
|
185 |
+
],
|
186 |
+
"logging_steps": 500,
|
187 |
+
"max_steps": 14541,
|
188 |
+
"num_input_tokens_seen": 0,
|
189 |
+
"num_train_epochs": 1,
|
190 |
+
"save_steps": 500,
|
191 |
+
"total_flos": 3788734464000000.0,
|
192 |
+
"train_batch_size": 4,
|
193 |
+
"trial_name": null,
|
194 |
+
"trial_params": null
|
195 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c6886914ea90165c754b8e8f65313a1df042742ca726f08b39e5d9e2e2401d8
|
3 |
+
size 4664
|