End of training
Browse files- README.md +89 -0
- generation_config.json +13 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_v38
|
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_v38
|
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: 32.2806
|
21 |
+
- Rouge1: 0.0
|
22 |
+
- Rouge2: 0.0
|
23 |
+
- Rougel: 0.0
|
24 |
+
- Rougelsum: 0.0
|
25 |
+
- Bert precision: 0.6712
|
26 |
+
- Bert recall: 0.6737
|
27 |
+
- Average word count: 1.0
|
28 |
+
- Max word count: 1
|
29 |
+
- Min word count: 1
|
30 |
+
- Average token count: 62.0
|
31 |
+
- % shortened texts with length > 12: 0.0
|
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: 8
|
52 |
+
- eval_batch_size: 8
|
53 |
+
- seed: 42
|
54 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
+
- lr_scheduler_type: linear
|
56 |
+
- num_epochs: 20
|
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 |
+
| 2.9479 | 1.0 | 145 | 6.0655 | 0.1154 | 0.0035 | 0.0998 | 0.0997 | 0.6949 | 0.7234 | 7.8649 | 46 | 2 | 47.0901 | 8.4084 |
|
63 |
+
| 3.2977 | 2.0 | 290 | 7.9855 | 0.0026 | 0.0 | 0.0026 | 0.0026 | 0.6628 | 0.6805 | 3.0 | 3 | 3 | 62.0 | 0.0 |
|
64 |
+
| 2.7673 | 3.0 | 435 | 18.0330 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6716 | 0.677 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
65 |
+
| 2.7007 | 4.0 | 580 | 16.7534 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6617 | 0.6651 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
66 |
+
| 2.6519 | 5.0 | 725 | 19.3665 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6636 | 0.6599 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
67 |
+
| 2.6334 | 6.0 | 870 | 19.0112 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6583 | 0.6639 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
68 |
+
| 2.5888 | 7.0 | 1015 | 20.8393 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6602 | 0.6737 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
69 |
+
| 2.5665 | 8.0 | 1160 | 20.7588 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6503 | 0.6688 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
70 |
+
| 2.546 | 9.0 | 1305 | 23.6869 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6646 | 0.6703 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
71 |
+
| 2.5334 | 10.0 | 1450 | 26.1563 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6693 | 0.6685 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
72 |
+
| 2.5194 | 11.0 | 1595 | 26.2698 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6682 | 0.6743 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
73 |
+
| 2.5152 | 12.0 | 1740 | 30.3763 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6582 | 0.6645 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
74 |
+
| 2.5005 | 13.0 | 1885 | 26.7690 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6693 | 0.6597 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
75 |
+
| 2.4942 | 14.0 | 2030 | 26.8399 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6655 | 0.6674 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
76 |
+
| 2.4766 | 15.0 | 2175 | 26.8788 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6689 | 0.671 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
77 |
+
| 2.4712 | 16.0 | 2320 | 29.2279 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6693 | 0.6669 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
78 |
+
| 2.46 | 17.0 | 2465 | 31.1020 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6675 | 0.6655 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
79 |
+
| 2.4493 | 18.0 | 2610 | 31.4642 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6655 | 0.6737 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
80 |
+
| 2.4419 | 19.0 | 2755 | 31.2733 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6593 | 0.6629 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
81 |
+
| 2.4323 | 20.0 | 2900 | 32.2806 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6712 | 0.6737 | 1.0 | 1 | 1 | 62.0 | 0.0 |
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
|
86 |
+
- Transformers 4.33.1
|
87 |
+
- Pytorch 2.0.1+cu118
|
88 |
+
- Datasets 2.14.5
|
89 |
+
- 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:c64196808593a3705ab9efba3426dfe9ef3ebbf82a4dd0e5c08dfd4524792fce
|
3 |
size 1625537293
|