luo
commited on
Commit
•
b88ca75
1
Parent(s):
47e1645
Training complete
Browse files- README.md +85 -0
- generation_config.json +7 -0
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: kravchenko/uk-mt5-base
|
3 |
+
tags:
|
4 |
+
- summarization
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- xlsum
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: uk-mt5-base-xlsum
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Sequence-to-sequence Language Modeling
|
15 |
+
type: text2text-generation
|
16 |
+
dataset:
|
17 |
+
name: xlsum
|
18 |
+
type: xlsum
|
19 |
+
config: ukrainian
|
20 |
+
split: validation
|
21 |
+
args: ukrainian
|
22 |
+
metrics:
|
23 |
+
- name: Rouge1
|
24 |
+
type: rouge
|
25 |
+
value: 3.8556
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# uk-mt5-base-xlsum
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [kravchenko/uk-mt5-base](https://huggingface.co/kravchenko/uk-mt5-base) on the xlsum dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 2.3660
|
36 |
+
- Rouge1: 3.8556
|
37 |
+
- Rouge2: 1.5556
|
38 |
+
- Rougel: 3.7833
|
39 |
+
- Rougelsum: 3.6889
|
40 |
+
|
41 |
+
## Model description
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Intended uses & limitations
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training and evaluation data
|
50 |
+
|
51 |
+
More information needed
|
52 |
+
|
53 |
+
## Training procedure
|
54 |
+
|
55 |
+
### Training hyperparameters
|
56 |
+
|
57 |
+
The following hyperparameters were used during training:
|
58 |
+
- learning_rate: 5.6e-05
|
59 |
+
- train_batch_size: 4
|
60 |
+
- eval_batch_size: 4
|
61 |
+
- seed: 42
|
62 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- num_epochs: 8
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
70 |
+
| 5.31 | 1.0 | 375 | 2.5055 | 2.3333 | 0.8 | 2.3143 | 2.3238 |
|
71 |
+
| 3.254 | 2.0 | 750 | 2.4034 | 3.5444 | 1.1111 | 3.5333 | 3.4833 |
|
72 |
+
| 2.9813 | 3.0 | 1125 | 2.3844 | 3.7278 | 1.4444 | 3.6889 | 3.6333 |
|
73 |
+
| 2.8117 | 4.0 | 1500 | 2.3785 | 3.3222 | 1.1111 | 3.2556 | 3.2167 |
|
74 |
+
| 2.681 | 5.0 | 1875 | 2.3671 | 4.1667 | 1.5556 | 4.0667 | 4.0444 |
|
75 |
+
| 2.5825 | 6.0 | 2250 | 2.3705 | 3.6889 | 1.5556 | 3.6 | 3.5333 |
|
76 |
+
| 2.5151 | 7.0 | 2625 | 2.3654 | 3.6889 | 1.5556 | 3.6 | 3.5333 |
|
77 |
+
| 2.4798 | 8.0 | 3000 | 2.3660 | 3.8556 | 1.5556 | 3.7833 | 3.6889 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.34.0
|
83 |
+
- Pytorch 2.0.1+cu118
|
84 |
+
- Datasets 2.14.5
|
85 |
+
- Tokenizers 0.14.1
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.34.0",
|
6 |
+
"use_cache": false
|
7 |
+
}
|