kevincstowe
commited on
Commit
·
f1ced59
1
Parent(s):
4bfefae
initial files
Browse files- config.json +58 -0
- pytorch_model.bin +3 -0
- trainer_state.json +175 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/nlp-text/dynamic/mzhao/acg/conversation_swc/pretrained/t5_base",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 3072,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 768,
|
9 |
+
"decoder_start_token_id": 0,
|
10 |
+
"dropout_rate": 0.1,
|
11 |
+
"eos_token_id": 1,
|
12 |
+
"feed_forward_proj": "relu",
|
13 |
+
"initializer_factor": 1.0,
|
14 |
+
"is_encoder_decoder": true,
|
15 |
+
"layer_norm_epsilon": 1e-06,
|
16 |
+
"model_type": "t5",
|
17 |
+
"n_positions": 512,
|
18 |
+
"num_decoder_layers": 12,
|
19 |
+
"num_heads": 12,
|
20 |
+
"num_layers": 12,
|
21 |
+
"output_past": true,
|
22 |
+
"pad_token_id": 0,
|
23 |
+
"relative_attention_max_distance": 128,
|
24 |
+
"relative_attention_num_buckets": 32,
|
25 |
+
"task_specific_params": {
|
26 |
+
"summarization": {
|
27 |
+
"early_stopping": true,
|
28 |
+
"length_penalty": 2.0,
|
29 |
+
"max_length": 200,
|
30 |
+
"min_length": 30,
|
31 |
+
"no_repeat_ngram_size": 3,
|
32 |
+
"num_beams": 4,
|
33 |
+
"prefix": "summarize: "
|
34 |
+
},
|
35 |
+
"translation_en_to_de": {
|
36 |
+
"early_stopping": true,
|
37 |
+
"max_length": 300,
|
38 |
+
"num_beams": 4,
|
39 |
+
"prefix": "translate English to German: "
|
40 |
+
},
|
41 |
+
"translation_en_to_fr": {
|
42 |
+
"early_stopping": true,
|
43 |
+
"max_length": 300,
|
44 |
+
"num_beams": 4,
|
45 |
+
"prefix": "translate English to French: "
|
46 |
+
},
|
47 |
+
"translation_en_to_ro": {
|
48 |
+
"early_stopping": true,
|
49 |
+
"max_length": 300,
|
50 |
+
"num_beams": 4,
|
51 |
+
"prefix": "translate English to Romanian: "
|
52 |
+
}
|
53 |
+
},
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.19.2",
|
56 |
+
"use_cache": true,
|
57 |
+
"vocab_size": 32100
|
58 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:642c813c71236fcc4329e6e657ad0f28f94d8f875fce71d79e49d4ab2f282fa3
|
3 |
+
size 891614783
|
trainer_state.json
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 12702,
|
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.12,
|
12 |
+
"learning_rate": 4.803180601480082e-05,
|
13 |
+
"loss": 2.6193,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.24,
|
18 |
+
"learning_rate": 4.6063612029601637e-05,
|
19 |
+
"loss": 2.4053,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.35,
|
24 |
+
"learning_rate": 4.409541804440246e-05,
|
25 |
+
"loss": 2.3251,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.47,
|
30 |
+
"learning_rate": 4.212722405920328e-05,
|
31 |
+
"loss": 2.2622,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.59,
|
36 |
+
"learning_rate": 4.01590300740041e-05,
|
37 |
+
"loss": 2.2405,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.71,
|
42 |
+
"learning_rate": 3.819083608880492e-05,
|
43 |
+
"loss": 2.1981,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.83,
|
48 |
+
"learning_rate": 3.622264210360573e-05,
|
49 |
+
"loss": 2.1864,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.94,
|
54 |
+
"learning_rate": 3.425444811840655e-05,
|
55 |
+
"loss": 2.1688,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.06,
|
60 |
+
"learning_rate": 3.228625413320737e-05,
|
61 |
+
"loss": 2.1147,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 1.18,
|
66 |
+
"learning_rate": 3.0318060148008187e-05,
|
67 |
+
"loss": 2.089,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.3,
|
72 |
+
"learning_rate": 2.8349866162809007e-05,
|
73 |
+
"loss": 2.0734,
|
74 |
+
"step": 5500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.42,
|
78 |
+
"learning_rate": 2.6381672177609828e-05,
|
79 |
+
"loss": 2.0585,
|
80 |
+
"step": 6000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.54,
|
84 |
+
"learning_rate": 2.4413478192410648e-05,
|
85 |
+
"loss": 2.0524,
|
86 |
+
"step": 6500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.65,
|
90 |
+
"learning_rate": 2.2445284207211465e-05,
|
91 |
+
"loss": 2.0465,
|
92 |
+
"step": 7000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.77,
|
96 |
+
"learning_rate": 2.0477090222012282e-05,
|
97 |
+
"loss": 2.0356,
|
98 |
+
"step": 7500
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 1.89,
|
102 |
+
"learning_rate": 1.85088962368131e-05,
|
103 |
+
"loss": 2.0247,
|
104 |
+
"step": 8000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 2.01,
|
108 |
+
"learning_rate": 1.654070225161392e-05,
|
109 |
+
"loss": 2.0243,
|
110 |
+
"step": 8500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 2.13,
|
114 |
+
"learning_rate": 1.4572508266414739e-05,
|
115 |
+
"loss": 1.9859,
|
116 |
+
"step": 9000
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.24,
|
120 |
+
"learning_rate": 1.2604314281215557e-05,
|
121 |
+
"loss": 1.9777,
|
122 |
+
"step": 9500
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 2.36,
|
126 |
+
"learning_rate": 1.0636120296016376e-05,
|
127 |
+
"loss": 1.9901,
|
128 |
+
"step": 10000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 2.48,
|
132 |
+
"learning_rate": 8.667926310817193e-06,
|
133 |
+
"loss": 1.9684,
|
134 |
+
"step": 10500
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 2.6,
|
138 |
+
"learning_rate": 6.699732325618014e-06,
|
139 |
+
"loss": 1.9806,
|
140 |
+
"step": 11000
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 2.72,
|
144 |
+
"learning_rate": 4.731538340418832e-06,
|
145 |
+
"loss": 1.9642,
|
146 |
+
"step": 11500
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 2.83,
|
150 |
+
"learning_rate": 2.7633443552196504e-06,
|
151 |
+
"loss": 1.9729,
|
152 |
+
"step": 12000
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 2.95,
|
156 |
+
"learning_rate": 7.951503700204692e-07,
|
157 |
+
"loss": 1.9618,
|
158 |
+
"step": 12500
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 3.0,
|
162 |
+
"step": 12702,
|
163 |
+
"total_flos": 1.399103113734144e+16,
|
164 |
+
"train_loss": 2.1066248405263135,
|
165 |
+
"train_runtime": 10985.9481,
|
166 |
+
"train_samples_per_second": 36.991,
|
167 |
+
"train_steps_per_second": 1.156
|
168 |
+
}
|
169 |
+
],
|
170 |
+
"max_steps": 12702,
|
171 |
+
"num_train_epochs": 3,
|
172 |
+
"total_flos": 1.399103113734144e+16,
|
173 |
+
"trial_name": null,
|
174 |
+
"trial_params": null
|
175 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1902e423b98040bee2c41510872328dbcb37c8e2488f9ea1ed12bbacce4837c8
|
3 |
+
size 3375
|