mtc commited on
Commit
01334be
·
verified ·
1 Parent(s): a6bf6c1

Model save

Browse files
Files changed (2) hide show
  1. README.md +70 -0
  2. generation_config.json +12 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/bart-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - rouge
8
+ model-index:
9
+ - name: bart-base-govreport-1024
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
+ # bart-base-govreport-1024
17
+
18
+ This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 4.5326
21
+ - Rouge1: 47.2014
22
+ - Rouge2: 14.3537
23
+ - Rougel: 20.357
24
+ - Rougelsum: 45.2941
25
+ - Gen Len: 748.32
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 0.0008
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 4
47
+ - seed: 42
48
+ - gradient_accumulation_steps: 4
49
+ - total_train_batch_size: 32
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: polynomial
52
+ - lr_scheduler_warmup_steps: 500
53
+ - num_epochs: 4
54
+ - mixed_precision_training: Native AMP
55
+ - label_smoothing_factor: 0.2
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
60
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
61
+ | 4.7807 | 1.83 | 1000 | 4.7100 | 44.714 | 12.3085 | 18.8368 | 42.8279 | 749.72 |
62
+ | 4.4195 | 3.65 | 2000 | 4.5326 | 47.2014 | 14.3537 | 20.357 | 45.2941 | 748.32 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.37.2
68
+ - Pytorch 2.0.1+cu117
69
+ - Datasets 2.14.4
70
+ - Tokenizers 0.15.2
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 2,
4
+ "early_stopping": true,
5
+ "eos_token_id": 2,
6
+ "forced_bos_token_id": 0,
7
+ "forced_eos_token_id": 2,
8
+ "no_repeat_ngram_size": 3,
9
+ "num_beams": 4,
10
+ "pad_token_id": 1,
11
+ "transformers_version": "4.37.2"
12
+ }