ldos commited on
Commit
3b47df7
1 Parent(s): a2e4549

End of training

Browse files
Files changed (3) hide show
  1. README.md +84 -0
  2. generation_config.json +13 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_v36
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_v36
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.9367
21
+ - Rouge1: 0.4747
22
+ - Rouge2: 0.2555
23
+ - Rougel: 0.4212
24
+ - Rougelsum: 0.4204
25
+ - Bert precision: 0.8696
26
+ - Bert recall: 0.87
27
+ - Average word count: 8.6396
28
+ - Max word count: 17
29
+ - Min word count: 4
30
+ - Average token count: 16.6216
31
+ - % shortened texts with length > 12: 6.3063
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: 15
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
+ | 1.571 | 1.0 | 73 | 2.1904 | 0.4703 | 0.2572 | 0.4224 | 0.4216 | 0.8718 | 0.8704 | 8.2583 | 14 | 3 | 14.2973 | 1.5015 |
63
+ | 0.8809 | 2.0 | 146 | 1.9224 | 0.4588 | 0.2414 | 0.4177 | 0.417 | 0.8734 | 0.8673 | 8.2492 | 22 | 3 | 15.8078 | 3.9039 |
64
+ | 0.7135 | 3.0 | 219 | 2.7437 | 0.2535 | 0.082 | 0.2289 | 0.2294 | 0.8131 | 0.8149 | 8.4324 | 11 | 5 | 14.973 | 0.0 |
65
+ | 0.5646 | 4.0 | 292 | 2.0495 | 0.4689 | 0.249 | 0.4155 | 0.4156 | 0.8653 | 0.8736 | 9.8438 | 20 | 4 | 18.0961 | 21.3213 |
66
+ | 0.4158 | 5.0 | 365 | 2.0101 | 0.4707 | 0.2539 | 0.4241 | 0.4243 | 0.8688 | 0.8725 | 8.9009 | 14 | 4 | 14.7988 | 4.2042 |
67
+ | 0.3445 | 6.0 | 438 | 2.0642 | 0.4606 | 0.255 | 0.4133 | 0.4132 | 0.866 | 0.8705 | 9.0991 | 15 | 4 | 14.955 | 6.3063 |
68
+ | 0.2473 | 7.0 | 511 | 2.2675 | 0.4668 | 0.2441 | 0.4137 | 0.413 | 0.8683 | 0.8694 | 8.7177 | 19 | 3 | 16.5766 | 9.3093 |
69
+ | 0.2084 | 8.0 | 584 | 2.4474 | 0.4793 | 0.2608 | 0.4256 | 0.4257 | 0.8701 | 0.8741 | 9.1021 | 17 | 4 | 17.048 | 9.9099 |
70
+ | 0.1703 | 9.0 | 657 | 2.3961 | 0.4754 | 0.2609 | 0.4253 | 0.4253 | 0.8676 | 0.8749 | 9.2943 | 17 | 4 | 17.2402 | 11.4114 |
71
+ | 0.1293 | 10.0 | 730 | 2.4721 | 0.4581 | 0.2463 | 0.409 | 0.4082 | 0.8657 | 0.8671 | 8.7057 | 18 | 4 | 16.3514 | 6.9069 |
72
+ | 0.1312 | 11.0 | 803 | 2.4027 | 0.4667 | 0.2497 | 0.4117 | 0.4113 | 0.868 | 0.8683 | 8.4925 | 18 | 4 | 15.4294 | 5.1051 |
73
+ | 0.1424 | 12.0 | 876 | 2.5041 | 0.476 | 0.2506 | 0.4214 | 0.4214 | 0.8715 | 0.8699 | 8.6186 | 18 | 4 | 16.1862 | 6.006 |
74
+ | 0.0926 | 13.0 | 949 | 2.7011 | 0.4723 | 0.2582 | 0.4238 | 0.4227 | 0.8695 | 0.8701 | 8.6096 | 19 | 4 | 16.4505 | 5.7057 |
75
+ | 0.0663 | 14.0 | 1022 | 2.8149 | 0.467 | 0.2504 | 0.4157 | 0.4153 | 0.8674 | 0.8675 | 8.6336 | 17 | 4 | 16.4985 | 5.1051 |
76
+ | 0.0684 | 15.0 | 1095 | 2.9367 | 0.4747 | 0.2555 | 0.4212 | 0.4204 | 0.8696 | 0.87 | 8.6396 | 17 | 4 | 16.6216 | 6.3063 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.33.1
82
+ - Pytorch 2.0.1+cu118
83
+ - Datasets 2.14.5
84
+ - 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:5031b7c85d7740e1a13f2a3498543e058c709114dccae6a56dba51f9b58c6666
3
  size 1625537293
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47a7e3f85c8b8530242ed90e421fa46d63deea7c4792253bf2a4ff38edabab11
3
  size 1625537293