add MT model
Browse files- all_results.json +15 -0
- config.json +29 -0
- generated_predictions.txt +0 -0
- predict_results.json +9 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- spiece.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- train_results.json +8 -0
- trainer_state.json +103 -0
- training_args.bin +3 -0
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"predict_bleu": 11.8792,
|
4 |
+
"predict_gen_len": 35.6226,
|
5 |
+
"predict_loss": 2.598799467086792,
|
6 |
+
"predict_runtime": 972.3337,
|
7 |
+
"predict_samples": 1558,
|
8 |
+
"predict_samples_per_second": 1.602,
|
9 |
+
"predict_steps_per_second": 0.16,
|
10 |
+
"train_loss": 2.876378885140096,
|
11 |
+
"train_runtime": 2243.2035,
|
12 |
+
"train_samples": 6644,
|
13 |
+
"train_samples_per_second": 29.618,
|
14 |
+
"train_steps_per_second": 2.965
|
15 |
+
}
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mt5-base",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 2048,
|
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": "gated-gelu",
|
13 |
+
"initializer_factor": 1.0,
|
14 |
+
"is_encoder_decoder": true,
|
15 |
+
"layer_norm_epsilon": 1e-06,
|
16 |
+
"model_type": "mt5",
|
17 |
+
"num_decoder_layers": 12,
|
18 |
+
"num_heads": 12,
|
19 |
+
"num_layers": 12,
|
20 |
+
"output_past": true,
|
21 |
+
"pad_token_id": 0,
|
22 |
+
"relative_attention_num_buckets": 32,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"tokenizer_class": "T5Tokenizer",
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.12.0",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 250100
|
29 |
+
}
|
generated_predictions.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
predict_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"predict_bleu": 11.8792,
|
3 |
+
"predict_gen_len": 35.6226,
|
4 |
+
"predict_loss": 2.598799467086792,
|
5 |
+
"predict_runtime": 972.3337,
|
6 |
+
"predict_samples": 1558,
|
7 |
+
"predict_samples_per_second": 1.602,
|
8 |
+
"predict_steps_per_second": 0.16
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7cd43f96ab88a533a9b79f010a055a3e08ea557a82db59946c69b584bd3a4fb0
|
3 |
+
size 2329633625
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef78f86560d809067d12bac6c09f19a462cb3af3f54d2b8acbba26e1433125d6
|
3 |
+
size 4309802
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "extra_ids": 0, "additional_special_tokens": null, "special_tokens_map_file": "/home/patrick/.cache/torch/transformers/685ac0ca8568ec593a48b61b0a3c272beee9bc194a3c7241d15dcadb5f875e53.f76030f3ec1b96a8199b2593390c610e76ca8028ef3d24680000619ffb646276", "name_or_path": "google/mt5-base", "sp_model_kwargs": {}, "tokenizer_class": "T5Tokenizer"}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"train_loss": 2.876378885140096,
|
4 |
+
"train_runtime": 2243.2035,
|
5 |
+
"train_samples": 6644,
|
6 |
+
"train_samples_per_second": 29.618,
|
7 |
+
"train_steps_per_second": 2.965
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 10.0,
|
5 |
+
"global_step": 6650,
|
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.75,
|
12 |
+
"learning_rate": 4.62406015037594e-05,
|
13 |
+
"loss": 6.2225,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 1.5,
|
18 |
+
"learning_rate": 4.24812030075188e-05,
|
19 |
+
"loss": 3.3431,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 2.26,
|
24 |
+
"learning_rate": 3.87218045112782e-05,
|
25 |
+
"loss": 3.0415,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 3.01,
|
30 |
+
"learning_rate": 3.49624060150376e-05,
|
31 |
+
"loss": 2.8598,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 3.76,
|
36 |
+
"learning_rate": 3.120300751879699e-05,
|
37 |
+
"loss": 2.7177,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 4.51,
|
42 |
+
"learning_rate": 2.7443609022556393e-05,
|
43 |
+
"loss": 2.6127,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 5.26,
|
48 |
+
"learning_rate": 2.368421052631579e-05,
|
49 |
+
"loss": 2.5436,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 6.02,
|
54 |
+
"learning_rate": 1.9924812030075188e-05,
|
55 |
+
"loss": 2.4844,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 6.77,
|
60 |
+
"learning_rate": 1.6165413533834585e-05,
|
61 |
+
"loss": 2.4068,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 7.52,
|
66 |
+
"learning_rate": 1.2406015037593984e-05,
|
67 |
+
"loss": 2.3725,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 8.27,
|
72 |
+
"learning_rate": 8.646616541353383e-06,
|
73 |
+
"loss": 2.3542,
|
74 |
+
"step": 5500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 9.02,
|
78 |
+
"learning_rate": 4.887218045112782e-06,
|
79 |
+
"loss": 2.3098,
|
80 |
+
"step": 6000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 9.77,
|
84 |
+
"learning_rate": 1.1278195488721805e-06,
|
85 |
+
"loss": 2.2902,
|
86 |
+
"step": 6500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 10.0,
|
90 |
+
"step": 6650,
|
91 |
+
"total_flos": 3.38537295309312e+16,
|
92 |
+
"train_loss": 2.876378885140096,
|
93 |
+
"train_runtime": 2243.2035,
|
94 |
+
"train_samples_per_second": 29.618,
|
95 |
+
"train_steps_per_second": 2.965
|
96 |
+
}
|
97 |
+
],
|
98 |
+
"max_steps": 6650,
|
99 |
+
"num_train_epochs": 10,
|
100 |
+
"total_flos": 3.38537295309312e+16,
|
101 |
+
"trial_name": null,
|
102 |
+
"trial_params": null
|
103 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b0982d852e7d4be3591a213800231cbcc286a7f3cea56a2782c5126dafbb114
|
3 |
+
size 2927
|