End of training
Browse files- README.md +79 -0
- generation_config.json +13 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_v35
|
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_v35
|
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: 2.1783
|
21 |
+
- Rouge1: 0.4993
|
22 |
+
- Rouge2: 0.2724
|
23 |
+
- Rougel: 0.4472
|
24 |
+
- Rougelsum: 0.4467
|
25 |
+
- Bert precision: 0.8744
|
26 |
+
- Bert recall: 0.8769
|
27 |
+
- Average word count: 8.6096
|
28 |
+
- Max word count: 20
|
29 |
+
- Min word count: 5
|
30 |
+
- Average token count: 14.97
|
31 |
+
- % shortened texts with length > 12: 3.6036
|
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.0003
|
51 |
+
- train_batch_size: 32
|
52 |
+
- eval_batch_size: 32
|
53 |
+
- seed: 42
|
54 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
+
- lr_scheduler_type: linear
|
56 |
+
- num_epochs: 10
|
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.83 | 1.0 | 37 | 1.9642 | 0.457 | 0.2329 | 0.4049 | 0.4054 | 0.8677 | 0.8663 | 8.027 | 13 | 4 | 16.6607 | 2.7027 |
|
63 |
+
| 0.8629 | 2.0 | 74 | 1.6943 | 0.5268 | 0.3019 | 0.4695 | 0.4697 | 0.8758 | 0.8901 | 10.0571 | 19 | 5 | 17.8258 | 19.2192 |
|
64 |
+
| 0.7849 | 3.0 | 111 | 1.6564 | 0.5001 | 0.279 | 0.4553 | 0.4554 | 0.873 | 0.8805 | 8.9099 | 17 | 5 | 15.4865 | 5.1051 |
|
65 |
+
| 0.6116 | 4.0 | 148 | 1.7559 | 0.4638 | 0.2376 | 0.4183 | 0.4188 | 0.863 | 0.8665 | 8.4414 | 15 | 4 | 13.8829 | 0.9009 |
|
66 |
+
| 0.3976 | 5.0 | 185 | 1.6708 | 0.4999 | 0.2723 | 0.4481 | 0.4481 | 0.8744 | 0.8766 | 8.5556 | 16 | 5 | 14.6877 | 3.9039 |
|
67 |
+
| 0.2977 | 6.0 | 222 | 1.7196 | 0.4937 | 0.2699 | 0.4376 | 0.4379 | 0.8684 | 0.877 | 9.1652 | 20 | 5 | 15.3964 | 5.7057 |
|
68 |
+
| 0.2187 | 7.0 | 259 | 1.7942 | 0.5129 | 0.2905 | 0.4572 | 0.4575 | 0.8765 | 0.8803 | 8.7117 | 19 | 5 | 14.6306 | 3.9039 |
|
69 |
+
| 0.1603 | 8.0 | 296 | 1.8003 | 0.4822 | 0.2538 | 0.4237 | 0.4229 | 0.8688 | 0.8722 | 8.6306 | 19 | 5 | 15.4474 | 5.7057 |
|
70 |
+
| 0.1175 | 9.0 | 333 | 2.0138 | 0.5024 | 0.2798 | 0.4486 | 0.4475 | 0.8742 | 0.8791 | 8.7988 | 19 | 5 | 16.1471 | 6.6066 |
|
71 |
+
| 0.0859 | 10.0 | 370 | 2.1783 | 0.4993 | 0.2724 | 0.4472 | 0.4467 | 0.8744 | 0.8769 | 8.6096 | 20 | 5 | 14.97 | 3.6036 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.33.1
|
77 |
+
- Pytorch 2.0.1+cu118
|
78 |
+
- Datasets 2.14.5
|
79 |
+
- 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:b50d769274fe363bd0708e07bb50d539ffc131210797bd7ddd8c2a4b8dfbfe8d
|
3 |
size 1625537293
|