ldos commited on
Commit
b5898f9
1 Parent(s): 9e0ed29

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_v45
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_v45
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: 26.8982
21
+ - Rouge1: 0.0
22
+ - Rouge2: 0.0
23
+ - Rougel: 0.0
24
+ - Rougelsum: 0.0
25
+ - Bert precision: 0.6649
26
+ - Bert recall: 0.672
27
+ - Average word count: 1.0
28
+ - Max word count: 1
29
+ - Min word count: 1
30
+ - Average token count: 62.0
31
+ - % shortened texts with length > 12: 0.0
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
+ | 3.3791 | 1.0 | 83 | 6.7318 | 0.0982 | 0.0 | 0.0972 | 0.0969 | 0.6855 | 0.6599 | 1.2937 | 2 | 1 | 16.7619 | 0.0 |
63
+ | 2.8727 | 2.0 | 166 | 10.3841 | 0.0 | 0.0 | 0.0 | 0.0 | 0.674 | 0.6911 | 3.0 | 3 | 3 | 62.0 | 0.0 |
64
+ | 2.7805 | 3.0 | 249 | 10.0261 | 0.0345 | 0.0 | 0.0346 | 0.0345 | 0.6746 | 0.6819 | 2.0 | 2 | 2 | 62.0 | 0.0 |
65
+ | 2.7183 | 4.0 | 332 | 9.5191 | 0.0 | 0.0 | 0.0 | 0.0 | 0.673 | 0.6736 | 1.0 | 1 | 1 | 62.0 | 0.0 |
66
+ | 2.7086 | 5.0 | 415 | 10.4466 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6568 | 0.6648 | 1.0 | 1 | 1 | 62.0 | 0.0 |
67
+ | 2.6474 | 6.0 | 498 | 13.9665 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6641 | 0.6709 | 1.0 | 1 | 1 | 62.0 | 0.0 |
68
+ | 2.63 | 7.0 | 581 | 13.3621 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6457 | 0.6701 | 1.0 | 1 | 1 | 62.0 | 0.0 |
69
+ | 2.5998 | 8.0 | 664 | 13.0602 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6618 | 0.6672 | 1.0 | 1 | 1 | 62.0 | 0.0 |
70
+ | 2.5689 | 9.0 | 747 | 15.0760 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6591 | 0.6651 | 1.0 | 1 | 1 | 62.0 | 0.0 |
71
+ | 2.5508 | 10.0 | 830 | 15.6936 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6649 | 0.6716 | 1.0 | 1 | 1 | 62.0 | 0.0 |
72
+ | 2.5298 | 11.0 | 913 | 16.8446 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6604 | 0.6648 | 1.0 | 1 | 1 | 62.0 | 0.0 |
73
+ | 2.5091 | 12.0 | 996 | 21.0673 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6721 | 0.6702 | 1.0 | 1 | 1 | 62.0 | 0.0 |
74
+ | 2.5019 | 13.0 | 1079 | 25.5628 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6605 | 0.67 | 1.0 | 1 | 1 | 62.0 | 0.0 |
75
+ | 2.4826 | 14.0 | 1162 | 25.1203 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6725 | 0.6666 | 1.0 | 1 | 1 | 62.0 | 0.0 |
76
+ | 2.4693 | 15.0 | 1245 | 26.8982 | 0.0 | 0.0 | 0.0 | 0.0 | 0.6649 | 0.672 | 1.0 | 1 | 1 | 62.0 | 0.0 |
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:c6c99587f810b1071dd1d2234c0593c075cc8b46d38e8ba6a9b284dc3ec4ac79
3
  size 1625537293
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:644286d23d9733efb5b079945029bddd5597c2b648f12253d0fdc1fad56ed484
3
  size 1625537293