update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- billsum
|
7 |
+
metrics:
|
8 |
+
- rouge
|
9 |
+
model-index:
|
10 |
+
- name: bart-large-cnn-small-billsum-3epochs
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Sequence-to-sequence Language Modeling
|
14 |
+
type: text2text-generation
|
15 |
+
dataset:
|
16 |
+
name: billsum
|
17 |
+
type: billsum
|
18 |
+
config: default
|
19 |
+
split: train
|
20 |
+
args: default
|
21 |
+
metrics:
|
22 |
+
- name: Rouge1
|
23 |
+
type: rouge
|
24 |
+
value: 0.5409
|
25 |
+
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# bart-large-cnn-small-billsum-3epochs
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on the billsum dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 1.7523
|
35 |
+
- Rouge1: 0.5409
|
36 |
+
- Rouge2: 0.3112
|
37 |
+
- Rougel: 0.3929
|
38 |
+
- Rougelsum: 0.4633
|
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: 2.5764683748161164e-05
|
58 |
+
- train_batch_size: 4
|
59 |
+
- eval_batch_size: 8
|
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 |
+
- lr_scheduler_warmup_steps: 16
|
66 |
+
- num_epochs: 3
|
67 |
+
- mixed_precision_training: Native AMP
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
72 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
73 |
+
| 2.7132 | 0.32 | 8 | 2.2000 | 0.4619 | 0.2328 | 0.3201 | 0.3939 |
|
74 |
+
| 2.236 | 0.64 | 16 | 1.9705 | 0.499 | 0.2768 | 0.3651 | 0.4216 |
|
75 |
+
| 2.1109 | 0.96 | 24 | 1.8845 | 0.5214 | 0.2974 | 0.3844 | 0.4417 |
|
76 |
+
| 1.7663 | 1.28 | 32 | 1.8211 | 0.5226 | 0.2935 | 0.3718 | 0.4479 |
|
77 |
+
| 1.7838 | 1.6 | 40 | 1.7981 | 0.5338 | 0.3001 | 0.383 | 0.4466 |
|
78 |
+
| 1.5229 | 1.92 | 48 | 1.7625 | 0.5299 | 0.3012 | 0.3839 | 0.4494 |
|
79 |
+
| 1.5221 | 2.24 | 56 | 1.7532 | 0.5384 | 0.3117 | 0.3939 | 0.4637 |
|
80 |
+
| 1.2879 | 2.56 | 64 | 1.7560 | 0.5338 | 0.3075 | 0.3865 | 0.4584 |
|
81 |
+
| 1.4046 | 2.88 | 72 | 1.7523 | 0.5409 | 0.3112 | 0.3929 | 0.4633 |
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
|
86 |
+
- Transformers 4.25.1
|
87 |
+
- Pytorch 1.13.0+cu117
|
88 |
+
- Datasets 2.7.1
|
89 |
+
- Tokenizers 0.13.2
|