ldos commited on
Commit
8cc0b9a
·
1 Parent(s): 197d6c6

End of training

Browse files
Files changed (3) hide show
  1. README.md +94 -0
  2. generation_config.json +13 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_v41
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_v41
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.7205
21
+ - Rouge1: 0.4471
22
+ - Rouge2: 0.2088
23
+ - Rougel: 0.3939
24
+ - Rougelsum: 0.3941
25
+ - Bert precision: 0.8647
26
+ - Bert recall: 0.8624
27
+ - Average word count: 8.6517
28
+ - Max word count: 18
29
+ - Min word count: 4
30
+ - Average token count: 16.5045
31
+ - % shortened texts with length > 12: 5.7057
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: 25
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
+ | 2.424 | 1.0 | 73 | 2.2763 | 0.4466 | 0.2286 | 0.3969 | 0.3973 | 0.8628 | 0.8607 | 8.4805 | 17 | 5 | 14.6967 | 3.6036 |
63
+ | 1.331 | 2.0 | 146 | 2.1237 | 0.4671 | 0.2385 | 0.4119 | 0.4124 | 0.86 | 0.8702 | 9.7117 | 20 | 4 | 16.7838 | 14.4144 |
64
+ | 0.9725 | 3.0 | 219 | 1.9947 | 0.448 | 0.2384 | 0.4004 | 0.4025 | 0.8603 | 0.8627 | 8.8649 | 16 | 5 | 15.8709 | 5.7057 |
65
+ | 0.7753 | 4.0 | 292 | 2.2302 | 0.4435 | 0.2201 | 0.3983 | 0.3991 | 0.8653 | 0.8588 | 8.1141 | 16 | 5 | 15.5526 | 1.8018 |
66
+ | 0.6017 | 5.0 | 365 | 2.1392 | 0.4293 | 0.2142 | 0.383 | 0.3836 | 0.8593 | 0.8604 | 8.6156 | 17 | 4 | 14.1982 | 3.3033 |
67
+ | 0.4911 | 6.0 | 438 | 2.4747 | 0.4166 | 0.1882 | 0.365 | 0.3668 | 0.8582 | 0.8556 | 8.4234 | 14 | 5 | 14.4024 | 3.6036 |
68
+ | 0.6947 | 7.0 | 511 | 2.6372 | 0.3894 | 0.1904 | 0.3527 | 0.3534 | 0.8471 | 0.8477 | 8.5165 | 14 | 4 | 16.6607 | 4.2042 |
69
+ | 0.5839 | 8.0 | 584 | 2.6038 | 0.3641 | 0.1627 | 0.3272 | 0.3276 | 0.8464 | 0.8402 | 7.7508 | 13 | 4 | 15.2342 | 0.6006 |
70
+ | 0.4668 | 9.0 | 657 | 2.7711 | 0.4015 | 0.1904 | 0.3627 | 0.3626 | 0.8537 | 0.8517 | 8.8889 | 17 | 4 | 16.2402 | 3.9039 |
71
+ | 0.4539 | 10.0 | 730 | 2.8819 | 0.4 | 0.1903 | 0.353 | 0.3538 | 0.8526 | 0.8519 | 8.6156 | 15 | 5 | 16.1652 | 3.9039 |
72
+ | 0.4018 | 11.0 | 803 | 2.8273 | 0.3799 | 0.1764 | 0.3404 | 0.3407 | 0.8432 | 0.8454 | 8.7177 | 17 | 4 | 17.0661 | 3.6036 |
73
+ | 0.2764 | 12.0 | 876 | 2.9767 | 0.3888 | 0.1825 | 0.3504 | 0.3509 | 0.8526 | 0.8475 | 8.4354 | 13 | 5 | 16.015 | 2.1021 |
74
+ | 0.2338 | 13.0 | 949 | 2.8883 | 0.4184 | 0.202 | 0.3714 | 0.3714 | 0.852 | 0.8585 | 9.3754 | 17 | 5 | 15.8709 | 8.4084 |
75
+ | 0.1878 | 14.0 | 1022 | 3.1069 | 0.4302 | 0.1966 | 0.3782 | 0.3791 | 0.8616 | 0.8573 | 8.4324 | 15 | 4 | 16.2492 | 3.3033 |
76
+ | 0.1608 | 15.0 | 1095 | 2.8510 | 0.4461 | 0.2151 | 0.392 | 0.3925 | 0.8627 | 0.8625 | 8.7598 | 19 | 4 | 16.1471 | 5.7057 |
77
+ | 0.1416 | 16.0 | 1168 | 3.0792 | 0.4246 | 0.1983 | 0.3735 | 0.3735 | 0.8591 | 0.8568 | 8.6637 | 16 | 5 | 16.3303 | 7.5075 |
78
+ | 0.1507 | 17.0 | 1241 | 3.2058 | 0.4336 | 0.2016 | 0.379 | 0.3796 | 0.8593 | 0.8589 | 8.9129 | 17 | 5 | 16.6697 | 5.1051 |
79
+ | 0.108 | 18.0 | 1314 | 3.0551 | 0.4485 | 0.2248 | 0.4002 | 0.4006 | 0.8645 | 0.8608 | 8.2492 | 14 | 5 | 15.967 | 3.6036 |
80
+ | 0.0756 | 19.0 | 1387 | 3.1943 | 0.4439 | 0.2167 | 0.3919 | 0.3925 | 0.8652 | 0.8608 | 8.4865 | 15 | 5 | 15.8919 | 3.9039 |
81
+ | 0.104 | 20.0 | 1460 | 3.1156 | 0.4411 | 0.2035 | 0.3894 | 0.3903 | 0.8644 | 0.8612 | 8.5135 | 16 | 5 | 16.4294 | 6.006 |
82
+ | 0.0716 | 21.0 | 1533 | 3.4040 | 0.4389 | 0.201 | 0.3824 | 0.3838 | 0.8632 | 0.8614 | 8.7508 | 16 | 4 | 16.5075 | 6.006 |
83
+ | 0.0576 | 22.0 | 1606 | 3.4264 | 0.4476 | 0.2104 | 0.3902 | 0.391 | 0.8657 | 0.8629 | 8.5405 | 16 | 4 | 16.4144 | 6.6066 |
84
+ | 0.041 | 23.0 | 1679 | 3.5711 | 0.447 | 0.2108 | 0.3931 | 0.393 | 0.8639 | 0.8619 | 8.5976 | 18 | 4 | 16.4264 | 7.2072 |
85
+ | 0.0355 | 24.0 | 1752 | 3.6294 | 0.4509 | 0.215 | 0.3981 | 0.3989 | 0.8652 | 0.8632 | 8.6186 | 18 | 4 | 16.4985 | 6.006 |
86
+ | 0.0313 | 25.0 | 1825 | 3.7205 | 0.4471 | 0.2088 | 0.3939 | 0.3941 | 0.8647 | 0.8624 | 8.6517 | 18 | 4 | 16.5045 | 5.7057 |
87
+
88
+
89
+ ### Framework versions
90
+
91
+ - Transformers 4.33.1
92
+ - Pytorch 2.0.1+cu118
93
+ - Datasets 2.14.5
94
+ - 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:c0937667434b64478763ed7eb6e6f45d9d3427ba0b1e429700ad69ce9b6658db
3
  size 1625537293
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b23416e27ef57bace97e623c169801f7c7e48601f7b71c63dec90ef4b41b0994
3
  size 1625537293