Davlan commited on
Commit
56c8c53
1 Parent(s): 29f5f20

add MT model

Browse files
all_results.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_bleu": 11.0618,
4
+ "eval_gen_len": 38.682,
5
+ "eval_loss": 1.9924222230911255,
6
+ "eval_runtime": 889.7608,
7
+ "eval_samples": 1500,
8
+ "eval_samples_per_second": 1.686,
9
+ "eval_steps_per_second": 0.169,
10
+ "predict_bleu": 14.088,
11
+ "predict_gen_len": 37.862,
12
+ "predict_loss": 1.8863457441329956,
13
+ "predict_runtime": 931.3591,
14
+ "predict_samples": 1500,
15
+ "predict_samples_per_second": 1.611,
16
+ "predict_steps_per_second": 0.161,
17
+ "train_loss": 2.376877005440848,
18
+ "train_runtime": 2452.745,
19
+ "train_samples": 6998,
20
+ "train_samples_per_second": 28.531,
21
+ "train_steps_per_second": 2.854
22
+ }
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
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_bleu": 11.0618,
4
+ "eval_gen_len": 38.682,
5
+ "eval_loss": 1.9924222230911255,
6
+ "eval_runtime": 889.7608,
7
+ "eval_samples": 1500,
8
+ "eval_samples_per_second": 1.686,
9
+ "eval_steps_per_second": 0.169
10
+ }
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": 14.088,
3
+ "predict_gen_len": 37.862,
4
+ "predict_loss": 1.8863457441329956,
5
+ "predict_runtime": 931.3591,
6
+ "predict_samples": 1500,
7
+ "predict_samples_per_second": 1.611,
8
+ "predict_steps_per_second": 0.161
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5c74c657d6670a7386f7133b7f1addc1facfb670613ea8ad901ca19ae1e22f4
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.376877005440848,
4
+ "train_runtime": 2452.745,
5
+ "train_samples": 6998,
6
+ "train_samples_per_second": 28.531,
7
+ "train_steps_per_second": 2.854
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 10.0,
5
+ "global_step": 7000,
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.71,
12
+ "learning_rate": 4.642857142857143e-05,
13
+ "loss": 5.9139,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 1.43,
18
+ "learning_rate": 4.2857142857142856e-05,
19
+ "loss": 2.8028,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 2.14,
24
+ "learning_rate": 3.928571428571429e-05,
25
+ "loss": 2.5129,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 2.86,
30
+ "learning_rate": 3.571428571428572e-05,
31
+ "loss": 2.3447,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 3.57,
36
+ "learning_rate": 3.2142857142857144e-05,
37
+ "loss": 2.2255,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 4.29,
42
+ "learning_rate": 2.857142857142857e-05,
43
+ "loss": 2.1201,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 5.0,
48
+ "learning_rate": 2.5e-05,
49
+ "loss": 2.0644,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 5.71,
54
+ "learning_rate": 2.1428571428571428e-05,
55
+ "loss": 1.9872,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 6.43,
60
+ "learning_rate": 1.785714285714286e-05,
61
+ "loss": 1.9635,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 7.14,
66
+ "learning_rate": 1.4285714285714285e-05,
67
+ "loss": 1.9039,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 7.86,
72
+ "learning_rate": 1.0714285714285714e-05,
73
+ "loss": 1.8859,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 8.57,
78
+ "learning_rate": 7.142857142857143e-06,
79
+ "loss": 1.8624,
80
+ "step": 6000
81
+ },
82
+ {
83
+ "epoch": 9.29,
84
+ "learning_rate": 3.5714285714285714e-06,
85
+ "loss": 1.8489,
86
+ "step": 6500
87
+ },
88
+ {
89
+ "epoch": 10.0,
90
+ "learning_rate": 0.0,
91
+ "loss": 1.8401,
92
+ "step": 7000
93
+ },
94
+ {
95
+ "epoch": 10.0,
96
+ "step": 7000,
97
+ "total_flos": 2.852352859705344e+16,
98
+ "train_loss": 2.376877005440848,
99
+ "train_runtime": 2452.745,
100
+ "train_samples_per_second": 28.531,
101
+ "train_steps_per_second": 2.854
102
+ }
103
+ ],
104
+ "max_steps": 7000,
105
+ "num_train_epochs": 10,
106
+ "total_flos": 2.852352859705344e+16,
107
+ "trial_name": null,
108
+ "trial_params": null
109
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63c9eb4598701ed300f38f5287b66460bf0397fd79a0f043effbdf77ccec2be1
3
+ size 2927