End of training
Browse files- README.md +77 -0
- generation_config.json +13 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: facebook/bart-large-xsum
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- rouge
|
9 |
+
model-index:
|
10 |
+
- name: bart-large-finetuned-billsum
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# bart-large-finetuned-billsum
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [facebook/bart-large-xsum](https://huggingface.co/facebook/bart-large-xsum) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.1947
|
22 |
+
- Rouge1: 35.1575
|
23 |
+
- Rouge2: 27.7021
|
24 |
+
- Rougel: 32.9801
|
25 |
+
- Rougelsum: 33.6194
|
26 |
+
- Gen Len: 31.9873
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 2e-05
|
46 |
+
- train_batch_size: 8
|
47 |
+
- eval_batch_size: 8
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- lr_scheduler_warmup_steps: 500
|
52 |
+
- num_epochs: 5
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
58 |
+
|:-------------:|:------:|:-----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
|
59 |
+
| 1.5279 | 0.4221 | 1000 | 1.3638 | 34.2853 | 26.1627 | 31.897 | 32.6399 | 31.999 |
|
60 |
+
| 1.3237 | 0.8442 | 2000 | 1.2357 | 34.7055 | 26.7936 | 32.3811 | 33.0823 | 31.9973 |
|
61 |
+
| 1.1594 | 1.2664 | 3000 | 1.2246 | 34.6975 | 27.0964 | 32.5326 | 33.1883 | 31.982 |
|
62 |
+
| 1.1029 | 1.6885 | 4000 | 1.2092 | 34.4969 | 26.9107 | 32.3644 | 33.0481 | 31.9987 |
|
63 |
+
| 1.0461 | 2.1106 | 5000 | 1.1769 | 35.2419 | 27.6038 | 33.0339 | 33.6849 | 31.9903 |
|
64 |
+
| 0.9535 | 2.5327 | 6000 | 1.1958 | 34.7138 | 27.2185 | 32.5573 | 33.2043 | 31.9947 |
|
65 |
+
| 0.9373 | 2.9548 | 7000 | 1.1600 | 35.1741 | 27.6199 | 32.9618 | 33.6181 | 31.9783 |
|
66 |
+
| 0.8506 | 3.3770 | 8000 | 1.1940 | 34.8976 | 27.4455 | 32.7581 | 33.4013 | 31.99 |
|
67 |
+
| 0.8341 | 3.7991 | 9000 | 1.1716 | 35.1191 | 27.6856 | 32.9822 | 33.6221 | 31.9853 |
|
68 |
+
| 0.8083 | 4.2212 | 10000 | 1.1916 | 35.1839 | 27.7013 | 32.995 | 33.6131 | 31.988 |
|
69 |
+
| 0.7749 | 4.6433 | 11000 | 1.1947 | 35.1575 | 27.7021 | 32.9801 | 33.6194 | 31.9873 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.44.2
|
75 |
+
- Pytorch 2.2.1+cu121
|
76 |
+
- Datasets 2.21.0
|
77 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_eos_token_id": 2,
|
7 |
+
"max_length": 62,
|
8 |
+
"min_length": 11,
|
9 |
+
"no_repeat_ngram_size": 3,
|
10 |
+
"num_beams": 6,
|
11 |
+
"pad_token_id": 1,
|
12 |
+
"transformers_version": "4.44.2"
|
13 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1625422896
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a5d6ab7a8ae419f5f4b2381206438a3b01b745bb382af96e3bba28bbe01cb0e
|
3 |
size 1625422896
|