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_v67
|
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_v67
|
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.2666
|
19 |
+
- Bert precision: 0.8838
|
20 |
+
- Bert recall: 0.884
|
21 |
+
- Bert f1-score: 0.8833
|
22 |
+
- Average word count: 6.5736
|
23 |
+
- Max word count: 15
|
24 |
+
- Min word count: 2
|
25 |
+
- Average token count: 10.3764
|
26 |
+
- % shortened texts with length > 12: 1.1011
|
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.9368 | 1.0 | 37 | 2.3418 | 0.7561 | 0.7986 | 0.7754 | 9.2703 | 19 | 0 | 15.1782 | 20.1201 |
|
58 |
+
| 2.5152 | 2.0 | 74 | 2.0436 | 0.7442 | 0.7935 | 0.767 | 9.2282 | 18 | 0 | 15.5385 | 16.7167 |
|
59 |
+
| 2.2465 | 3.0 | 111 | 1.8345 | 0.7787 | 0.8112 | 0.7934 | 8.2032 | 18 | 0 | 14.022 | 11.9119 |
|
60 |
+
| 2.0439 | 4.0 | 148 | 1.6984 | 0.8124 | 0.8235 | 0.8169 | 7.1001 | 18 | 0 | 12.2923 | 9.1091 |
|
61 |
+
| 1.9424 | 5.0 | 185 | 1.6054 | 0.8413 | 0.8423 | 0.8409 | 6.7027 | 18 | 0 | 11.2633 | 6.8068 |
|
62 |
+
| 1.8546 | 6.0 | 222 | 1.5450 | 0.8565 | 0.856 | 0.8554 | 6.5696 | 18 | 0 | 10.8759 | 4.7047 |
|
63 |
+
| 1.7857 | 7.0 | 259 | 1.5035 | 0.8661 | 0.8646 | 0.8646 | 6.5095 | 18 | 0 | 10.6176 | 3.1031 |
|
64 |
+
| 1.7348 | 8.0 | 296 | 1.4694 | 0.8718 | 0.8699 | 0.8702 | 6.4995 | 18 | 0 | 10.4224 | 2.6026 |
|
65 |
+
| 1.6884 | 9.0 | 333 | 1.4427 | 0.8756 | 0.8723 | 0.8733 | 6.4284 | 15 | 0 | 10.2823 | 2.2022 |
|
66 |
+
| 1.6823 | 10.0 | 370 | 1.4227 | 0.878 | 0.8753 | 0.8761 | 6.4655 | 15 | 0 | 10.3003 | 1.7017 |
|
67 |
+
| 1.6475 | 11.0 | 407 | 1.4069 | 0.8799 | 0.8782 | 0.8784 | 6.5375 | 15 | 1 | 10.3634 | 1.8018 |
|
68 |
+
| 1.6363 | 12.0 | 444 | 1.3919 | 0.8812 | 0.8797 | 0.8798 | 6.5225 | 15 | 1 | 10.3554 | 1.7017 |
|
69 |
+
| 1.6086 | 13.0 | 481 | 1.3784 | 0.8815 | 0.8803 | 0.8803 | 6.5105 | 15 | 1 | 10.3463 | 1.6016 |
|
70 |
+
| 1.5953 | 14.0 | 518 | 1.3670 | 0.8814 | 0.8802 | 0.8802 | 6.5125 | 15 | 1 | 10.3333 | 1.6016 |
|
71 |
+
| 1.5812 | 15.0 | 555 | 1.3569 | 0.8814 | 0.8802 | 0.8802 | 6.4955 | 15 | 1 | 10.3113 | 1.5015 |
|
72 |
+
| 1.562 | 16.0 | 592 | 1.3480 | 0.8813 | 0.8803 | 0.8802 | 6.5205 | 15 | 1 | 10.3463 | 1.6016 |
|
73 |
+
| 1.5541 | 17.0 | 629 | 1.3396 | 0.8817 | 0.8812 | 0.8808 | 6.5576 | 15 | 1 | 10.3764 | 1.4014 |
|
74 |
+
| 1.5428 | 18.0 | 666 | 1.3316 | 0.8829 | 0.8823 | 0.882 | 6.5495 | 15 | 1 | 10.3754 | 1.3013 |
|
75 |
+
| 1.5476 | 19.0 | 703 | 1.3246 | 0.8829 | 0.8821 | 0.8819 | 6.5566 | 15 | 1 | 10.3654 | 1.5015 |
|
76 |
+
| 1.5234 | 20.0 | 740 | 1.3169 | 0.8831 | 0.8822 | 0.882 | 6.5576 | 15 | 1 | 10.3794 | 1.4014 |
|
77 |
+
| 1.5053 | 21.0 | 777 | 1.3120 | 0.8839 | 0.8828 | 0.8827 | 6.5576 | 15 | 2 | 10.3574 | 1.4014 |
|
78 |
+
| 1.5 | 22.0 | 814 | 1.3065 | 0.884 | 0.8831 | 0.883 | 6.5606 | 15 | 2 | 10.3574 | 1.4014 |
|
79 |
+
| 1.4954 | 23.0 | 851 | 1.3014 | 0.8839 | 0.8833 | 0.883 | 6.5696 | 15 | 2 | 10.3694 | 1.3013 |
|
80 |
+
| 1.4875 | 24.0 | 888 | 1.2974 | 0.8838 | 0.8834 | 0.883 | 6.5626 | 15 | 2 | 10.3634 | 1.3013 |
|
81 |
+
| 1.4896 | 25.0 | 925 | 1.2941 | 0.8842 | 0.8843 | 0.8836 | 6.5826 | 15 | 2 | 10.3874 | 1.3013 |
|
82 |
+
| 1.4769 | 26.0 | 962 | 1.2905 | 0.8845 | 0.8844 | 0.8839 | 6.5696 | 15 | 2 | 10.3684 | 1.2012 |
|
83 |
+
| 1.4684 | 27.0 | 999 | 1.2864 | 0.8845 | 0.8849 | 0.8841 | 6.5886 | 15 | 2 | 10.3854 | 1.1011 |
|
84 |
+
| 1.4721 | 28.0 | 1036 | 1.2830 | 0.8843 | 0.8845 | 0.8838 | 6.5766 | 15 | 2 | 10.3654 | 1.1011 |
|
85 |
+
| 1.4692 | 29.0 | 1073 | 1.2804 | 0.8842 | 0.8844 | 0.8837 | 6.5686 | 15 | 2 | 10.3604 | 1.1011 |
|
86 |
+
| 1.4732 | 30.0 | 1110 | 1.2778 | 0.8844 | 0.8846 | 0.8839 | 6.5796 | 15 | 2 | 10.3724 | 1.1011 |
|
87 |
+
| 1.4592 | 31.0 | 1147 | 1.2754 | 0.8843 | 0.8844 | 0.8838 | 6.5646 | 15 | 2 | 10.3664 | 1.1011 |
|
88 |
+
| 1.4381 | 32.0 | 1184 | 1.2735 | 0.8844 | 0.8844 | 0.8838 | 6.5536 | 15 | 2 | 10.3524 | 1.1011 |
|
89 |
+
| 1.4516 | 33.0 | 1221 | 1.2718 | 0.8842 | 0.8842 | 0.8836 | 6.5716 | 15 | 2 | 10.3724 | 1.1011 |
|
90 |
+
| 1.4459 | 34.0 | 1258 | 1.2705 | 0.884 | 0.8841 | 0.8834 | 6.5746 | 15 | 2 | 10.3814 | 1.1011 |
|
91 |
+
| 1.4393 | 35.0 | 1295 | 1.2695 | 0.8838 | 0.8839 | 0.8833 | 6.5706 | 15 | 2 | 10.3784 | 1.1011 |
|
92 |
+
| 1.4532 | 36.0 | 1332 | 1.2685 | 0.8837 | 0.8839 | 0.8832 | 6.5736 | 15 | 2 | 10.3814 | 1.1011 |
|
93 |
+
| 1.4327 | 37.0 | 1369 | 1.2675 | 0.8838 | 0.8839 | 0.8833 | 6.5756 | 15 | 2 | 10.3804 | 1.1011 |
|
94 |
+
| 1.447 | 38.0 | 1406 | 1.2671 | 0.8838 | 0.884 | 0.8833 | 6.5726 | 15 | 2 | 10.3754 | 1.1011 |
|
95 |
+
| 1.4416 | 39.0 | 1443 | 1.2667 | 0.8839 | 0.884 | 0.8834 | 6.5756 | 15 | 2 | 10.3784 | 1.1011 |
|
96 |
+
| 1.4337 | 40.0 | 1480 | 1.2666 | 0.8838 | 0.884 | 0.8833 | 6.5736 | 15 | 2 | 10.3764 | 1.1011 |
|
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:af3d1aba646ed24f59c96e8eb59affd1b22a0a347979c96da0cd30972a16176e
|
3 |
size 242071641
|