Model save
Browse files- README.md +85 -0
- generation_config.json +12 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/bart-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: bart_large_gov
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# bart_large_gov
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.6328
|
21 |
+
- Rouge1: 55.8983
|
22 |
+
- Rouge2: 30.5018
|
23 |
+
- Rougel: 38.7764
|
24 |
+
- Rougelsum: 51.3611
|
25 |
+
- Gen Len: 128.7407
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 5e-05
|
45 |
+
- train_batch_size: 8
|
46 |
+
- eval_batch_size: 8
|
47 |
+
- seed: 42
|
48 |
+
- gradient_accumulation_steps: 16
|
49 |
+
- total_train_batch_size: 128
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 20.0
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:--------:|
|
58 |
+
| 1.6694 | 1.0 | 136 | 1.5338 | 54.2061 | 29.3577 | 37.2911 | 49.8337 | 139.7253 |
|
59 |
+
| 1.5178 | 1.99 | 272 | 1.4698 | 55.6621 | 30.6254 | 38.7491 | 51.2934 | 128.9475 |
|
60 |
+
| 1.4208 | 3.0 | 409 | 1.4487 | 55.4905 | 30.4201 | 38.412 | 51.1108 | 129.5658 |
|
61 |
+
| 1.3399 | 3.99 | 545 | 1.4450 | 56.2783 | 31.1387 | 39.2121 | 51.8068 | 128.5062 |
|
62 |
+
| 1.2326 | 5.0 | 682 | 1.4478 | 56.0182 | 30.7104 | 38.8337 | 51.6162 | 129.1358 |
|
63 |
+
| 1.1784 | 6.0 | 818 | 1.4533 | 56.4333 | 31.4483 | 39.5546 | 52.1347 | 128.7315 |
|
64 |
+
| 1.1739 | 7.0 | 955 | 1.4607 | 56.3636 | 31.1125 | 39.4055 | 51.9709 | 128.8241 |
|
65 |
+
| 1.1585 | 8.0 | 1091 | 1.4774 | 55.9356 | 30.7012 | 38.7824 | 51.5664 | 128.9640 |
|
66 |
+
| 1.0297 | 8.99 | 1227 | 1.4939 | 56.7487 | 31.552 | 39.6461 | 52.411 | 128.6553 |
|
67 |
+
| 1.0085 | 10.0 | 1364 | 1.5075 | 56.3918 | 31.2201 | 39.4213 | 51.9449 | 128.6265 |
|
68 |
+
| 0.9738 | 10.99 | 1500 | 1.5237 | 56.3041 | 30.9239 | 39.2625 | 51.8217 | 128.8282 |
|
69 |
+
| 0.9583 | 12.0 | 1637 | 1.5444 | 55.6539 | 30.2395 | 38.5901 | 51.1518 | 128.9136 |
|
70 |
+
| 0.9601 | 12.99 | 1773 | 1.5516 | 55.9154 | 30.5471 | 38.8607 | 51.2856 | 128.9784 |
|
71 |
+
| 0.8882 | 14.0 | 1910 | 1.5736 | 56.3282 | 30.9807 | 39.2351 | 51.8022 | 128.5206 |
|
72 |
+
| 0.851 | 15.0 | 2046 | 1.5891 | 56.0531 | 30.6748 | 38.8847 | 51.5739 | 128.7623 |
|
73 |
+
| 0.8825 | 16.0 | 2183 | 1.5978 | 56.0084 | 30.7943 | 38.9692 | 51.5587 | 128.7798 |
|
74 |
+
| 0.8169 | 17.0 | 2319 | 1.6076 | 55.8274 | 30.41 | 38.6258 | 51.3009 | 128.8632 |
|
75 |
+
| 0.8194 | 17.99 | 2455 | 1.6177 | 56.3214 | 30.9896 | 39.4754 | 51.9525 | 128.6461 |
|
76 |
+
| 0.8441 | 19.0 | 2592 | 1.6260 | 55.9842 | 30.6332 | 38.999 | 51.5685 | 128.8241 |
|
77 |
+
| 0.792 | 19.94 | 2720 | 1.6328 | 55.8983 | 30.5018 | 38.7764 | 51.3611 | 128.7407 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.37.0.dev0
|
83 |
+
- Pytorch 2.0.1+cu117
|
84 |
+
- Datasets 2.14.5
|
85 |
+
- Tokenizers 0.15.0
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"early_stopping": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"forced_bos_token_id": 0,
|
7 |
+
"forced_eos_token_id": 2,
|
8 |
+
"no_repeat_ngram_size": 3,
|
9 |
+
"num_beams": 4,
|
10 |
+
"pad_token_id": 1,
|
11 |
+
"transformers_version": "4.37.0.dev0"
|
12 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1625426996
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9c3f526a132bbe3b3b9a4fced8e86c960be5e428a5a452d40152be6da8be231
|
3 |
size 1625426996
|