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_v75
|
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_v75
|
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.2113
|
19 |
+
- Bert precision: 0.8889
|
20 |
+
- Bert recall: 0.8883
|
21 |
+
- Bert f1-score: 0.8881
|
22 |
+
- Average word count: 6.8466
|
23 |
+
- Max word count: 15
|
24 |
+
- Min word count: 1
|
25 |
+
- Average token count: 10.892
|
26 |
+
- % shortened texts with length > 12: 1.9632
|
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.4857 | 1.0 | 30 | 1.9604 | 0.8298 | 0.8444 | 0.8359 | 9.1436 | 19 | 1 | 13.7337 | 14.2331 |
|
58 |
+
| 2.1772 | 2.0 | 60 | 1.7312 | 0.8337 | 0.839 | 0.8349 | 8.1264 | 19 | 1 | 12.3264 | 10.5521 |
|
59 |
+
| 1.9897 | 3.0 | 90 | 1.6036 | 0.8513 | 0.8528 | 0.8508 | 7.6528 | 19 | 1 | 11.8748 | 8.3436 |
|
60 |
+
| 1.8748 | 4.0 | 120 | 1.5274 | 0.8616 | 0.8583 | 0.8589 | 7.1988 | 17 | 1 | 11.4368 | 6.0123 |
|
61 |
+
| 1.7948 | 5.0 | 150 | 1.4678 | 0.8709 | 0.8669 | 0.868 | 7.0086 | 17 | 1 | 11.1914 | 4.4172 |
|
62 |
+
| 1.7436 | 6.0 | 180 | 1.4245 | 0.8763 | 0.8726 | 0.8737 | 6.9681 | 16 | 1 | 11.1387 | 3.8037 |
|
63 |
+
| 1.6914 | 7.0 | 210 | 1.3948 | 0.8808 | 0.8792 | 0.8793 | 6.9706 | 18 | 1 | 11.0773 | 3.9264 |
|
64 |
+
| 1.6484 | 8.0 | 240 | 1.3716 | 0.8846 | 0.8814 | 0.8824 | 6.789 | 15 | 2 | 10.8687 | 2.9448 |
|
65 |
+
| 1.6177 | 9.0 | 270 | 1.3534 | 0.8858 | 0.8827 | 0.8836 | 6.8294 | 16 | 2 | 10.8712 | 3.0675 |
|
66 |
+
| 1.6034 | 10.0 | 300 | 1.3371 | 0.8854 | 0.8826 | 0.8834 | 6.8528 | 16 | 2 | 10.865 | 2.9448 |
|
67 |
+
| 1.5696 | 11.0 | 330 | 1.3237 | 0.8863 | 0.8842 | 0.8847 | 6.8393 | 16 | 2 | 10.8577 | 2.6994 |
|
68 |
+
| 1.5474 | 12.0 | 360 | 1.3115 | 0.8874 | 0.8844 | 0.8853 | 6.7669 | 16 | 2 | 10.7742 | 2.5767 |
|
69 |
+
| 1.5354 | 13.0 | 390 | 1.3011 | 0.8867 | 0.8836 | 0.8846 | 6.7607 | 16 | 2 | 10.7644 | 2.3313 |
|
70 |
+
| 1.5173 | 14.0 | 420 | 1.2916 | 0.8872 | 0.8834 | 0.8847 | 6.7067 | 16 | 2 | 10.7117 | 2.0859 |
|
71 |
+
| 1.5061 | 15.0 | 450 | 1.2822 | 0.8873 | 0.8833 | 0.8848 | 6.6969 | 16 | 2 | 10.6945 | 1.9632 |
|
72 |
+
| 1.4861 | 16.0 | 480 | 1.2742 | 0.8882 | 0.8846 | 0.8858 | 6.692 | 16 | 2 | 10.7043 | 1.5951 |
|
73 |
+
| 1.4793 | 17.0 | 510 | 1.2673 | 0.8881 | 0.8848 | 0.8859 | 6.719 | 16 | 1 | 10.7325 | 1.9632 |
|
74 |
+
| 1.4736 | 18.0 | 540 | 1.2621 | 0.8888 | 0.8856 | 0.8867 | 6.7399 | 16 | 1 | 10.7571 | 1.9632 |
|
75 |
+
| 1.4592 | 19.0 | 570 | 1.2563 | 0.8889 | 0.8863 | 0.8871 | 6.7497 | 16 | 1 | 10.7755 | 1.9632 |
|
76 |
+
| 1.459 | 20.0 | 600 | 1.2514 | 0.8885 | 0.8863 | 0.8868 | 6.773 | 16 | 1 | 10.7902 | 1.9632 |
|
77 |
+
| 1.4446 | 21.0 | 630 | 1.2472 | 0.8883 | 0.8859 | 0.8865 | 6.7571 | 16 | 1 | 10.7546 | 1.8405 |
|
78 |
+
| 1.4324 | 22.0 | 660 | 1.2431 | 0.888 | 0.8864 | 0.8866 | 6.7779 | 16 | 1 | 10.7853 | 1.8405 |
|
79 |
+
| 1.431 | 23.0 | 690 | 1.2396 | 0.8881 | 0.8866 | 0.8868 | 6.7828 | 16 | 1 | 10.8098 | 1.8405 |
|
80 |
+
| 1.4233 | 24.0 | 720 | 1.2358 | 0.8885 | 0.8869 | 0.8872 | 6.784 | 16 | 1 | 10.8123 | 1.9632 |
|
81 |
+
| 1.4218 | 25.0 | 750 | 1.2322 | 0.8887 | 0.8874 | 0.8875 | 6.8135 | 16 | 1 | 10.8417 | 1.8405 |
|
82 |
+
| 1.4086 | 26.0 | 780 | 1.2295 | 0.8885 | 0.8878 | 0.8876 | 6.8356 | 16 | 1 | 10.8982 | 1.9632 |
|
83 |
+
| 1.4104 | 27.0 | 810 | 1.2267 | 0.8883 | 0.8877 | 0.8875 | 6.8491 | 16 | 1 | 10.9166 | 1.9632 |
|
84 |
+
| 1.4046 | 28.0 | 840 | 1.2242 | 0.888 | 0.8877 | 0.8873 | 6.8577 | 16 | 1 | 10.9411 | 1.9632 |
|
85 |
+
| 1.4034 | 29.0 | 870 | 1.2222 | 0.8882 | 0.8881 | 0.8876 | 6.8626 | 16 | 1 | 10.9436 | 1.9632 |
|
86 |
+
| 1.3942 | 30.0 | 900 | 1.2204 | 0.8883 | 0.8881 | 0.8877 | 6.8577 | 16 | 1 | 10.935 | 2.0859 |
|
87 |
+
| 1.3909 | 31.0 | 930 | 1.2182 | 0.8885 | 0.8881 | 0.8878 | 6.8368 | 15 | 1 | 10.908 | 1.8405 |
|
88 |
+
| 1.385 | 32.0 | 960 | 1.2167 | 0.8889 | 0.8884 | 0.8882 | 6.838 | 15 | 1 | 10.9006 | 1.8405 |
|
89 |
+
| 1.3833 | 33.0 | 990 | 1.2149 | 0.889 | 0.8884 | 0.8882 | 6.8368 | 15 | 1 | 10.8945 | 1.8405 |
|
90 |
+
| 1.3831 | 34.0 | 1020 | 1.2139 | 0.8891 | 0.8885 | 0.8883 | 6.8454 | 15 | 1 | 10.9018 | 1.8405 |
|
91 |
+
| 1.3811 | 35.0 | 1050 | 1.2129 | 0.8891 | 0.8884 | 0.8882 | 6.8356 | 15 | 1 | 10.8908 | 1.8405 |
|
92 |
+
| 1.3869 | 36.0 | 1080 | 1.2124 | 0.8891 | 0.8883 | 0.8881 | 6.8294 | 15 | 1 | 10.8785 | 1.8405 |
|
93 |
+
| 1.3696 | 37.0 | 1110 | 1.2120 | 0.889 | 0.8881 | 0.8881 | 6.8233 | 15 | 1 | 10.8663 | 1.8405 |
|
94 |
+
| 1.3791 | 38.0 | 1140 | 1.2116 | 0.8889 | 0.8881 | 0.888 | 6.8307 | 15 | 1 | 10.8748 | 1.8405 |
|
95 |
+
| 1.3755 | 39.0 | 1170 | 1.2113 | 0.8889 | 0.8881 | 0.888 | 6.8331 | 15 | 1 | 10.8773 | 1.8405 |
|
96 |
+
| 1.3668 | 40.0 | 1200 | 1.2113 | 0.8889 | 0.8883 | 0.8881 | 6.8466 | 15 | 1 | 10.892 | 1.9632 |
|
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:d8aed339db70966b70146e049e81ff66c9b44ba7a0585246d32c6cf77edca2b5
|
3 |
size 242071641
|