End of training
Browse files- README.md +74 -0
- generation_config.json +13 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: facebook/bart-large-xsum
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: text_shortening_model_v50
|
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 |
+
# text_shortening_model_v50
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/bart-large-xsum](https://huggingface.co/facebook/bart-large-xsum) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.8296
|
21 |
+
- Rouge1: 0.5063
|
22 |
+
- Rouge2: 0.2803
|
23 |
+
- Rougel: 0.4415
|
24 |
+
- Rougelsum: 0.4405
|
25 |
+
- Bert precision: 0.8741
|
26 |
+
- Bert recall: 0.8787
|
27 |
+
- Average word count: 8.7857
|
28 |
+
- Max word count: 16
|
29 |
+
- Min word count: 3
|
30 |
+
- Average token count: 16.3942
|
31 |
+
- % shortened texts with length > 12: 11.9048
|
32 |
+
|
33 |
+
## Model description
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Intended uses & limitations
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training and evaluation data
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training procedure
|
46 |
+
|
47 |
+
### Training hyperparameters
|
48 |
+
|
49 |
+
The following hyperparameters were used during training:
|
50 |
+
- learning_rate: 0.0001
|
51 |
+
- train_batch_size: 16
|
52 |
+
- eval_batch_size: 16
|
53 |
+
- seed: 42
|
54 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
+
- lr_scheduler_type: linear
|
56 |
+
- num_epochs: 5
|
57 |
+
|
58 |
+
### Training results
|
59 |
+
|
60 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Bert precision | Bert recall | Average word count | Max word count | Min word count | Average token count | % shortened texts with length > 12 |
|
61 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:--------------:|:-----------:|:------------------:|:--------------:|:--------------:|:-------------------:|:----------------------------------:|
|
62 |
+
| 1.3343 | 1.0 | 83 | 1.4625 | 0.5101 | 0.2866 | 0.4536 | 0.4527 | 0.8751 | 0.877 | 8.3042 | 19 | 4 | 15.1508 | 5.0265 |
|
63 |
+
| 0.7011 | 2.0 | 166 | 1.4296 | 0.5101 | 0.284 | 0.4548 | 0.4551 | 0.8736 | 0.8797 | 8.7593 | 18 | 5 | 16.0529 | 7.672 |
|
64 |
+
| 0.483 | 3.0 | 249 | 1.3880 | 0.5025 | 0.2819 | 0.4433 | 0.442 | 0.8722 | 0.8782 | 8.7698 | 18 | 5 | 14.8492 | 6.3492 |
|
65 |
+
| 0.3876 | 4.0 | 332 | 1.7614 | 0.4934 | 0.2653 | 0.4334 | 0.4327 | 0.8715 | 0.8725 | 8.2249 | 18 | 5 | 16.3042 | 5.5556 |
|
66 |
+
| 0.291 | 5.0 | 415 | 1.8296 | 0.5063 | 0.2803 | 0.4415 | 0.4405 | 0.8741 | 0.8787 | 8.7857 | 16 | 3 | 16.3942 | 11.9048 |
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- Transformers 4.33.1
|
72 |
+
- Pytorch 2.0.1+cu118
|
73 |
+
- Datasets 2.14.5
|
74 |
+
- Tokenizers 0.13.3
|
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.33.1"
|
13 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1625537293
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a9ff50ebc477a6f2b242844a3e6b62cd07dc725fc8246c5d42f816197896050
|
3 |
size 1625537293
|