Upload folder using huggingface_hub
Browse files- added_tokens.json +5 -0
- config.json +32 -0
- generation_config.json +7 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +5 -0
- spiece.model +3 -0
- tokenizer_config.json +39 -0
- trainer_state.json +147 -0
- training_args.bin +3 -0
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 1,
|
3 |
+
"<pad>": 0,
|
4 |
+
"<unk>": 2
|
5 |
+
}
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mt5-small",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 1024,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 512,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "gelu_new",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "gated-gelu",
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": true,
|
18 |
+
"layer_norm_epsilon": 1e-06,
|
19 |
+
"model_type": "mt5",
|
20 |
+
"num_decoder_layers": 8,
|
21 |
+
"num_heads": 6,
|
22 |
+
"num_layers": 8,
|
23 |
+
"pad_token_id": 0,
|
24 |
+
"relative_attention_max_distance": 128,
|
25 |
+
"relative_attention_num_buckets": 32,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"tokenizer_class": "T5Tokenizer",
|
28 |
+
"torch_dtype": "float32",
|
29 |
+
"transformers_version": "4.35.0.dev0",
|
30 |
+
"use_cache": true,
|
31 |
+
"vocab_size": 250112
|
32 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.35.0.dev0"
|
7 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4c938090590ce068f63db5f98e33f264d57a215e992df26edd0bf8dfce21887
|
3 |
+
size 2401573893
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:326d329916d4fa66d6adbc65b2003c23dd643e992f792ac0ff963f0dfffd20ad
|
3 |
+
size 1200772613
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8688b0452f6f576e8f85cd53360bf13287f6a99c7d440bce793a3143246e93e2
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afe62accefbab6d7b804f10710b1540ca244cdead67688d29e29074ef0baef18
|
3 |
+
size 627
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"pad_token": "<pad>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef78f86560d809067d12bac6c09f19a462cb3af3f54d2b8acbba26e1433125d6
|
3 |
+
size 4309802
|
tokenizer_config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<pad>",
|
5 |
+
"lstrip": true,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": true,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "</s>",
|
13 |
+
"lstrip": true,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": true,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<unk>",
|
21 |
+
"lstrip": true,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": true,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
}
|
27 |
+
},
|
28 |
+
"additional_special_tokens": [],
|
29 |
+
"clean_up_tokenization_spaces": true,
|
30 |
+
"eos_token": "</s>",
|
31 |
+
"extra_ids": 0,
|
32 |
+
"legacy": true,
|
33 |
+
"model_max_length": 1000000000000000019884624838656,
|
34 |
+
"pad_token": "<pad>",
|
35 |
+
"sp_model_kwargs": {},
|
36 |
+
"tokenizer_class": "T5Tokenizer",
|
37 |
+
"tokenizer_file": null,
|
38 |
+
"unk_token": "<unk>"
|
39 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 10378,
|
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.05,
|
13 |
+
"learning_rate": 4.759105800732319e-05,
|
14 |
+
"loss": 19.9182,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.1,
|
19 |
+
"learning_rate": 4.518211601464637e-05,
|
20 |
+
"loss": 2.8554,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.14,
|
25 |
+
"learning_rate": 4.2773174021969556e-05,
|
26 |
+
"loss": 1.1633,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.19,
|
31 |
+
"learning_rate": 4.0364232029292733e-05,
|
32 |
+
"loss": 0.7392,
|
33 |
+
"step": 2000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.24,
|
37 |
+
"learning_rate": 3.795529003661592e-05,
|
38 |
+
"loss": 0.5942,
|
39 |
+
"step": 2500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.29,
|
43 |
+
"learning_rate": 3.55463480439391e-05,
|
44 |
+
"loss": 0.5252,
|
45 |
+
"step": 3000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.34,
|
49 |
+
"learning_rate": 3.313740605126229e-05,
|
50 |
+
"loss": 0.5016,
|
51 |
+
"step": 3500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.39,
|
55 |
+
"learning_rate": 3.072846405858547e-05,
|
56 |
+
"loss": 0.4575,
|
57 |
+
"step": 4000
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.43,
|
61 |
+
"learning_rate": 2.8319522065908656e-05,
|
62 |
+
"loss": 0.4414,
|
63 |
+
"step": 4500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.48,
|
67 |
+
"learning_rate": 2.5910580073231837e-05,
|
68 |
+
"loss": 0.4227,
|
69 |
+
"step": 5000
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.53,
|
73 |
+
"learning_rate": 2.350163808055502e-05,
|
74 |
+
"loss": 0.4023,
|
75 |
+
"step": 5500
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.58,
|
79 |
+
"learning_rate": 2.1092696087878206e-05,
|
80 |
+
"loss": 0.3792,
|
81 |
+
"step": 6000
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.63,
|
85 |
+
"learning_rate": 1.868375409520139e-05,
|
86 |
+
"loss": 0.3566,
|
87 |
+
"step": 6500
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.67,
|
91 |
+
"learning_rate": 1.627481210252457e-05,
|
92 |
+
"loss": 0.3496,
|
93 |
+
"step": 7000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.72,
|
97 |
+
"learning_rate": 1.3865870109847756e-05,
|
98 |
+
"loss": 0.3438,
|
99 |
+
"step": 7500
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.77,
|
103 |
+
"learning_rate": 1.145692811717094e-05,
|
104 |
+
"loss": 0.3427,
|
105 |
+
"step": 8000
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 0.82,
|
109 |
+
"learning_rate": 9.047986124494123e-06,
|
110 |
+
"loss": 0.3259,
|
111 |
+
"step": 8500
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 0.87,
|
115 |
+
"learning_rate": 6.639044131817306e-06,
|
116 |
+
"loss": 0.328,
|
117 |
+
"step": 9000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 0.92,
|
121 |
+
"learning_rate": 4.2301021391404895e-06,
|
122 |
+
"loss": 0.318,
|
123 |
+
"step": 9500
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 0.96,
|
127 |
+
"learning_rate": 1.8211601464636733e-06,
|
128 |
+
"loss": 0.325,
|
129 |
+
"step": 10000
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 1.0,
|
133 |
+
"eval_loss": 0.235988587141037,
|
134 |
+
"eval_runtime": 169.8494,
|
135 |
+
"eval_samples_per_second": 65.758,
|
136 |
+
"eval_steps_per_second": 8.225,
|
137 |
+
"step": 10378
|
138 |
+
}
|
139 |
+
],
|
140 |
+
"logging_steps": 500,
|
141 |
+
"max_steps": 10378,
|
142 |
+
"num_train_epochs": 1,
|
143 |
+
"save_steps": 500,
|
144 |
+
"total_flos": 4.389574183747584e+16,
|
145 |
+
"trial_name": null,
|
146 |
+
"trial_params": null
|
147 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f1e78a9328aa5ddec1e75c98a366a5e549e62dbf7886e3fb3b6a4cfec066879
|
3 |
+
size 4155
|