luo
commited on
Commit
•
44ebe50
1
Parent(s):
55611cf
Training complete
Browse files- README.md +86 -0
- generation_config.json +6 -0
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/mt5-small
|
4 |
+
tags:
|
5 |
+
- summarization
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- xlsum
|
9 |
+
metrics:
|
10 |
+
- rouge
|
11 |
+
model-index:
|
12 |
+
- name: mt5-small-xlsum
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Sequence-to-sequence Language Modeling
|
16 |
+
type: text2text-generation
|
17 |
+
dataset:
|
18 |
+
name: xlsum
|
19 |
+
type: xlsum
|
20 |
+
config: ukrainian
|
21 |
+
split: train
|
22 |
+
args: ukrainian
|
23 |
+
metrics:
|
24 |
+
- name: Rouge1
|
25 |
+
type: rouge
|
26 |
+
value: 1.1945
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# mt5-small-xlsum
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on the xlsum dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 2.8395
|
37 |
+
- Rouge1: 1.1945
|
38 |
+
- Rouge2: 0.1467
|
39 |
+
- Rougel: 1.1902
|
40 |
+
- Rougelsum: 1.196
|
41 |
+
|
42 |
+
## Model description
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Intended uses & limitations
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training and evaluation data
|
51 |
+
|
52 |
+
More information needed
|
53 |
+
|
54 |
+
## Training procedure
|
55 |
+
|
56 |
+
### Training hyperparameters
|
57 |
+
|
58 |
+
The following hyperparameters were used during training:
|
59 |
+
- learning_rate: 5.6e-05
|
60 |
+
- train_batch_size: 8
|
61 |
+
- eval_batch_size: 8
|
62 |
+
- seed: 42
|
63 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
64 |
+
- lr_scheduler_type: linear
|
65 |
+
- num_epochs: 8
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
71 |
+
| 11.9992 | 1.0 | 125 | 4.0495 | 0.3829 | 0.0 | 0.3905 | 0.3905 |
|
72 |
+
| 5.8176 | 2.0 | 250 | 3.3431 | 0.491 | 0.0667 | 0.4988 | 0.4821 |
|
73 |
+
| 4.9907 | 3.0 | 375 | 3.1548 | 0.6481 | 0.08 | 0.6766 | 0.6655 |
|
74 |
+
| 4.6486 | 4.0 | 500 | 3.0347 | 1.0105 | 0.1467 | 1.0398 | 1.0274 |
|
75 |
+
| 4.4541 | 5.0 | 625 | 2.9414 | 0.9581 | 0.1467 | 0.951 | 0.9643 |
|
76 |
+
| 4.3195 | 6.0 | 750 | 2.8837 | 1.1129 | 0.1467 | 1.1245 | 1.1193 |
|
77 |
+
| 4.2618 | 7.0 | 875 | 2.8473 | 1.1019 | 0.1467 | 1.1048 | 1.1224 |
|
78 |
+
| 4.2228 | 8.0 | 1000 | 2.8395 | 1.1945 | 0.1467 | 1.1902 | 1.196 |
|
79 |
+
|
80 |
+
|
81 |
+
### Framework versions
|
82 |
+
|
83 |
+
- Transformers 4.34.0
|
84 |
+
- Pytorch 2.0.1+cu118
|
85 |
+
- Datasets 2.14.5
|
86 |
+
- Tokenizers 0.14.1
|
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.34.0"
|
6 |
+
}
|