chunwoolee0
commited on
Commit
•
00f0d03
1
Parent(s):
ee480a9
End of training
Browse files- README.md +89 -0
- generation_config.json +6 -0
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/mt5-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- kde4
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
- sacrebleu
|
11 |
+
model-index:
|
12 |
+
- name: mt5_small_kde4_en_ko
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Sequence-to-sequence Language Modeling
|
16 |
+
type: text2text-generation
|
17 |
+
dataset:
|
18 |
+
name: kde4
|
19 |
+
type: kde4
|
20 |
+
config: en-ko
|
21 |
+
split: train
|
22 |
+
args: en-ko
|
23 |
+
metrics:
|
24 |
+
- name: Rouge1
|
25 |
+
type: rouge
|
26 |
+
value: 0.0832
|
27 |
+
- name: Sacrebleu
|
28 |
+
type: sacrebleu
|
29 |
+
value: 3.3559
|
30 |
+
---
|
31 |
+
|
32 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
33 |
+
should probably proofread and complete it, then remove this comment. -->
|
34 |
+
|
35 |
+
# mt5_small_kde4_en_ko
|
36 |
+
|
37 |
+
This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on the kde4 dataset.
|
38 |
+
It achieves the following results on the evaluation set:
|
39 |
+
- Loss: 3.1644
|
40 |
+
- Rouge1: 0.0832
|
41 |
+
- Rouge2: 0.0195
|
42 |
+
- Rougel: 0.0826
|
43 |
+
- Sacrebleu: 3.3559
|
44 |
+
|
45 |
+
## Model description
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Intended uses & limitations
|
50 |
+
|
51 |
+
More information needed
|
52 |
+
|
53 |
+
## Training and evaluation data
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Training procedure
|
58 |
+
|
59 |
+
### Training hyperparameters
|
60 |
+
|
61 |
+
The following hyperparameters were used during training:
|
62 |
+
- learning_rate: 2e-05
|
63 |
+
- train_batch_size: 8
|
64 |
+
- eval_batch_size: 8
|
65 |
+
- seed: 42
|
66 |
+
- gradient_accumulation_steps: 8
|
67 |
+
- total_train_batch_size: 64
|
68 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
69 |
+
- lr_scheduler_type: linear
|
70 |
+
- num_epochs: 3
|
71 |
+
|
72 |
+
### Training results
|
73 |
+
|
74 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Sacrebleu |
|
75 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
76 |
+
| 15.8735 | 0.46 | 500 | 6.5322 | 0.0101 | 0.0004 | 0.0102 | 0.464 |
|
77 |
+
| 7.183 | 0.93 | 1000 | 4.2298 | 0.0203 | 0.0012 | 0.02 | 0.6102 |
|
78 |
+
| 5.4447 | 1.39 | 1500 | 3.5600 | 0.0399 | 0.005 | 0.0396 | 1.5798 |
|
79 |
+
| 4.8372 | 1.85 | 2000 | 3.3343 | 0.0537 | 0.0088 | 0.0533 | 3.0115 |
|
80 |
+
| 4.5579 | 2.32 | 2500 | 3.2131 | 0.0732 | 0.016 | 0.0729 | 3.3743 |
|
81 |
+
| 4.4532 | 2.78 | 3000 | 3.1644 | 0.0832 | 0.0195 | 0.0826 | 3.3559 |
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
|
86 |
+
- Transformers 4.32.0
|
87 |
+
- Pytorch 2.0.1+cu118
|
88 |
+
- Datasets 2.14.4
|
89 |
+
- Tokenizers 0.13.3
|
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.32.0"
|
6 |
+
}
|