End of training
Browse files- README.md +79 -0
- config.json +33 -0
- generation_config.json +7 -0
- logs/events.out.tfevents.1704894198.ESBeastModeOn.10684.0 +3 -0
- logs/events.out.tfevents.1704894235.ESBeastModeOn.17524.0 +3 -0
- logs/events.out.tfevents.1704895563.ESBeastModeOn.16636.0 +3 -0
- logs/events.out.tfevents.1704896726.ESBeastModeOn.8472.0 +3 -0
- logs/events.out.tfevents.1704897981.ESBeastModeOn.33432.0 +3 -0
- model.safetensors +3 -0
- special_tokens_map.json +23 -0
- spiece.model +3 -0
- tokenizer_config.json +38 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/mt5-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: mT5-lithuanian-simplifier
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# mT5-lithuanian-simplifier
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google/mt5-base](https://huggingface.co/google/mt5-base) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.0687
|
21 |
+
- Rouge1: 0.7322
|
22 |
+
- Rouge2: 0.5833
|
23 |
+
- Rougel: 0.7261
|
24 |
+
- Gen Len: 34.6325
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 0.0001
|
44 |
+
- train_batch_size: 4
|
45 |
+
- eval_batch_size: 4
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- lr_scheduler_warmup_steps: 500
|
50 |
+
- num_epochs: 8
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Gen Len |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:-------:|
|
56 |
+
| 23.3756 | 0.48 | 200 | 16.6054 | 0.011 | 0.0006 | 0.0105 | 512.0 |
|
57 |
+
| 1.435 | 0.96 | 400 | 0.5767 | 0.1436 | 0.0387 | 0.1307 | 39.0358 |
|
58 |
+
| 0.2269 | 1.44 | 600 | 0.1658 | 0.4744 | 0.317 | 0.4631 | 34.6325 |
|
59 |
+
| 0.1709 | 1.91 | 800 | 0.1030 | 0.5865 | 0.4231 | 0.577 | 34.6325 |
|
60 |
+
| 0.1311 | 2.39 | 1000 | 0.0923 | 0.6245 | 0.4626 | 0.6173 | 34.6325 |
|
61 |
+
| 0.1196 | 2.87 | 1200 | 0.0851 | 0.6759 | 0.5159 | 0.6681 | 34.6325 |
|
62 |
+
| 0.1156 | 3.35 | 1400 | 0.0761 | 0.6927 | 0.5288 | 0.6845 | 34.6325 |
|
63 |
+
| 0.0897 | 3.83 | 1600 | 0.0756 | 0.698 | 0.5352 | 0.6906 | 34.6325 |
|
64 |
+
| 0.1149 | 4.31 | 1800 | 0.0738 | 0.7085 | 0.55 | 0.7022 | 34.6325 |
|
65 |
+
| 0.0967 | 4.78 | 2000 | 0.0725 | 0.7187 | 0.5632 | 0.712 | 34.6325 |
|
66 |
+
| 0.1097 | 5.26 | 2200 | 0.0703 | 0.7214 | 0.5645 | 0.7143 | 34.6325 |
|
67 |
+
| 0.0852 | 5.74 | 2400 | 0.0708 | 0.7241 | 0.5724 | 0.7176 | 34.6325 |
|
68 |
+
| 0.0537 | 6.22 | 2600 | 0.0693 | 0.7285 | 0.578 | 0.7217 | 34.6325 |
|
69 |
+
| 0.0866 | 6.7 | 2800 | 0.0698 | 0.7277 | 0.5795 | 0.7216 | 34.6325 |
|
70 |
+
| 0.0692 | 7.18 | 3000 | 0.0685 | 0.7336 | 0.5849 | 0.7274 | 34.6325 |
|
71 |
+
| 0.0786 | 7.66 | 3200 | 0.0687 | 0.7322 | 0.5833 | 0.7261 | 34.6325 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.36.2
|
77 |
+
- Pytorch 2.1.1
|
78 |
+
- Datasets 2.16.1
|
79 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/mt5-base",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2048,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 768,
|
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": "t5",
|
20 |
+
"num_decoder_layers": 12,
|
21 |
+
"num_heads": 12,
|
22 |
+
"num_layers": 12,
|
23 |
+
"output_past": true,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"relative_attention_max_distance": 128,
|
26 |
+
"relative_attention_num_buckets": 32,
|
27 |
+
"tie_word_embeddings": false,
|
28 |
+
"tokenizer_class": "T5Tokenizer",
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.36.2",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 250112
|
33 |
+
}
|
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.36.2"
|
7 |
+
}
|
logs/events.out.tfevents.1704894198.ESBeastModeOn.10684.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:511941aa57114e7236db160c83e77a7d33a7703c394c92b8953346cd5436d255
|
3 |
+
size 4521
|
logs/events.out.tfevents.1704894235.ESBeastModeOn.17524.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69dae65638910e1cd053aec0e58f6067943d4a691c1da57221070a45e837cdd8
|
3 |
+
size 6215
|
logs/events.out.tfevents.1704895563.ESBeastModeOn.16636.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d01f53d81dda833ce66b2576fe94aa207564a96880a19779394fb15e305df4d
|
3 |
+
size 5944
|
logs/events.out.tfevents.1704896726.ESBeastModeOn.8472.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b680ba13bb90db5cab0df75095c9d7238d8c47152404efc1781d8dce6e24d5fe
|
3 |
+
size 5676
|
logs/events.out.tfevents.1704897981.ESBeastModeOn.33432.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e53cb48e7a0f265f34ff22903716bec1a1e4cf52b9f7c735abc082a4ddbbc7aa
|
3 |
+
size 64865
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d12525e7424a11a92f510abb750e793abcb13350346b77fe129cd08a5b7b0d10
|
3 |
+
size 2329638768
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": {
|
3 |
+
"content": "</s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"pad_token": {
|
10 |
+
"content": "<pad>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
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,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<pad>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "</s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<unk>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
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 |
+
"unk_token": "<unk>"
|
38 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d135115d7ef77740119c78a5378803a65c68d59f93430fb00a4c67a6488f2719
|
3 |
+
size 4728
|