bogdancazan
commited on
Commit
•
9794891
1
Parent(s):
410c4b9
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- billsum
|
7 |
+
metrics:
|
8 |
+
- rouge
|
9 |
+
model-index:
|
10 |
+
- name: bart_summarization_pretrained
|
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: ca_test
|
20 |
+
args: default
|
21 |
+
metrics:
|
22 |
+
- name: Rouge1
|
23 |
+
type: rouge
|
24 |
+
value: 0.5264
|
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_summarization_pretrained
|
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.7402
|
35 |
+
- Rouge1: 0.5264
|
36 |
+
- Rouge2: 0.2745
|
37 |
+
- Rougel: 0.3432
|
38 |
+
- Rougelsum: 0.4049
|
39 |
+
- Gen Len: 131.0645
|
40 |
+
|
41 |
+
## Model description
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Intended uses & limitations
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training and evaluation data
|
50 |
+
|
51 |
+
More information needed
|
52 |
+
|
53 |
+
## Training procedure
|
54 |
+
|
55 |
+
### Training hyperparameters
|
56 |
+
|
57 |
+
The following hyperparameters were used during training:
|
58 |
+
- learning_rate: 2e-05
|
59 |
+
- train_batch_size: 1
|
60 |
+
- eval_batch_size: 1
|
61 |
+
- seed: 42
|
62 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- num_epochs: 4
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:--------:|
|
70 |
+
| 1.7347 | 1.0 | 989 | 1.6263 | 0.5044 | 0.254 | 0.3219 | 0.3734 | 121.8306 |
|
71 |
+
| 1.2029 | 2.0 | 1978 | 1.6037 | 0.5278 | 0.2723 | 0.3351 | 0.3977 | 136.4718 |
|
72 |
+
| 0.8435 | 3.0 | 2967 | 1.6054 | 0.513 | 0.2661 | 0.3357 | 0.3957 | 129.1048 |
|
73 |
+
| 0.6326 | 4.0 | 3956 | 1.7402 | 0.5264 | 0.2745 | 0.3432 | 0.4049 | 131.0645 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.29.2
|
79 |
+
- Pytorch 2.0.1+cu118
|
80 |
+
- Datasets 2.12.0
|
81 |
+
- Tokenizers 0.13.3
|