End of training
Browse files- README.md +73 -0
- generation_config.json +13 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_v60
|
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_v60
|
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: 0.7251
|
21 |
+
- Rouge1: 0.7246
|
22 |
+
- Rouge2: 0.5572
|
23 |
+
- Rougel: 0.6745
|
24 |
+
- Rougelsum: 0.6724
|
25 |
+
- Bert precision: 0.9227
|
26 |
+
- Bert recall: 0.9242
|
27 |
+
- Bert f1-score: 0.923
|
28 |
+
- Average word count: 8.4018
|
29 |
+
- Max word count: 16
|
30 |
+
- Min word count: 4
|
31 |
+
- Average token count: 16.1562
|
32 |
+
- % shortened texts with length > 12: 7.5893
|
33 |
+
|
34 |
+
## Model description
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Intended uses & limitations
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training and evaluation data
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training procedure
|
47 |
+
|
48 |
+
### Training hyperparameters
|
49 |
+
|
50 |
+
The following hyperparameters were used during training:
|
51 |
+
- learning_rate: 1e-05
|
52 |
+
- train_batch_size: 16
|
53 |
+
- eval_batch_size: 16
|
54 |
+
- seed: 42
|
55 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
56 |
+
- lr_scheduler_type: linear
|
57 |
+
- num_epochs: 3
|
58 |
+
|
59 |
+
### Training results
|
60 |
+
|
61 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Bert precision | Bert recall | Bert f1-score | Average word count | Max word count | Min word count | Average token count | % shortened texts with length > 12 |
|
62 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:--------------:|:-----------:|:-------------:|:------------------:|:--------------:|:--------------:|:-------------------:|:----------------------------------:|
|
63 |
+
| 1.4241 | 1.0 | 49 | 0.7533 | 0.7094 | 0.5458 | 0.6655 | 0.6641 | 0.9182 | 0.9214 | 0.9193 | 8.3884 | 17 | 5 | 15.3661 | 6.25 |
|
64 |
+
| 0.5792 | 2.0 | 98 | 0.7279 | 0.7058 | 0.5397 | 0.6587 | 0.6582 | 0.9201 | 0.9193 | 0.9192 | 8.3393 | 17 | 4 | 15.9062 | 5.3571 |
|
65 |
+
| 0.4392 | 3.0 | 147 | 0.7251 | 0.7246 | 0.5572 | 0.6745 | 0.6724 | 0.9227 | 0.9242 | 0.923 | 8.4018 | 16 | 4 | 16.1562 | 7.5893 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.33.1
|
71 |
+
- Pytorch 2.0.1+cu118
|
72 |
+
- Datasets 2.14.5
|
73 |
+
- 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:594d533f990eb67b5751bc13e6c496979a43b7be61397841a418df9bb426cfba
|
3 |
size 1625537293
|