ldos commited on
Commit
5e09fbc
1 Parent(s): edf2716

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_v37
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_v37
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.9472
21
+ - Rouge1: 0.4923
22
+ - Rouge2: 0.2809
23
+ - Rougel: 0.4462
24
+ - Rougelsum: 0.4468
25
+ - Bert precision: 0.8731
26
+ - Bert recall: 0.8773
27
+ - Average word count: 9.1021
28
+ - Max word count: 15
29
+ - Min word count: 5
30
+ - Average token count: 16.8198
31
+ - % shortened texts with length > 12: 8.7087
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.5911 | 1.0 | 73 | 1.8586 | 0.4823 | 0.2756 | 0.4416 | 0.4423 | 0.8661 | 0.8758 | 8.9399 | 21 | 4 | 16.9489 | 7.8078 |
63
+ | 0.9246 | 2.0 | 146 | 2.2274 | 0.4039 | 0.2049 | 0.3771 | 0.3764 | 0.8526 | 0.855 | 8.0991 | 13 | 4 | 14.6006 | 0.6006 |
64
+ | 0.7574 | 3.0 | 219 | 1.8752 | 0.4463 | 0.2263 | 0.4072 | 0.4071 | 0.8629 | 0.8654 | 8.3934 | 14 | 5 | 14.3303 | 3.003 |
65
+ | 0.6131 | 4.0 | 292 | 1.8338 | 0.4896 | 0.2691 | 0.4451 | 0.4456 | 0.8747 | 0.8711 | 7.982 | 13 | 4 | 13.9249 | 0.3003 |
66
+ | 0.4422 | 5.0 | 365 | 1.8257 | 0.492 | 0.2727 | 0.4499 | 0.4504 | 0.8734 | 0.875 | 8.5165 | 16 | 5 | 14.4595 | 3.003 |
67
+ | 0.4227 | 6.0 | 438 | 2.1249 | 0.4666 | 0.2475 | 0.418 | 0.4178 | 0.8657 | 0.8697 | 9.3874 | 16 | 4 | 16.9399 | 8.4084 |
68
+ | 0.3714 | 7.0 | 511 | 2.1010 | 0.4838 | 0.274 | 0.436 | 0.4364 | 0.869 | 0.8754 | 9.4264 | 16 | 5 | 14.9369 | 9.009 |
69
+ | 0.2638 | 8.0 | 584 | 2.0803 | 0.489 | 0.2799 | 0.4404 | 0.4404 | 0.8701 | 0.8751 | 8.976 | 15 | 4 | 15.5736 | 8.4084 |
70
+ | 0.2103 | 9.0 | 657 | 2.1093 | 0.4888 | 0.2722 | 0.4381 | 0.438 | 0.872 | 0.8751 | 9.1952 | 16 | 5 | 16.7447 | 9.9099 |
71
+ | 0.1475 | 10.0 | 730 | 2.3159 | 0.4684 | 0.2597 | 0.4243 | 0.4244 | 0.8632 | 0.8721 | 9.4234 | 15 | 5 | 16.8288 | 11.7117 |
72
+ | 0.122 | 11.0 | 803 | 2.4090 | 0.4845 | 0.2729 | 0.4421 | 0.4427 | 0.8721 | 0.8748 | 8.8018 | 16 | 5 | 16.4264 | 5.7057 |
73
+ | 0.0915 | 12.0 | 876 | 2.6598 | 0.4838 | 0.2691 | 0.4376 | 0.437 | 0.8698 | 0.8742 | 9.1652 | 16 | 5 | 16.9009 | 10.2102 |
74
+ | 0.073 | 13.0 | 949 | 2.5266 | 0.4973 | 0.2861 | 0.4479 | 0.4495 | 0.8743 | 0.8776 | 9.0631 | 16 | 5 | 16.5796 | 8.4084 |
75
+ | 0.0526 | 14.0 | 1022 | 2.7673 | 0.4955 | 0.2821 | 0.4464 | 0.4463 | 0.8716 | 0.8791 | 9.4685 | 16 | 5 | 17.2012 | 10.5105 |
76
+ | 0.042 | 15.0 | 1095 | 2.9472 | 0.4923 | 0.2809 | 0.4462 | 0.4468 | 0.8731 | 0.8773 | 9.1021 | 15 | 5 | 16.8198 | 8.7087 |
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:510b6df9472449837a134797948b2e90adaaded70d3890b9812bd4a20df3959d
3
  size 1625537293
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22b72cbced39ba355a99d8beec88f6c63674870ac4a2c35ca2469dfe8c3bb0d1
3
  size 1625537293