ldos commited on
Commit
2af8334
1 Parent(s): fde6d9e

End of training

Browse files
Files changed (3) hide show
  1. README.md +89 -0
  2. generation_config.json +13 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_v34
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_v34
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: 2.7697
21
+ - Rouge1: 0.4731
22
+ - Rouge2: 0.253
23
+ - Rougel: 0.4166
24
+ - Rougelsum: 0.416
25
+ - Bert precision: 0.8697
26
+ - Bert recall: 0.8697
27
+ - Average word count: 8.7087
28
+ - Max word count: 17
29
+ - Min word count: 5
30
+ - Average token count: 16.3093
31
+ - % shortened texts with length > 12: 6.6066
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: 64
52
+ - eval_batch_size: 64
53
+ - seed: 42
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - num_epochs: 20
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.4675 | 1.0 | 19 | 3.1777 | 0.4029 | 0.1769 | 0.3503 | 0.3498 | 0.8509 | 0.857 | 9.6577 | 17 | 5 | 15.4324 | 10.2102 |
63
+ | 1.1669 | 2.0 | 38 | 1.9224 | 0.4506 | 0.2396 | 0.4184 | 0.4181 | 0.864 | 0.8688 | 8.6306 | 15 | 5 | 14.2613 | 4.2042 |
64
+ | 0.9292 | 3.0 | 57 | 1.7461 | 0.4654 | 0.2556 | 0.4186 | 0.419 | 0.8654 | 0.8722 | 9.0751 | 17 | 5 | 14.9099 | 4.2042 |
65
+ | 0.7876 | 4.0 | 76 | 1.9057 | 0.4003 | 0.207 | 0.367 | 0.366 | 0.8539 | 0.8516 | 8.1021 | 13 | 5 | 16.2883 | 1.2012 |
66
+ | 0.5976 | 5.0 | 95 | 1.7603 | 0.4776 | 0.2636 | 0.4254 | 0.4248 | 0.8659 | 0.8754 | 9.1952 | 16 | 5 | 15.0961 | 6.006 |
67
+ | 0.469 | 6.0 | 114 | 2.1107 | 0.4675 | 0.2542 | 0.4077 | 0.4081 | 0.856 | 0.8776 | 11.1802 | 20 | 5 | 18.4505 | 31.5315 |
68
+ | 0.4291 | 7.0 | 133 | 1.7980 | 0.4701 | 0.2509 | 0.4202 | 0.4195 | 0.8647 | 0.8723 | 9.1832 | 15 | 5 | 14.7267 | 6.3063 |
69
+ | 0.3673 | 8.0 | 152 | 1.9170 | 0.4669 | 0.2574 | 0.4188 | 0.4187 | 0.8678 | 0.8698 | 8.6306 | 18 | 5 | 14.3093 | 3.9039 |
70
+ | 0.3432 | 9.0 | 171 | 2.0268 | 0.4804 | 0.2691 | 0.4254 | 0.4249 | 0.8682 | 0.8753 | 9.2402 | 18 | 5 | 14.6847 | 9.3093 |
71
+ | 0.3094 | 10.0 | 190 | 2.1107 | 0.4809 | 0.2724 | 0.4353 | 0.4337 | 0.8689 | 0.8739 | 9.2883 | 17 | 4 | 16.2162 | 9.009 |
72
+ | 0.4402 | 11.0 | 209 | 2.2507 | 0.4816 | 0.268 | 0.428 | 0.4278 | 0.8668 | 0.8743 | 9.4805 | 18 | 4 | 16.6126 | 10.8108 |
73
+ | 0.3691 | 12.0 | 228 | 2.1652 | 0.4784 | 0.2637 | 0.4286 | 0.4277 | 0.8683 | 0.8714 | 8.7988 | 15 | 5 | 14.5105 | 6.006 |
74
+ | 0.1853 | 13.0 | 247 | 2.3660 | 0.4705 | 0.259 | 0.4119 | 0.4115 | 0.8686 | 0.8695 | 8.7898 | 17 | 5 | 16.2432 | 6.6066 |
75
+ | 0.3186 | 14.0 | 266 | 2.3237 | 0.4817 | 0.27 | 0.4273 | 0.4271 | 0.8698 | 0.8738 | 8.973 | 17 | 5 | 16.5976 | 9.3093 |
76
+ | 0.1745 | 15.0 | 285 | 2.2675 | 0.4672 | 0.2577 | 0.4177 | 0.4165 | 0.8698 | 0.8694 | 8.6066 | 16 | 5 | 14.7117 | 3.9039 |
77
+ | 0.1304 | 16.0 | 304 | 2.5157 | 0.4726 | 0.253 | 0.418 | 0.4167 | 0.8691 | 0.8688 | 8.6517 | 17 | 4 | 15.8468 | 3.9039 |
78
+ | 0.1432 | 17.0 | 323 | 2.4798 | 0.4744 | 0.2614 | 0.4204 | 0.4196 | 0.869 | 0.8725 | 8.9189 | 17 | 5 | 15.5015 | 6.006 |
79
+ | 0.1116 | 18.0 | 342 | 2.5924 | 0.4772 | 0.2589 | 0.4222 | 0.4221 | 0.87 | 0.8717 | 8.7508 | 17 | 5 | 15.6096 | 6.9069 |
80
+ | 0.0921 | 19.0 | 361 | 2.6547 | 0.4733 | 0.2541 | 0.4205 | 0.4199 | 0.8694 | 0.8694 | 8.6787 | 16 | 5 | 15.4204 | 6.006 |
81
+ | 0.0679 | 20.0 | 380 | 2.7697 | 0.4731 | 0.253 | 0.4166 | 0.416 | 0.8697 | 0.8697 | 8.7087 | 17 | 5 | 16.3093 | 6.6066 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.33.1
87
+ - Pytorch 2.0.1+cu118
88
+ - Datasets 2.14.5
89
+ - 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:1f8041d9a273db2869aafad9721b052b465f52c300ff8ed048ab59e21fb54c38
3
  size 1625537293
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b69938f06e7ed9eeb32b5403b617ecf5a247eb4264b607cf2d4603a31be03ab4
3
  size 1625537293