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_v77
|
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_v77
|
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.4183
|
19 |
+
- Bert precision: 0.8989
|
20 |
+
- Bert recall: 0.9008
|
21 |
+
- Bert f1-score: 0.8994
|
22 |
+
- Average word count: 6.9571
|
23 |
+
- Max word count: 15
|
24 |
+
- Min word count: 2
|
25 |
+
- Average token count: 11.2896
|
26 |
+
- % shortened texts with length > 12: 2.0859
|
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: 0.0003
|
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 |
+
| 1.6557 | 1.0 | 30 | 1.2281 | 0.8905 | 0.8844 | 0.887 | 6.5926 | 15 | 1 | 10.4699 | 1.4724 |
|
58 |
+
| 1.2524 | 2.0 | 60 | 1.1200 | 0.8933 | 0.8902 | 0.8913 | 6.7227 | 15 | 2 | 10.8294 | 0.9816 |
|
59 |
+
| 1.1024 | 3.0 | 90 | 1.0914 | 0.8952 | 0.8931 | 0.8937 | 6.7706 | 16 | 2 | 10.811 | 1.1043 |
|
60 |
+
| 0.9921 | 4.0 | 120 | 1.0805 | 0.8935 | 0.8943 | 0.8935 | 6.9141 | 17 | 2 | 11.0454 | 1.3497 |
|
61 |
+
| 0.8865 | 5.0 | 150 | 1.1025 | 0.8971 | 0.8949 | 0.8956 | 6.7607 | 16 | 2 | 10.9828 | 1.4724 |
|
62 |
+
| 0.8273 | 6.0 | 180 | 1.1039 | 0.9005 | 0.8989 | 0.8993 | 6.7583 | 16 | 2 | 10.8982 | 1.9632 |
|
63 |
+
| 0.7585 | 7.0 | 210 | 1.0975 | 0.8981 | 0.8991 | 0.8982 | 6.9497 | 16 | 3 | 11.135 | 2.2086 |
|
64 |
+
| 0.7086 | 8.0 | 240 | 1.1068 | 0.8989 | 0.8971 | 0.8976 | 6.7374 | 15 | 2 | 10.9411 | 1.1043 |
|
65 |
+
| 0.6541 | 9.0 | 270 | 1.1340 | 0.898 | 0.902 | 0.8996 | 7.1239 | 17 | 2 | 11.4258 | 2.8221 |
|
66 |
+
| 0.6167 | 10.0 | 300 | 1.1316 | 0.8981 | 0.8996 | 0.8984 | 6.962 | 16 | 2 | 11.1436 | 2.6994 |
|
67 |
+
| 0.5817 | 11.0 | 330 | 1.1507 | 0.8984 | 0.8995 | 0.8985 | 6.9264 | 16 | 2 | 11.2466 | 2.3313 |
|
68 |
+
| 0.547 | 12.0 | 360 | 1.1416 | 0.899 | 0.8993 | 0.8988 | 6.8601 | 15 | 2 | 11.1865 | 1.5951 |
|
69 |
+
| 0.5181 | 13.0 | 390 | 1.1775 | 0.8987 | 0.8993 | 0.8986 | 6.8969 | 15 | 3 | 11.1571 | 1.8405 |
|
70 |
+
| 0.4874 | 14.0 | 420 | 1.2131 | 0.8969 | 0.8999 | 0.8979 | 7.0638 | 16 | 3 | 11.3877 | 2.454 |
|
71 |
+
| 0.461 | 15.0 | 450 | 1.2263 | 0.9009 | 0.9001 | 0.9001 | 6.8871 | 15 | 2 | 11.1497 | 1.1043 |
|
72 |
+
| 0.4449 | 16.0 | 480 | 1.2215 | 0.898 | 0.8998 | 0.8984 | 7.0184 | 15 | 2 | 11.3509 | 2.2086 |
|
73 |
+
| 0.4148 | 17.0 | 510 | 1.2528 | 0.8991 | 0.8997 | 0.899 | 6.8748 | 15 | 2 | 11.1939 | 1.227 |
|
74 |
+
| 0.3967 | 18.0 | 540 | 1.2512 | 0.8989 | 0.9006 | 0.8994 | 6.9853 | 15 | 2 | 11.3227 | 1.3497 |
|
75 |
+
| 0.385 | 19.0 | 570 | 1.2683 | 0.898 | 0.8992 | 0.8982 | 6.9755 | 17 | 2 | 11.3227 | 2.454 |
|
76 |
+
| 0.3667 | 20.0 | 600 | 1.2804 | 0.898 | 0.8982 | 0.8976 | 6.8528 | 15 | 2 | 11.1337 | 1.7178 |
|
77 |
+
| 0.3579 | 21.0 | 630 | 1.2892 | 0.9006 | 0.899 | 0.8993 | 6.762 | 15 | 2 | 11.0761 | 1.8405 |
|
78 |
+
| 0.3358 | 22.0 | 660 | 1.3081 | 0.8983 | 0.8996 | 0.8985 | 6.8957 | 15 | 2 | 11.3166 | 1.5951 |
|
79 |
+
| 0.3261 | 23.0 | 690 | 1.3189 | 0.8988 | 0.8997 | 0.8988 | 6.9571 | 15 | 2 | 11.2491 | 2.6994 |
|
80 |
+
| 0.3222 | 24.0 | 720 | 1.3116 | 0.8975 | 0.9 | 0.8983 | 7.027 | 15 | 2 | 11.3926 | 2.9448 |
|
81 |
+
| 0.2977 | 25.0 | 750 | 1.3295 | 0.8988 | 0.9005 | 0.8992 | 6.9755 | 15 | 2 | 11.308 | 1.9632 |
|
82 |
+
| 0.2977 | 26.0 | 780 | 1.3368 | 0.8972 | 0.9009 | 0.8986 | 7.0442 | 15 | 2 | 11.4184 | 2.5767 |
|
83 |
+
| 0.2795 | 27.0 | 810 | 1.3515 | 0.9015 | 0.9025 | 0.9015 | 6.9117 | 15 | 2 | 11.2601 | 2.2086 |
|
84 |
+
| 0.2758 | 28.0 | 840 | 1.3645 | 0.9018 | 0.9013 | 0.9011 | 6.8466 | 15 | 2 | 11.1264 | 1.9632 |
|
85 |
+
| 0.2696 | 29.0 | 870 | 1.3675 | 0.899 | 0.9002 | 0.8991 | 6.9399 | 15 | 2 | 11.2687 | 1.9632 |
|
86 |
+
| 0.261 | 30.0 | 900 | 1.3896 | 0.8986 | 0.901 | 0.8993 | 7.0282 | 17 | 2 | 11.3902 | 2.0859 |
|
87 |
+
| 0.2632 | 31.0 | 930 | 1.3802 | 0.8971 | 0.8988 | 0.8975 | 6.9546 | 15 | 2 | 11.2528 | 2.3313 |
|
88 |
+
| 0.2488 | 32.0 | 960 | 1.3919 | 0.8998 | 0.9011 | 0.9 | 6.9656 | 15 | 2 | 11.2748 | 2.454 |
|
89 |
+
| 0.2467 | 33.0 | 990 | 1.3973 | 0.8996 | 0.9013 | 0.9 | 6.9755 | 15 | 2 | 11.3031 | 2.2086 |
|
90 |
+
| 0.2384 | 34.0 | 1020 | 1.4041 | 0.8988 | 0.9001 | 0.899 | 6.9865 | 15 | 2 | 11.2785 | 2.3313 |
|
91 |
+
| 0.2369 | 35.0 | 1050 | 1.4044 | 0.8986 | 0.9005 | 0.8991 | 6.9595 | 15 | 2 | 11.2785 | 1.9632 |
|
92 |
+
| 0.2307 | 36.0 | 1080 | 1.4109 | 0.8985 | 0.9 | 0.8988 | 6.9436 | 15 | 2 | 11.2712 | 2.0859 |
|
93 |
+
| 0.2285 | 37.0 | 1110 | 1.4118 | 0.8987 | 0.8995 | 0.8987 | 6.9067 | 15 | 2 | 11.2037 | 1.7178 |
|
94 |
+
| 0.2294 | 38.0 | 1140 | 1.4171 | 0.8992 | 0.9007 | 0.8995 | 6.9436 | 15 | 2 | 11.2712 | 1.9632 |
|
95 |
+
| 0.2294 | 39.0 | 1170 | 1.4188 | 0.8988 | 0.9008 | 0.8994 | 6.9656 | 15 | 2 | 11.3006 | 2.2086 |
|
96 |
+
| 0.2261 | 40.0 | 1200 | 1.4183 | 0.8989 | 0.9008 | 0.8994 | 6.9571 | 15 | 2 | 11.2896 | 2.0859 |
|
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:d94032279e88bc691ba9132903bfedd1591301ad9f1d0846864af22b6fba9db9
|
3 |
size 242071641
|