Model save
Browse files- README.md +88 -0
- generation_config.json +9 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-sa-4.0
|
3 |
+
base_model: retrieva-jp/t5-base-long
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- xlsum
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: t5-base-xlsum-ja
|
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: japanese
|
20 |
+
split: train
|
21 |
+
args: japanese
|
22 |
+
metrics:
|
23 |
+
- name: Rouge1
|
24 |
+
type: rouge
|
25 |
+
value: 0.3648008957585529
|
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 |
+
# t5-base-xlsum-ja
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [retrieva-jp/t5-base-long](https://huggingface.co/retrieva-jp/t5-base-long) on the xlsum dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 2.6563
|
36 |
+
- Rouge1: 0.3648
|
37 |
+
- Rouge2: 0.1641
|
38 |
+
- Rougel: 0.2965
|
39 |
+
- Rougelsum: 0.3132
|
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: 0.0001
|
59 |
+
- train_batch_size: 8
|
60 |
+
- eval_batch_size: 8
|
61 |
+
- seed: 42
|
62 |
+
- gradient_accumulation_steps: 16
|
63 |
+
- total_train_batch_size: 128
|
64 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
65 |
+
- lr_scheduler_type: cosine
|
66 |
+
- lr_scheduler_warmup_ratio: 0.01
|
67 |
+
- num_epochs: 15
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
72 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
73 |
+
| 4.9166 | 1.8 | 100 | 3.4095 | 0.3569 | 0.1509 | 0.2416 | 0.3209 |
|
74 |
+
| 4.1162 | 3.61 | 200 | 3.0980 | 0.3262 | 0.1354 | 0.2557 | 0.2805 |
|
75 |
+
| 3.8578 | 5.41 | 300 | 2.8853 | 0.3428 | 0.1445 | 0.2628 | 0.2881 |
|
76 |
+
| 3.7309 | 7.22 | 400 | 2.7714 | 0.3621 | 0.1615 | 0.2951 | 0.3151 |
|
77 |
+
| 3.6716 | 9.02 | 500 | 2.7042 | 0.3727 | 0.1668 | 0.2982 | 0.3225 |
|
78 |
+
| 3.6393 | 10.82 | 600 | 2.6666 | 0.3676 | 0.1592 | 0.2987 | 0.3206 |
|
79 |
+
| 3.6291 | 12.63 | 700 | 2.6587 | 0.3654 | 0.1576 | 0.2955 | 0.3108 |
|
80 |
+
| 3.6224 | 14.43 | 800 | 2.6563 | 0.3648 | 0.1641 | 0.2965 | 0.3132 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.34.0
|
86 |
+
- Pytorch 2.0.0+cu118
|
87 |
+
- Datasets 2.14.5
|
88 |
+
- Tokenizers 0.14.0
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"max_length": 128,
|
5 |
+
"no_repeat_ngram_size": 2,
|
6 |
+
"num_beams": 15,
|
7 |
+
"pad_token_id": 0,
|
8 |
+
"transformers_version": "4.34.0"
|
9 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 495253173
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb70eb98c3ad2fafe4a30430240046249ed786073e6e23d23b525fcddc6892bb
|
3 |
size 495253173
|