domenicrosati
commited on
Commit
•
4880313
1
Parent(s):
943aa8d
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- paraphrasing
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- paws
|
7 |
+
metrics:
|
8 |
+
- rouge
|
9 |
+
model-index:
|
10 |
+
- name: pegasus-pubmed-finetuned-paws
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Sequence-to-sequence Language Modeling
|
14 |
+
type: text2text-generation
|
15 |
+
dataset:
|
16 |
+
name: paws
|
17 |
+
type: paws
|
18 |
+
args: labeled_final
|
19 |
+
metrics:
|
20 |
+
- name: Rouge1
|
21 |
+
type: rouge
|
22 |
+
value: 56.8108
|
23 |
+
---
|
24 |
+
|
25 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
26 |
+
should probably proofread and complete it, then remove this comment. -->
|
27 |
+
|
28 |
+
# pegasus-pubmed-finetuned-paws
|
29 |
+
|
30 |
+
This model is a fine-tuned version of [google/pegasus-pubmed](https://huggingface.co/google/pegasus-pubmed) on the paws dataset.
|
31 |
+
It achieves the following results on the evaluation set:
|
32 |
+
- Loss: 3.5012
|
33 |
+
- Rouge1: 56.8108
|
34 |
+
- Rouge2: 36.2576
|
35 |
+
- Rougel: 51.1666
|
36 |
+
- Rougelsum: 51.2193
|
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: 0.0001
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 8
|
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 |
+
- mixed_precision_training: Native AMP
|
63 |
+
- label_smoothing_factor: 0.1
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|
|
69 |
+
| No log | 0.73 | 1000 | 3.8839 | 51.2731 | 29.8072 | 45.767 | 45.5732 |
|
70 |
+
| 4.071 | 1.47 | 2000 | 3.6459 | 52.756 | 31.9185 | 48.0092 | 48.0544 |
|
71 |
+
| 3.5467 | 2.2 | 3000 | 3.5849 | 54.8127 | 33.1959 | 49.326 | 49.4971 |
|
72 |
+
| 3.5467 | 2.93 | 4000 | 3.5267 | 55.387 | 33.9516 | 50.683 | 50.6313 |
|
73 |
+
| 3.3654 | 3.66 | 5000 | 3.5031 | 57.5279 | 35.2664 | 51.9903 | 52.258 |
|
74 |
+
| 3.2844 | 4.4 | 6000 | 3.5296 | 56.0536 | 33.395 | 50.9909 | 51.244 |
|
75 |
+
|
76 |
+
|
77 |
+
### Framework versions
|
78 |
+
|
79 |
+
- Transformers 4.18.0
|
80 |
+
- Pytorch 1.11.0
|
81 |
+
- Datasets 2.1.0
|
82 |
+
- Tokenizers 0.12.1
|