End of training
Browse files- README.md +104 -0
- generation_config.json +6 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: t5-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: text_shortening_model_v74
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# text_shortening_model_v74
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 1.2644
|
19 |
+
- Bert precision: 0.8826
|
20 |
+
- Bert recall: 0.8851
|
21 |
+
- Bert f1-score: 0.8832
|
22 |
+
- Average word count: 6.7137
|
23 |
+
- Max word count: 16
|
24 |
+
- Min word count: 2
|
25 |
+
- Average token count: 10.6547
|
26 |
+
- % shortened texts with length > 12: 2.6026
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 1e-05
|
46 |
+
- train_batch_size: 64
|
47 |
+
- eval_batch_size: 64
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 40
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Bert precision | Bert recall | Bert f1-score | Average word count | Max word count | Min word count | Average token count | % shortened texts with length > 12 |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:-----------:|:-------------:|:------------------:|:--------------:|:--------------:|:-------------------:|:----------------------------------:|
|
57 |
+
| 2.5095 | 1.0 | 37 | 1.9952 | 0.8247 | 0.8396 | 0.8308 | 8.5926 | 19 | 0 | 12.961 | 12.8128 |
|
58 |
+
| 2.1271 | 2.0 | 74 | 1.7552 | 0.8393 | 0.8454 | 0.841 | 7.7247 | 17 | 0 | 11.7738 | 9.3093 |
|
59 |
+
| 1.9629 | 3.0 | 111 | 1.6420 | 0.8552 | 0.8582 | 0.8556 | 7.2022 | 17 | 1 | 11.3193 | 6.5065 |
|
60 |
+
| 1.8511 | 4.0 | 148 | 1.5687 | 0.8646 | 0.8639 | 0.8634 | 6.8078 | 17 | 1 | 10.8539 | 4.1041 |
|
61 |
+
| 1.7806 | 5.0 | 185 | 1.5196 | 0.8684 | 0.8693 | 0.8681 | 6.8278 | 16 | 1 | 10.8438 | 3.8038 |
|
62 |
+
| 1.7193 | 6.0 | 222 | 1.4840 | 0.8713 | 0.8736 | 0.8717 | 6.8388 | 18 | 2 | 10.8318 | 3.4034 |
|
63 |
+
| 1.6763 | 7.0 | 259 | 1.4540 | 0.8756 | 0.8765 | 0.8754 | 6.7528 | 18 | 2 | 10.6847 | 3.003 |
|
64 |
+
| 1.6389 | 8.0 | 296 | 1.4316 | 0.8766 | 0.8785 | 0.8769 | 6.7628 | 16 | 2 | 10.6917 | 2.6026 |
|
65 |
+
| 1.6146 | 9.0 | 333 | 1.4149 | 0.8771 | 0.8798 | 0.8778 | 6.8018 | 15 | 2 | 10.7177 | 2.7027 |
|
66 |
+
| 1.597 | 10.0 | 370 | 1.3986 | 0.8782 | 0.8811 | 0.879 | 6.7998 | 15 | 2 | 10.7067 | 2.5025 |
|
67 |
+
| 1.5761 | 11.0 | 407 | 1.3860 | 0.8792 | 0.8815 | 0.8797 | 6.7588 | 15 | 2 | 10.6496 | 2.3023 |
|
68 |
+
| 1.5456 | 12.0 | 444 | 1.3747 | 0.8792 | 0.8813 | 0.8797 | 6.7387 | 16 | 2 | 10.6376 | 2.2022 |
|
69 |
+
| 1.533 | 13.0 | 481 | 1.3647 | 0.88 | 0.8823 | 0.8805 | 6.7347 | 16 | 2 | 10.6276 | 2.1021 |
|
70 |
+
| 1.5142 | 14.0 | 518 | 1.3536 | 0.8805 | 0.8822 | 0.8808 | 6.7047 | 16 | 2 | 10.5746 | 1.9019 |
|
71 |
+
| 1.514 | 15.0 | 555 | 1.3429 | 0.8803 | 0.882 | 0.8805 | 6.6847 | 16 | 2 | 10.5606 | 1.7017 |
|
72 |
+
| 1.4973 | 16.0 | 592 | 1.3353 | 0.8805 | 0.8828 | 0.881 | 6.7467 | 16 | 2 | 10.6627 | 2.1021 |
|
73 |
+
| 1.4792 | 17.0 | 629 | 1.3277 | 0.8811 | 0.8829 | 0.8814 | 6.7077 | 16 | 2 | 10.6166 | 2.002 |
|
74 |
+
| 1.4669 | 18.0 | 666 | 1.3206 | 0.8815 | 0.8831 | 0.8817 | 6.6927 | 16 | 2 | 10.6016 | 2.1021 |
|
75 |
+
| 1.4667 | 19.0 | 703 | 1.3141 | 0.881 | 0.8831 | 0.8815 | 6.7167 | 16 | 2 | 10.6306 | 2.1021 |
|
76 |
+
| 1.4497 | 20.0 | 740 | 1.3097 | 0.8808 | 0.883 | 0.8813 | 6.7227 | 16 | 2 | 10.6416 | 2.1021 |
|
77 |
+
| 1.4533 | 21.0 | 777 | 1.3053 | 0.8814 | 0.8831 | 0.8817 | 6.6997 | 16 | 2 | 10.6086 | 2.1021 |
|
78 |
+
| 1.4408 | 22.0 | 814 | 1.2998 | 0.8808 | 0.8825 | 0.881 | 6.7037 | 16 | 2 | 10.6076 | 2.2022 |
|
79 |
+
| 1.4343 | 23.0 | 851 | 1.2958 | 0.8807 | 0.8829 | 0.8812 | 6.7297 | 16 | 2 | 10.6306 | 2.3023 |
|
80 |
+
| 1.4295 | 24.0 | 888 | 1.2926 | 0.881 | 0.8833 | 0.8816 | 6.7427 | 16 | 2 | 10.6486 | 2.4024 |
|
81 |
+
| 1.4219 | 25.0 | 925 | 1.2887 | 0.8812 | 0.8835 | 0.8818 | 6.7327 | 16 | 2 | 10.6426 | 2.4024 |
|
82 |
+
| 1.4045 | 26.0 | 962 | 1.2855 | 0.8814 | 0.8836 | 0.8819 | 6.7187 | 16 | 2 | 10.6256 | 2.4024 |
|
83 |
+
| 1.409 | 27.0 | 999 | 1.2826 | 0.8817 | 0.884 | 0.8823 | 6.7217 | 16 | 2 | 10.6456 | 2.6026 |
|
84 |
+
| 1.3994 | 28.0 | 1036 | 1.2803 | 0.8826 | 0.8848 | 0.8831 | 6.7047 | 16 | 2 | 10.6226 | 2.7027 |
|
85 |
+
| 1.3905 | 29.0 | 1073 | 1.2778 | 0.8823 | 0.8847 | 0.8829 | 6.7267 | 16 | 2 | 10.6507 | 2.8028 |
|
86 |
+
| 1.4014 | 30.0 | 1110 | 1.2751 | 0.8821 | 0.8845 | 0.8827 | 6.7237 | 16 | 2 | 10.6466 | 2.8028 |
|
87 |
+
| 1.3946 | 31.0 | 1147 | 1.2732 | 0.8826 | 0.8849 | 0.8831 | 6.7167 | 16 | 2 | 10.6426 | 2.8028 |
|
88 |
+
| 1.3915 | 32.0 | 1184 | 1.2712 | 0.8823 | 0.8845 | 0.8828 | 6.7057 | 16 | 2 | 10.6336 | 2.7027 |
|
89 |
+
| 1.3904 | 33.0 | 1221 | 1.2695 | 0.8824 | 0.8847 | 0.883 | 6.7047 | 16 | 2 | 10.6376 | 2.7027 |
|
90 |
+
| 1.3843 | 34.0 | 1258 | 1.2684 | 0.8828 | 0.885 | 0.8833 | 6.7097 | 16 | 2 | 10.6406 | 2.6026 |
|
91 |
+
| 1.3875 | 35.0 | 1295 | 1.2672 | 0.8827 | 0.8852 | 0.8834 | 6.7217 | 16 | 2 | 10.6607 | 2.6026 |
|
92 |
+
| 1.3794 | 36.0 | 1332 | 1.2661 | 0.8828 | 0.8851 | 0.8834 | 6.7087 | 16 | 2 | 10.6426 | 2.6026 |
|
93 |
+
| 1.3906 | 37.0 | 1369 | 1.2654 | 0.8828 | 0.8853 | 0.8835 | 6.7177 | 16 | 2 | 10.6567 | 2.6026 |
|
94 |
+
| 1.3841 | 38.0 | 1406 | 1.2648 | 0.8826 | 0.8851 | 0.8833 | 6.7107 | 16 | 2 | 10.6476 | 2.6026 |
|
95 |
+
| 1.3761 | 39.0 | 1443 | 1.2645 | 0.8825 | 0.885 | 0.8832 | 6.7137 | 16 | 2 | 10.6537 | 2.6026 |
|
96 |
+
| 1.3797 | 40.0 | 1480 | 1.2644 | 0.8826 | 0.8851 | 0.8832 | 6.7137 | 16 | 2 | 10.6547 | 2.6026 |
|
97 |
+
|
98 |
+
|
99 |
+
### Framework versions
|
100 |
+
|
101 |
+
- Transformers 4.33.1
|
102 |
+
- Pytorch 2.0.1+cu118
|
103 |
+
- Datasets 2.14.5
|
104 |
+
- Tokenizers 0.13.3
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.33.1"
|
6 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 242071641
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06570ca37c66263964a948659ed736fc492e611b163f98b0cc34f1708dcaa279
|
3 |
size 242071641
|