SashkoMolodec
commited on
Commit
•
3c7ee96
1
Parent(s):
b83b532
initial commit
Browse files- config.json +29 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- spiece.model +3 -0
- tokenizer_config.json +1 -0
- trainer_state.json +91 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "kravchenko/uk-mt5-small",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"d_ff": 1024,
|
7 |
+
"d_kv": 64,
|
8 |
+
"d_model": 512,
|
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": 8,
|
18 |
+
"num_heads": 6,
|
19 |
+
"num_layers": 8,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"relative_attention_max_distance": 128,
|
22 |
+
"relative_attention_num_buckets": 32,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"tokenizer_class": "T5Tokenizer",
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.19.4",
|
27 |
+
"use_cache": false,
|
28 |
+
"vocab_size": 30000
|
29 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:00edb6f414e0a81a28dae3c986dbc722b7391fc59e7679f63fc1bc90f300ed7e
|
3 |
+
size 1117153
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2afe48ae31e3a7e68172706b28641fcdb246e3779445daca8bdae0b0862fa98e
|
3 |
+
size 299192133
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5bcedb333a411722c0a95ed37041e6df857ca2b31077070e9158a44e1e89285
|
3 |
+
size 14503
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67d50f8434430bd7dd79cfa80b767cae15899670ea53d7b5f20c3f3495ff8d45
|
3 |
+
size 623
|
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:fa8ea53d190098f2632bd1c44b62731a90a9257a96081183c1a361a24f7ea8ff
|
3 |
+
size 804017
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "extra_ids": 0, "additional_special_tokens": null, "sp_model_kwargs": {}, "special_tokens_map_file": "/root/.cache/huggingface/transformers/7d115a6774b803276ce282b932e5802b0b6329001c4bc36e2b9bc26ec9276c0c.294ebaa4cd17bb284635004c92d2c4d522ec488c828dcce0c2471b6f28e3fe82", "name_or_path": "kravchenko/uk-mt5-small", "tokenizer_class": "T5Tokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.31844088435173035,
|
3 |
+
"best_model_checkpoint": "uk-mt5-small-gec/checkpoint-1000",
|
4 |
+
"epoch": 3.802281368821293,
|
5 |
+
"global_step": 1000,
|
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.76,
|
12 |
+
"learning_rate": 0.0009239543726235742,
|
13 |
+
"loss": 1.6591,
|
14 |
+
"step": 200
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.76,
|
18 |
+
"eval_google_bleu": 0.41810232396378044,
|
19 |
+
"eval_loss": 0.3892889618873596,
|
20 |
+
"eval_runtime": 37.9895,
|
21 |
+
"eval_samples_per_second": 49.224,
|
22 |
+
"eval_steps_per_second": 1.553,
|
23 |
+
"step": 200
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 1.52,
|
27 |
+
"learning_rate": 0.0008479087452471484,
|
28 |
+
"loss": 0.4151,
|
29 |
+
"step": 400
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 1.52,
|
33 |
+
"eval_google_bleu": 0.42063669574293594,
|
34 |
+
"eval_loss": 0.3223673403263092,
|
35 |
+
"eval_runtime": 37.3371,
|
36 |
+
"eval_samples_per_second": 50.084,
|
37 |
+
"eval_steps_per_second": 1.58,
|
38 |
+
"step": 400
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 2.28,
|
42 |
+
"learning_rate": 0.0007718631178707225,
|
43 |
+
"loss": 0.3459,
|
44 |
+
"step": 600
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 2.28,
|
48 |
+
"eval_google_bleu": 0.421165716556752,
|
49 |
+
"eval_loss": 0.32651257514953613,
|
50 |
+
"eval_runtime": 37.2905,
|
51 |
+
"eval_samples_per_second": 50.147,
|
52 |
+
"eval_steps_per_second": 1.582,
|
53 |
+
"step": 600
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 3.04,
|
57 |
+
"learning_rate": 0.0006958174904942966,
|
58 |
+
"loss": 0.3001,
|
59 |
+
"step": 800
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 3.04,
|
63 |
+
"eval_google_bleu": 0.4227517103515067,
|
64 |
+
"eval_loss": 0.3188486397266388,
|
65 |
+
"eval_runtime": 37.7047,
|
66 |
+
"eval_samples_per_second": 49.596,
|
67 |
+
"eval_steps_per_second": 1.565,
|
68 |
+
"step": 800
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 3.8,
|
72 |
+
"learning_rate": 0.0006197718631178707,
|
73 |
+
"loss": 0.2519,
|
74 |
+
"step": 1000
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 3.8,
|
78 |
+
"eval_google_bleu": 0.42282362881781355,
|
79 |
+
"eval_loss": 0.31844088435173035,
|
80 |
+
"eval_runtime": 37.2519,
|
81 |
+
"eval_samples_per_second": 50.199,
|
82 |
+
"eval_steps_per_second": 1.584,
|
83 |
+
"step": 1000
|
84 |
+
}
|
85 |
+
],
|
86 |
+
"max_steps": 2630,
|
87 |
+
"num_train_epochs": 10,
|
88 |
+
"total_flos": 2073623000297472.0,
|
89 |
+
"trial_name": null,
|
90 |
+
"trial_params": null
|
91 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:746c97bafc69da2b2698f396394f095a9105a530638bde3ce5ecd10af8ac6e76
|
3 |
+
size 3247
|