imvladikon
commited on
Commit
•
ee17d2b
1
Parent(s):
77542a1
init
Browse files- config.json +31 -0
- generation_config.json +6 -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.json +3 -0
- tokenizer_config.json +11 -0
- trainer_state.json +149 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/hebrew_summarizer/models/checkpoint-44000",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 1024,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 512,
|
9 |
+
"decoder_start_token_id": 0,
|
10 |
+
"dense_act_fn": "gelu_new",
|
11 |
+
"dropout_rate": 0.1,
|
12 |
+
"eos_token_id": 1,
|
13 |
+
"feed_forward_proj": "gated-gelu",
|
14 |
+
"initializer_factor": 1.0,
|
15 |
+
"is_encoder_decoder": true,
|
16 |
+
"is_gated_act": true,
|
17 |
+
"layer_norm_epsilon": 1e-06,
|
18 |
+
"model_type": "mt5",
|
19 |
+
"num_decoder_layers": 8,
|
20 |
+
"num_heads": 6,
|
21 |
+
"num_layers": 8,
|
22 |
+
"pad_token_id": 0,
|
23 |
+
"relative_attention_max_distance": 128,
|
24 |
+
"relative_attention_num_buckets": 32,
|
25 |
+
"tie_word_embeddings": false,
|
26 |
+
"tokenizer_class": "T5Tokenizer",
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.30.2",
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 250112
|
31 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.30.2"
|
6 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e83037f8ed3c85e1cd2fa8248fb3ab096639488ba06d753ac0b798873ac1a51
|
3 |
+
size 2401527173
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ceab379fe7bbefa139bd5381d4a387a4b67cdc312873dc6174580237f137aebb
|
3 |
+
size 1200772485
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2d3edf11a13b0b4882cd9d9076fde23fe05d6eaaedbcb58e3cddcdb1aebb8dd
|
3 |
+
size 14575
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82a87986c5d72439753d5b0829cfc71f7767e5caa2f725fdbfc38243e793de27
|
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.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:db89e268649033b2f206501b13ff4b4edb14f23e84934fb956db725fcacdead8
|
3 |
+
size 16330467
|
tokenizer_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": null,
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"extra_ids": 0,
|
6 |
+
"model_max_length": 1000000000000000019884624838656,
|
7 |
+
"pad_token": "<pad>",
|
8 |
+
"sp_model_kwargs": {},
|
9 |
+
"tokenizer_class": "T5Tokenizer",
|
10 |
+
"unk_token": "<unk>"
|
11 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 2.0858356952667236,
|
3 |
+
"best_model_checkpoint": "./models/checkpoint-70000",
|
4 |
+
"epoch": 0.9752155923041558,
|
5 |
+
"global_step": 70000,
|
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.14,
|
12 |
+
"learning_rate": 4.7678058113561536e-05,
|
13 |
+
"loss": 2.5513,
|
14 |
+
"step": 10000
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.14,
|
18 |
+
"eval_gen_len": 19.0,
|
19 |
+
"eval_loss": 2.201458692550659,
|
20 |
+
"eval_rouge1": 12.1725,
|
21 |
+
"eval_rouge2": 2.4216,
|
22 |
+
"eval_rougeL": 12.077,
|
23 |
+
"eval_rougeLsum": 12.1411,
|
24 |
+
"eval_runtime": 1560.686,
|
25 |
+
"eval_samples_per_second": 8.565,
|
26 |
+
"eval_steps_per_second": 2.141,
|
27 |
+
"step": 10000
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.28,
|
31 |
+
"learning_rate": 4.535611622712307e-05,
|
32 |
+
"loss": 2.4881,
|
33 |
+
"step": 20000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.28,
|
37 |
+
"eval_gen_len": 19.0,
|
38 |
+
"eval_loss": 2.1785953044891357,
|
39 |
+
"eval_rouge1": 12.7586,
|
40 |
+
"eval_rouge2": 2.6851,
|
41 |
+
"eval_rougeL": 12.6518,
|
42 |
+
"eval_rougeLsum": 12.733,
|
43 |
+
"eval_runtime": 1548.5251,
|
44 |
+
"eval_samples_per_second": 8.633,
|
45 |
+
"eval_steps_per_second": 2.158,
|
46 |
+
"step": 20000
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 0.42,
|
50 |
+
"learning_rate": 4.3034174340684604e-05,
|
51 |
+
"loss": 2.459,
|
52 |
+
"step": 30000
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 0.42,
|
56 |
+
"eval_gen_len": 19.0,
|
57 |
+
"eval_loss": 2.1513352394104004,
|
58 |
+
"eval_rouge1": 12.7004,
|
59 |
+
"eval_rouge2": 2.6318,
|
60 |
+
"eval_rougeL": 12.5832,
|
61 |
+
"eval_rougeLsum": 12.668,
|
62 |
+
"eval_runtime": 1564.1475,
|
63 |
+
"eval_samples_per_second": 8.547,
|
64 |
+
"eval_steps_per_second": 2.137,
|
65 |
+
"step": 30000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.56,
|
69 |
+
"learning_rate": 4.071223245424614e-05,
|
70 |
+
"loss": 2.4361,
|
71 |
+
"step": 40000
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 0.56,
|
75 |
+
"eval_gen_len": 19.0,
|
76 |
+
"eval_loss": 2.127916097640991,
|
77 |
+
"eval_rouge1": 13.1946,
|
78 |
+
"eval_rouge2": 2.8216,
|
79 |
+
"eval_rougeL": 13.0738,
|
80 |
+
"eval_rougeLsum": 13.1592,
|
81 |
+
"eval_runtime": 1584.478,
|
82 |
+
"eval_samples_per_second": 8.437,
|
83 |
+
"eval_steps_per_second": 2.109,
|
84 |
+
"step": 40000
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.7,
|
88 |
+
"learning_rate": 3.8390290567807665e-05,
|
89 |
+
"loss": 2.4613,
|
90 |
+
"step": 50000
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 0.7,
|
94 |
+
"eval_gen_len": 19.0,
|
95 |
+
"eval_loss": 2.098001003265381,
|
96 |
+
"eval_rouge1": 12.8818,
|
97 |
+
"eval_rouge2": 2.8541,
|
98 |
+
"eval_rougeL": 12.7484,
|
99 |
+
"eval_rougeLsum": 12.8289,
|
100 |
+
"eval_runtime": 1565.1942,
|
101 |
+
"eval_samples_per_second": 8.541,
|
102 |
+
"eval_steps_per_second": 2.135,
|
103 |
+
"step": 50000
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"epoch": 0.84,
|
107 |
+
"learning_rate": 3.60683486813692e-05,
|
108 |
+
"loss": 2.462,
|
109 |
+
"step": 60000
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 0.84,
|
113 |
+
"eval_gen_len": 19.0,
|
114 |
+
"eval_loss": 2.0897421836853027,
|
115 |
+
"eval_rouge1": 13.1141,
|
116 |
+
"eval_rouge2": 2.8014,
|
117 |
+
"eval_rougeL": 12.9971,
|
118 |
+
"eval_rougeLsum": 13.0729,
|
119 |
+
"eval_runtime": 1561.4037,
|
120 |
+
"eval_samples_per_second": 8.562,
|
121 |
+
"eval_steps_per_second": 2.14,
|
122 |
+
"step": 60000
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 0.98,
|
126 |
+
"learning_rate": 3.374640679493074e-05,
|
127 |
+
"loss": 2.4478,
|
128 |
+
"step": 70000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.98,
|
132 |
+
"eval_gen_len": 19.0,
|
133 |
+
"eval_loss": 2.0858356952667236,
|
134 |
+
"eval_rouge1": 13.4344,
|
135 |
+
"eval_rouge2": 2.8499,
|
136 |
+
"eval_rougeL": 13.3259,
|
137 |
+
"eval_rougeLsum": 13.3837,
|
138 |
+
"eval_runtime": 1559.9208,
|
139 |
+
"eval_samples_per_second": 8.57,
|
140 |
+
"eval_steps_per_second": 2.142,
|
141 |
+
"step": 70000
|
142 |
+
}
|
143 |
+
],
|
144 |
+
"max_steps": 215337,
|
145 |
+
"num_train_epochs": 3,
|
146 |
+
"total_flos": 1.4804990931554304e+17,
|
147 |
+
"trial_name": null,
|
148 |
+
"trial_params": null
|
149 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6cdf79feb16462aaa6f18f133df1146ff7f580dd53b238414315da0603c0b1c
|
3 |
+
size 4091
|