ldos commited on
Commit
52287d0
1 Parent(s): 7c12267

End of training

Browse files
Files changed (3) hide show
  1. README.md +76 -0
  2. generation_config.json +13 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_v46
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_v46
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: 1.8536
21
+ - Rouge1: 0.485
22
+ - Rouge2: 0.271
23
+ - Rougel: 0.4374
24
+ - Rougelsum: 0.4371
25
+ - Bert precision: 0.8676
26
+ - Bert recall: 0.8761
27
+ - Average word count: 9.1032
28
+ - Max word count: 17
29
+ - Min word count: 4
30
+ - Average token count: 15.8254
31
+ - % shortened texts with length > 12: 9.5238
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: 32
52
+ - eval_batch_size: 32
53
+ - seed: 42
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - num_epochs: 7
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.8213 | 1.0 | 42 | 2.1030 | 0.4561 | 0.2433 | 0.4131 | 0.4131 | 0.8606 | 0.8724 | 9.0529 | 15 | 5 | 14.7249 | 7.4074 |
63
+ | 0.8874 | 2.0 | 84 | 1.8034 | 0.4778 | 0.2609 | 0.4316 | 0.4316 | 0.8569 | 0.8787 | 10.6323 | 21 | 5 | 16.2963 | 19.3122 |
64
+ | 0.603 | 3.0 | 126 | 1.6613 | 0.4749 | 0.2594 | 0.425 | 0.4253 | 0.8576 | 0.8796 | 10.5106 | 21 | 5 | 16.2751 | 23.0159 |
65
+ | 0.5413 | 4.0 | 168 | 1.5975 | 0.4729 | 0.249 | 0.4258 | 0.4254 | 0.8635 | 0.8696 | 8.6481 | 16 | 4 | 14.3677 | 4.2328 |
66
+ | 0.3393 | 5.0 | 210 | 1.6755 | 0.4959 | 0.28 | 0.4476 | 0.4473 | 0.8687 | 0.8772 | 8.8942 | 20 | 5 | 15.8915 | 8.4656 |
67
+ | 0.2573 | 6.0 | 252 | 1.6908 | 0.4775 | 0.2589 | 0.4309 | 0.4307 | 0.866 | 0.873 | 8.9868 | 22 | 4 | 15.4339 | 10.3175 |
68
+ | 0.173 | 7.0 | 294 | 1.8536 | 0.485 | 0.271 | 0.4374 | 0.4371 | 0.8676 | 0.8761 | 9.1032 | 17 | 4 | 15.8254 | 9.5238 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.33.1
74
+ - Pytorch 2.0.1+cu118
75
+ - Datasets 2.14.5
76
+ - 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:e5309018bded8ba0f56cf020af07b64cd2fe336e6208daada782c97f0670139b
3
  size 1625537293
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06ddaa362012e707d5b3cee5066c4d8f528f8896c82abd71afe203983890827a
3
  size 1625537293