Kevincp560
commited on
Commit
•
783ba78
1
Parent(s):
2a55266
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- pub_med_summarization_dataset
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: pegasus-large-finetuned-Pubmed
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
name: Sequence-to-sequence Language Modeling
|
13 |
+
type: text2text-generation
|
14 |
+
dataset:
|
15 |
+
name: pub_med_summarization_dataset
|
16 |
+
type: pub_med_summarization_dataset
|
17 |
+
args: document
|
18 |
+
metrics:
|
19 |
+
- name: Rouge1
|
20 |
+
type: rouge
|
21 |
+
value: 39.1107
|
22 |
+
---
|
23 |
+
|
24 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
25 |
+
should probably proofread and complete it, then remove this comment. -->
|
26 |
+
|
27 |
+
# pegasus-large-finetuned-Pubmed
|
28 |
+
|
29 |
+
This model is a fine-tuned version of [google/pegasus-large](https://huggingface.co/google/pegasus-large) on the pub_med_summarization_dataset dataset.
|
30 |
+
It achieves the following results on the evaluation set:
|
31 |
+
- Loss: 1.7669
|
32 |
+
- Rouge1: 39.1107
|
33 |
+
- Rouge2: 15.4127
|
34 |
+
- Rougel: 24.3729
|
35 |
+
- Rougelsum: 35.1236
|
36 |
+
- Gen Len: 226.594
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 2e-05
|
56 |
+
- train_batch_size: 2
|
57 |
+
- eval_batch_size: 2
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 5
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
|
67 |
+
| 2.065 | 1.0 | 1000 | 1.8262 | 37.1986 | 14.3685 | 23.7153 | 33.0713 | 218.902 |
|
68 |
+
| 1.9552 | 2.0 | 2000 | 1.7933 | 38.0663 | 14.7813 | 23.8412 | 33.9574 | 217.488 |
|
69 |
+
| 1.8983 | 3.0 | 3000 | 1.7768 | 38.3975 | 15.0983 | 24.0247 | 34.314 | 222.32 |
|
70 |
+
| 1.882 | 4.0 | 4000 | 1.7687 | 39.1311 | 15.4167 | 24.2978 | 35.078 | 222.564 |
|
71 |
+
| 1.8456 | 5.0 | 5000 | 1.7669 | 39.1107 | 15.4127 | 24.3729 | 35.1236 | 226.594 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.17.0
|
77 |
+
- Pytorch 1.9.1
|
78 |
+
- Datasets 1.18.4
|
79 |
+
- Tokenizers 0.11.6
|