divyahegde07 commited on
Commit
df1f465
1 Parent(s): c804162

bart-large-finetuned-Samsum-DH

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: facebook/bart-large-cnn
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - samsum
8
+ metrics:
9
+ - rouge
10
+ model-index:
11
+ - name: mode_tuned_peft
12
+ results: []
13
+ library_name: peft
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # mode_tuned_peft
20
+
21
+ This model is a fine-tuned version of [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) on the samsum dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.5220
24
+ - Rouge1: 40.6099
25
+ - Rouge2: 20.4138
26
+ - Rougel: 31.1095
27
+ - Rougelsum: 37.6804
28
+ - Gen Len: 58.11
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 1e-05
48
+ - train_batch_size: 1
49
+ - eval_batch_size: 1
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 5
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
59
+ |:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
60
+ | 0.5144 | 1.0 | 14732 | 0.5494 | 39.171 | 19.3682 | 29.7493 | 36.2965 | 58.6773 |
61
+ | 0.5694 | 2.0 | 29464 | 0.5357 | 40.1584 | 20.0293 | 30.5791 | 37.1361 | 58.0648 |
62
+ | 0.3497 | 3.0 | 44196 | 0.5277 | 41.0391 | 20.7891 | 31.5244 | 38.1502 | 58.0086 |
63
+ | 0.3444 | 4.0 | 58928 | 0.5255 | 40.6698 | 20.543 | 31.2399 | 37.8126 | 58.3716 |
64
+ | 0.3495 | 5.0 | 73660 | 0.5220 | 40.6099 | 20.4138 | 31.1095 | 37.6804 | 58.11 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - PEFT 0.4.0
70
+ - Transformers 4.42.3
71
+ - Pytorch 2.3.1+cu121
72
+ - Datasets 2.20.0
73
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "facebook/bart-large-cnn",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 32,
11
+ "lora_dropout": 0.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 8,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj"
19
+ ],
20
+ "task_type": "SEQ_2_SEQ_LM"
21
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87812fa1d58c6348a9d71c38eb28c4838fb8ec68014707fe76dcf873440480d3
3
+ size 4738744
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
runs/Jul11_13-00-22_informally-glorious-horse/events.out.tfevents.1720702823.informally-glorious-horse ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fab16b2343b9255efcf3ad63f2cddcaead525e879586d4058e7c94d0d18ba02
3
+ size 36751
runs/Jul11_13-12-26_informally-glorious-horse/events.out.tfevents.1720703547.informally-glorious-horse ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0c859d61ca6d06be45a983d5748cefd72df76c612bddcb91919a730be519666
3
+ size 37785
runs/Jul11_13-12-26_informally-glorious-horse/events.out.tfevents.1720703919.informally-glorious-horse ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:901563bc96b9c2a97198dfd48bb094818f7d1041ce49ff79fed7a16b2ef1208f
3
+ size 40
runs/Jul11_13-19-32_informally-glorious-horse/events.out.tfevents.1720703973.informally-glorious-horse ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:377062648a06f62c361a084d193a2b9c6dd6c24fad3edead80305b7bd5920f62
3
+ size 1586052
runs/Jul11_13-19-32_informally-glorious-horse/events.out.tfevents.1720715530.informally-glorious-horse ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d073b2785ee985e60af7765879a9787f72df929cd64c34024d5a12b8881bf590
3
+ size 40
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "</s>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "</s>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "BartTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f00bbfd79eb361cf31d003733eec46a85b863602eb14c043a700db2a87d5b35f
3
+ size 5304
vocab.json ADDED
The diff for this file is too large to render. See raw diff