zwellington
commited on
Commit
•
9ea9f2c
1
Parent(s):
acfa6c1
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/bart-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- clupubhealth
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: pubhealth-expanded-2
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Sequence-to-sequence Language Modeling
|
15 |
+
type: text2text-generation
|
16 |
+
dataset:
|
17 |
+
name: clupubhealth
|
18 |
+
type: clupubhealth
|
19 |
+
config: expanded
|
20 |
+
split: test
|
21 |
+
args: expanded
|
22 |
+
metrics:
|
23 |
+
- name: Rouge1
|
24 |
+
type: rouge
|
25 |
+
value: 30.8894
|
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 |
+
# pubhealth-expanded-2
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on the clupubhealth dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 2.0350
|
36 |
+
- Rouge1: 30.8894
|
37 |
+
- Rouge2: 11.1867
|
38 |
+
- Rougel: 23.9147
|
39 |
+
- Rougelsum: 24.1629
|
40 |
+
- Gen Len: 19.92
|
41 |
+
|
42 |
+
## Model description
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Intended uses & limitations
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training and evaluation data
|
51 |
+
|
52 |
+
More information needed
|
53 |
+
|
54 |
+
## Training procedure
|
55 |
+
|
56 |
+
### Training hyperparameters
|
57 |
+
|
58 |
+
The following hyperparameters were used during training:
|
59 |
+
- learning_rate: 2e-05
|
60 |
+
- train_batch_size: 16
|
61 |
+
- eval_batch_size: 8
|
62 |
+
- seed: 42
|
63 |
+
- gradient_accumulation_steps: 2
|
64 |
+
- total_train_batch_size: 32
|
65 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
66 |
+
- lr_scheduler_type: linear
|
67 |
+
- num_epochs: 1
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
72 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
|
73 |
+
| 2.8605 | 0.15 | 300 | 2.1208 | 28.8603 | 10.8357 | 23.0659 | 23.2449 | 19.91 |
|
74 |
+
| 2.7424 | 0.31 | 600 | 2.0667 | 31.4167 | 11.8643 | 24.7631 | 25.1062 | 19.83 |
|
75 |
+
| 2.6133 | 0.46 | 900 | 2.0508 | 30.8362 | 11.7188 | 23.8637 | 24.0363 | 19.92 |
|
76 |
+
| 2.5378 | 0.62 | 1200 | 2.0295 | 32.2237 | 12.4404 | 25.5336 | 25.847 | 19.875 |
|
77 |
+
| 2.5218 | 0.77 | 1500 | 2.0379 | 32.0398 | 11.9383 | 25.0801 | 25.2798 | 19.9 |
|
78 |
+
| 2.4902 | 0.93 | 1800 | 2.0350 | 30.8894 | 11.1867 | 23.9147 | 24.1629 | 19.92 |
|
79 |
+
|
80 |
+
|
81 |
+
### Framework versions
|
82 |
+
|
83 |
+
- Transformers 4.31.0
|
84 |
+
- Pytorch 2.0.1+cu117
|
85 |
+
- Datasets 2.7.1
|
86 |
+
- Tokenizers 0.13.2
|