MeetK commited on
Commit
e6faceb
1 Parent(s): 901b342

bart_summarisation

Browse files
Files changed (4) hide show
  1. README.md +65 -0
  2. generation_config.json +15 -0
  3. model.safetensors +1 -1
  4. tokenizer.json +1 -6
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: slauw87/bart_summarisation
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - rouge
8
+ model-index:
9
+ - name: bart_summarisation
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_summarisation
17
+
18
+ This model is a fine-tuned version of [slauw87/bart_summarisation](https://huggingface.co/slauw87/bart_summarisation) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.9189
21
+ - Rouge1: 0.3009
22
+ - Rouge2: 0.1043
23
+ - Rougel: 0.211
24
+ - Rougelsum: 0.2108
25
+ - Gen Len: 67.473
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: 2e-05
45
+ - train_batch_size: 16
46
+ - eval_batch_size: 1
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 2
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
55
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
56
+ | No log | 1.0 | 313 | 1.8971 | 0.2972 | 0.1024 | 0.2092 | 0.209 | 67.394 |
57
+ | 2.2319 | 2.0 | 626 | 1.9189 | 0.3009 | 0.1043 | 0.211 | 0.2108 | 67.473 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.35.2
63
+ - Pytorch 2.1.1+cpu
64
+ - Datasets 2.15.0
65
+ - Tokenizers 0.15.0
generation_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "length_penalty": 2.0,
9
+ "max_length": 142,
10
+ "min_length": 56,
11
+ "no_repeat_ngram_size": 3,
12
+ "num_beams": 4,
13
+ "pad_token_id": 1,
14
+ "transformers_version": "4.35.2"
15
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:597e0b3faca787e4fbb0898cdc473c16ec45a5c9a29b78325dcfee386f1f13f5
3
  size 1625426996
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76111e231254d18582bdc809aaaafdd11c639db7c21c11237b29ca7e1523fb6f
3
  size 1625426996
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 128,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {