update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- samsum
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: pegasus-xsum-finetuned-samsum-v2
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
name: Sequence-to-sequence Language Modeling
|
13 |
+
type: text2text-generation
|
14 |
+
dataset:
|
15 |
+
name: samsum
|
16 |
+
type: samsum
|
17 |
+
config: samsum
|
18 |
+
split: train
|
19 |
+
args: samsum
|
20 |
+
metrics:
|
21 |
+
- name: Rouge1
|
22 |
+
type: rouge
|
23 |
+
value: 48.6788
|
24 |
+
---
|
25 |
+
|
26 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
27 |
+
should probably proofread and complete it, then remove this comment. -->
|
28 |
+
|
29 |
+
# pegasus-xsum-finetuned-samsum-v2
|
30 |
+
|
31 |
+
This model is a fine-tuned version of [google/pegasus-xsum](https://huggingface.co/google/pegasus-xsum) on the samsum dataset.
|
32 |
+
It achieves the following results on the evaluation set:
|
33 |
+
- Loss: 1.5349
|
34 |
+
- Rouge1: 48.6788
|
35 |
+
- Rouge2: 24.4294
|
36 |
+
- Rougel: 40.7392
|
37 |
+
- Rougelsum: 44.5412
|
38 |
+
- Gen Len: 17.4976
|
39 |
+
|
40 |
+
## Model description
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Intended uses & limitations
|
45 |
+
|
46 |
+
More information needed
|
47 |
+
|
48 |
+
## Training and evaluation data
|
49 |
+
|
50 |
+
More information needed
|
51 |
+
|
52 |
+
## Training procedure
|
53 |
+
|
54 |
+
### Training hyperparameters
|
55 |
+
|
56 |
+
The following hyperparameters were used during training:
|
57 |
+
- learning_rate: 2e-05
|
58 |
+
- train_batch_size: 4
|
59 |
+
- eval_batch_size: 4
|
60 |
+
- seed: 42
|
61 |
+
- gradient_accumulation_steps: 2
|
62 |
+
- total_train_batch_size: 8
|
63 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
64 |
+
- lr_scheduler_type: linear
|
65 |
+
- num_epochs: 1
|
66 |
+
- mixed_precision_training: Native AMP
|
67 |
+
|
68 |
+
### Training results
|
69 |
+
|
70 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
71 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
|
72 |
+
| 1.7107 | 1.0 | 1841 | 1.5349 | 48.6788 | 24.4294 | 40.7392 | 44.5412 | 17.4976 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.24.0
|
78 |
+
- Pytorch 1.12.1+cu113
|
79 |
+
- Datasets 2.7.1
|
80 |
+
- Tokenizers 0.13.2
|