zwellington
commited on
Commit
•
8781c08
1
Parent(s):
9778248
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/bart-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- clupubhealth
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: pubhealth-expanded-1
|
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: 28.6755
|
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-1
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the clupubhealth dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 2.3198
|
36 |
+
- Rouge1: 28.6755
|
37 |
+
- Rouge2: 9.2869
|
38 |
+
- Rougel: 21.9675
|
39 |
+
- Rougelsum: 22.2946
|
40 |
+
- Gen Len: 19.85
|
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: 12
|
61 |
+
- eval_batch_size: 4
|
62 |
+
- seed: 42
|
63 |
+
- gradient_accumulation_steps: 10
|
64 |
+
- total_train_batch_size: 120
|
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 |
+
| 3.6788 | 0.08 | 40 | 2.3758 | 29.5273 | 9.3588 | 22.4799 | 22.6212 | 19.835 |
|
74 |
+
| 3.4222 | 0.15 | 80 | 2.3484 | 29.0821 | 9.1988 | 22.3907 | 22.5996 | 19.88 |
|
75 |
+
| 3.3605 | 0.23 | 120 | 2.3500 | 29.2893 | 9.296 | 22.1247 | 22.4075 | 19.94 |
|
76 |
+
| 3.3138 | 0.31 | 160 | 2.3504 | 29.039 | 8.907 | 21.9631 | 22.2506 | 19.91 |
|
77 |
+
| 3.2678 | 0.39 | 200 | 2.3461 | 29.678 | 9.4429 | 22.3439 | 22.6962 | 19.92 |
|
78 |
+
| 3.2371 | 0.46 | 240 | 2.3267 | 28.535 | 9.1858 | 21.3721 | 21.6634 | 19.915 |
|
79 |
+
| 3.204 | 0.54 | 280 | 2.3330 | 29.0796 | 9.4283 | 21.8953 | 22.1867 | 19.885 |
|
80 |
+
| 3.1881 | 0.62 | 320 | 2.3164 | 29.1456 | 9.1919 | 21.9529 | 22.235 | 19.945 |
|
81 |
+
| 3.1711 | 0.69 | 360 | 2.3208 | 29.3212 | 9.4823 | 22.1643 | 22.4159 | 19.895 |
|
82 |
+
| 3.1752 | 0.77 | 400 | 2.3239 | 29.0408 | 9.3615 | 21.8007 | 22.0795 | 19.945 |
|
83 |
+
| 3.1591 | 0.85 | 440 | 2.3218 | 28.6336 | 9.2799 | 21.5843 | 21.9422 | 19.845 |
|
84 |
+
| 3.1663 | 0.93 | 480 | 2.3198 | 28.6755 | 9.2869 | 21.9675 | 22.2946 | 19.85 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.31.0
|
90 |
+
- Pytorch 2.0.1+cu117
|
91 |
+
- Datasets 2.7.1
|
92 |
+
- Tokenizers 0.13.2
|