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_v40
|
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_v40
|
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: 3.3335
|
21 |
+
- Rouge1: 0.4511
|
22 |
+
- Rouge2: 0.2377
|
23 |
+
- Rougel: 0.4039
|
24 |
+
- Rougelsum: 0.4038
|
25 |
+
- Bert precision: 0.8635
|
26 |
+
- Bert recall: 0.8629
|
27 |
+
- Average word count: 8.5826
|
28 |
+
- Max word count: 16
|
29 |
+
- Min word count: 5
|
30 |
+
- Average token count: 16.5616
|
31 |
+
- % shortened texts with length > 12: 4.8048
|
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: 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: 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 |
+
| 3.0922 | 1.0 | 73 | 2.2144 | 0.4539 | 0.2272 | 0.4068 | 0.4055 | 0.8657 | 0.8684 | 8.7027 | 15 | 5 | 14.3423 | 4.2042 |
|
63 |
+
| 1.75 | 2.0 | 146 | 2.0055 | 0.4658 | 0.2381 | 0.4085 | 0.4088 | 0.8654 | 0.8656 | 8.7087 | 16 | 5 | 15.1652 | 4.8048 |
|
64 |
+
| 1.311 | 3.0 | 219 | 2.0021 | 0.456 | 0.2257 | 0.4124 | 0.4117 | 0.8644 | 0.8646 | 8.6396 | 15 | 5 | 15.9279 | 5.1051 |
|
65 |
+
| 1.0163 | 4.0 | 292 | 2.0698 | 0.467 | 0.2403 | 0.4159 | 0.4162 | 0.8636 | 0.8699 | 9.2973 | 16 | 5 | 17.2162 | 9.9099 |
|
66 |
+
| 0.8546 | 5.0 | 365 | 2.0707 | 0.4527 | 0.2392 | 0.4129 | 0.4126 | 0.8637 | 0.8647 | 8.4895 | 17 | 4 | 16.3153 | 4.8048 |
|
67 |
+
| 0.7222 | 6.0 | 438 | 2.1452 | 0.4562 | 0.2349 | 0.4077 | 0.4064 | 0.8693 | 0.8623 | 8.021 | 15 | 4 | 14.1051 | 1.2012 |
|
68 |
+
| 0.5723 | 7.0 | 511 | 2.3520 | 0.4563 | 0.2403 | 0.4142 | 0.413 | 0.8666 | 0.8658 | 8.5916 | 16 | 5 | 16.5465 | 6.9069 |
|
69 |
+
| 0.5274 | 8.0 | 584 | 2.2896 | 0.4502 | 0.2434 | 0.4077 | 0.4078 | 0.8639 | 0.8639 | 8.5586 | 14 | 5 | 14.8048 | 2.1021 |
|
70 |
+
| 0.3767 | 9.0 | 657 | 2.2928 | 0.4565 | 0.2368 | 0.4125 | 0.4114 | 0.8682 | 0.8623 | 8.0691 | 14 | 4 | 14.4204 | 1.8018 |
|
71 |
+
| 0.2987 | 10.0 | 730 | 2.5411 | 0.4539 | 0.2383 | 0.4057 | 0.4056 | 0.8652 | 0.8631 | 8.5826 | 15 | 5 | 15.6637 | 4.5045 |
|
72 |
+
| 0.2319 | 11.0 | 803 | 2.8995 | 0.4513 | 0.2367 | 0.4069 | 0.4068 | 0.8631 | 0.8622 | 8.6607 | 17 | 5 | 16.4535 | 5.7057 |
|
73 |
+
| 0.2167 | 12.0 | 876 | 2.7950 | 0.4632 | 0.2521 | 0.4163 | 0.4162 | 0.8673 | 0.8679 | 8.7267 | 16 | 4 | 16.3243 | 6.3063 |
|
74 |
+
| 0.1952 | 13.0 | 949 | 2.6240 | 0.4537 | 0.2396 | 0.406 | 0.4059 | 0.8632 | 0.8648 | 8.8258 | 18 | 5 | 16.2613 | 7.8078 |
|
75 |
+
| 0.1395 | 14.0 | 1022 | 2.8894 | 0.4588 | 0.2412 | 0.4141 | 0.4144 | 0.864 | 0.8658 | 8.6216 | 15 | 5 | 16.6426 | 3.6036 |
|
76 |
+
| 0.1298 | 15.0 | 1095 | 2.7580 | 0.4562 | 0.2384 | 0.4085 | 0.4088 | 0.8661 | 0.8659 | 8.5586 | 15 | 5 | 16.3634 | 5.4054 |
|
77 |
+
| 0.1044 | 16.0 | 1168 | 2.7724 | 0.466 | 0.2527 | 0.4175 | 0.4171 | 0.8677 | 0.8694 | 8.7387 | 15 | 4 | 16.4535 | 5.1051 |
|
78 |
+
| 0.0944 | 17.0 | 1241 | 2.9161 | 0.4429 | 0.232 | 0.3986 | 0.3986 | 0.8619 | 0.8621 | 8.6306 | 16 | 5 | 16.5255 | 5.4054 |
|
79 |
+
| 0.077 | 18.0 | 1314 | 3.1718 | 0.4549 | 0.2372 | 0.4054 | 0.4052 | 0.863 | 0.8639 | 8.6456 | 15 | 5 | 16.7447 | 4.8048 |
|
80 |
+
| 0.0561 | 19.0 | 1387 | 3.2650 | 0.4581 | 0.2413 | 0.4092 | 0.4089 | 0.866 | 0.865 | 8.5195 | 16 | 5 | 16.4174 | 4.8048 |
|
81 |
+
| 0.0542 | 20.0 | 1460 | 3.3335 | 0.4511 | 0.2377 | 0.4039 | 0.4038 | 0.8635 | 0.8629 | 8.5826 | 16 | 5 | 16.5616 | 4.8048 |
|
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:697e72fb4445525700b623394f10668b65853624268e8424552115d6f9989606
|
3 |
size 1625537293
|