ryusangwon commited on
Commit
c951a19
·
verified ·
1 Parent(s): 7032fb2

Model save

Browse files
README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/bart-large
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - rouge
8
+ model-index:
9
+ - name: cnn_dailymail_726_bart-large
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
+ # cnn_dailymail_726_bart-large
17
+
18
+ This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.8412
21
+ - Rouge1: 0.2469
22
+ - Rouge2: 0.1266
23
+ - Rougel: 0.2074
24
+ - Rougelsum: 0.2332
25
+ - Gen Len: 20.0
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: 5e-05
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 8
47
+ - seed: 42
48
+ - gradient_accumulation_steps: 16
49
+ - total_train_batch_size: 128
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 500
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
59
+ | 0.9706 | 0.22 | 500 | 0.9015 | 0.237 | 0.1181 | 0.1979 | 0.2232 | 19.9999 |
60
+ | 0.9212 | 0.45 | 1000 | 0.8771 | 0.237 | 0.1193 | 0.199 | 0.2233 | 20.0 |
61
+ | 0.8991 | 0.67 | 1500 | 0.8572 | 0.2443 | 0.1238 | 0.2045 | 0.2304 | 20.0 |
62
+ | 0.9085 | 0.89 | 2000 | 0.8519 | 0.2404 | 0.1227 | 0.2022 | 0.2269 | 20.0 |
63
+ | 0.8494 | 1.11 | 2500 | 0.8471 | 0.2437 | 0.1233 | 0.2041 | 0.2298 | 20.0 |
64
+ | 0.832 | 1.34 | 3000 | 0.8400 | 0.2438 | 0.1248 | 0.2055 | 0.2301 | 20.0 |
65
+ | 0.8522 | 1.56 | 3500 | 0.8393 | 0.2417 | 0.1242 | 0.2043 | 0.2283 | 20.0 |
66
+ | 0.8494 | 1.78 | 4000 | 0.8338 | 0.2436 | 0.1239 | 0.2047 | 0.23 | 19.9999 |
67
+ | 0.7729 | 2.01 | 4500 | 0.8332 | 0.2431 | 0.1253 | 0.2048 | 0.2298 | 20.0 |
68
+ | 0.7761 | 2.23 | 5000 | 0.8323 | 0.2477 | 0.1264 | 0.207 | 0.2335 | 19.9994 |
69
+ | 0.7788 | 2.45 | 5500 | 0.8277 | 0.2473 | 0.1259 | 0.2068 | 0.2333 | 20.0 |
70
+ | 0.7832 | 2.67 | 6000 | 0.8251 | 0.2453 | 0.126 | 0.2061 | 0.2317 | 20.0 |
71
+ | 0.7888 | 2.9 | 6500 | 0.8239 | 0.242 | 0.1241 | 0.2037 | 0.2287 | 20.0 |
72
+ | 0.7413 | 3.12 | 7000 | 0.8360 | 0.2394 | 0.1228 | 0.2017 | 0.2258 | 20.0 |
73
+ | 0.7438 | 3.34 | 7500 | 0.8283 | 0.2462 | 0.1267 | 0.2072 | 0.2326 | 19.9999 |
74
+ | 0.7271 | 3.57 | 8000 | 0.8275 | 0.2406 | 0.1235 | 0.2028 | 0.2276 | 20.0 |
75
+ | 0.7435 | 3.79 | 8500 | 0.8221 | 0.2451 | 0.1254 | 0.2055 | 0.2311 | 19.9998 |
76
+ | 0.7072 | 4.01 | 9000 | 0.8277 | 0.2437 | 0.1251 | 0.2049 | 0.2301 | 19.9999 |
77
+ | 0.708 | 4.24 | 9500 | 0.8270 | 0.2465 | 0.1263 | 0.2067 | 0.2325 | 19.9999 |
78
+ | 0.7058 | 4.46 | 10000 | 0.8279 | 0.2424 | 0.1249 | 0.2045 | 0.229 | 19.9999 |
79
+ | 0.6918 | 4.68 | 10500 | 0.8248 | 0.246 | 0.1259 | 0.2063 | 0.232 | 19.9998 |
80
+ | 0.7121 | 4.9 | 11000 | 0.8231 | 0.2457 | 0.126 | 0.2058 | 0.232 | 19.9999 |
81
+ | 0.6667 | 5.13 | 11500 | 0.8297 | 0.2458 | 0.1262 | 0.2066 | 0.2323 | 19.9996 |
82
+ | 0.6767 | 5.35 | 12000 | 0.8309 | 0.2469 | 0.1269 | 0.2071 | 0.2332 | 19.9996 |
83
+ | 0.6961 | 5.57 | 12500 | 0.8299 | 0.247 | 0.1271 | 0.2074 | 0.2333 | 20.0 |
84
+ | 0.6842 | 5.8 | 13000 | 0.8333 | 0.2473 | 0.127 | 0.2077 | 0.2336 | 19.9996 |
85
+ | 0.6485 | 6.02 | 13500 | 0.8360 | 0.2454 | 0.1259 | 0.2061 | 0.2316 | 19.9998 |
86
+ | 0.6651 | 6.24 | 14000 | 0.8349 | 0.2454 | 0.126 | 0.2062 | 0.2314 | 20.0 |
87
+ | 0.6483 | 6.46 | 14500 | 0.8331 | 0.2454 | 0.1258 | 0.2058 | 0.2316 | 20.0 |
88
+ | 0.6626 | 6.69 | 15000 | 0.8309 | 0.2468 | 0.127 | 0.2069 | 0.2328 | 19.9996 |
89
+ | 0.6675 | 6.91 | 15500 | 0.8337 | 0.2448 | 0.1255 | 0.2056 | 0.231 | 19.9999 |
90
+ | 0.6479 | 7.13 | 16000 | 0.8387 | 0.2471 | 0.1267 | 0.2074 | 0.2333 | 19.9999 |
91
+ | 0.6506 | 7.36 | 16500 | 0.8377 | 0.2474 | 0.1264 | 0.2071 | 0.2335 | 19.9999 |
92
+ | 0.643 | 7.58 | 17000 | 0.8369 | 0.2454 | 0.1259 | 0.2059 | 0.2318 | 20.0 |
93
+ | 0.6262 | 7.8 | 17500 | 0.8378 | 0.2466 | 0.1269 | 0.2071 | 0.233 | 19.9997 |
94
+ | 0.6235 | 8.02 | 18000 | 0.8415 | 0.2458 | 0.1266 | 0.2065 | 0.2321 | 20.0 |
95
+ | 0.6081 | 8.25 | 18500 | 0.8421 | 0.2465 | 0.1267 | 0.2069 | 0.2326 | 19.9997 |
96
+ | 0.6257 | 8.47 | 19000 | 0.8409 | 0.2477 | 0.1267 | 0.2075 | 0.2337 | 19.9999 |
97
+ | 0.6187 | 8.69 | 19500 | 0.8381 | 0.2459 | 0.1264 | 0.2066 | 0.2321 | 19.9997 |
98
+ | 0.6178 | 8.92 | 20000 | 0.8384 | 0.248 | 0.1273 | 0.2079 | 0.2339 | 19.9996 |
99
+ | 0.6018 | 9.14 | 20500 | 0.8432 | 0.2468 | 0.1265 | 0.2071 | 0.2329 | 20.0 |
100
+ | 0.6235 | 9.36 | 21000 | 0.8418 | 0.2469 | 0.1265 | 0.207 | 0.233 | 20.0 |
101
+ | 0.606 | 9.58 | 21500 | 0.8418 | 0.2464 | 0.1264 | 0.207 | 0.2327 | 19.9999 |
102
+ | 0.6016 | 9.81 | 22000 | 0.8412 | 0.2469 | 0.1266 | 0.2074 | 0.2332 | 20.0 |
103
+
104
+
105
+ ### Framework versions
106
+
107
+ - Transformers 4.37.2
108
+ - Pytorch 2.2.0+cu121
109
+ - Datasets 2.16.1
110
+ - Tokenizers 0.15.1
cnn_dailymail_726_bart-large/config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/bart-large",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 1024,
15
+ "decoder_attention_heads": 16,
16
+ "decoder_ffn_dim": 4096,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 12,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 16,
23
+ "encoder_ffn_dim": 4096,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 12,
26
+ "eos_token_id": 2,
27
+ "forced_bos_token_id": 0,
28
+ "forced_eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
+ "id2label": {
31
+ "0": "LABEL_0",
32
+ "1": "LABEL_1",
33
+ "2": "LABEL_2"
34
+ },
35
+ "init_std": 0.02,
36
+ "is_encoder_decoder": true,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_2": 2
41
+ },
42
+ "max_position_embeddings": 1024,
43
+ "model_type": "bart",
44
+ "no_repeat_ngram_size": 3,
45
+ "normalize_before": false,
46
+ "num_beams": 4,
47
+ "num_hidden_layers": 12,
48
+ "pad_token_id": 1,
49
+ "scale_embedding": false,
50
+ "task_specific_params": {
51
+ "summarization": {
52
+ "length_penalty": 1.0,
53
+ "max_length": 128,
54
+ "min_length": 12,
55
+ "num_beams": 4
56
+ },
57
+ "summarization_cnn": {
58
+ "length_penalty": 2.0,
59
+ "max_length": 142,
60
+ "min_length": 56,
61
+ "num_beams": 4
62
+ },
63
+ "summarization_xsum": {
64
+ "length_penalty": 1.0,
65
+ "max_length": 62,
66
+ "min_length": 11,
67
+ "num_beams": 6
68
+ }
69
+ },
70
+ "torch_dtype": "float32",
71
+ "transformers_version": "4.37.2",
72
+ "use_cache": true,
73
+ "vocab_size": 50265
74
+ }
cnn_dailymail_726_bart-large/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
+ }
cnn_dailymail_726_bart-large/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
cnn_dailymail_726_bart-large/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90d3deb7f0f2614ab307a738f22a12200102f87a8d0934fd0eb5fbfbca38c76d
3
+ size 1625426996
cnn_dailymail_726_bart-large/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": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
cnn_dailymail_726_bart-large/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
cnn_dailymail_726_bart-large/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": 1024,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "BartTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
cnn_dailymail_726_bart-large/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f0971868ebff6e39c2ae3773d373c067a78c8d9e6cc5ed92b95444dd2df8e3e
3
+ size 4856
cnn_dailymail_726_bart-large/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/bart-large",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 1024,
15
+ "decoder_attention_heads": 16,
16
+ "decoder_ffn_dim": 4096,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 12,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 16,
23
+ "encoder_ffn_dim": 4096,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 12,
26
+ "eos_token_id": 2,
27
+ "forced_bos_token_id": 0,
28
+ "forced_eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
+ "id2label": {
31
+ "0": "LABEL_0",
32
+ "1": "LABEL_1",
33
+ "2": "LABEL_2"
34
+ },
35
+ "init_std": 0.02,
36
+ "is_encoder_decoder": true,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_2": 2
41
+ },
42
+ "max_position_embeddings": 1024,
43
+ "model_type": "bart",
44
+ "no_repeat_ngram_size": 3,
45
+ "normalize_before": false,
46
+ "num_beams": 4,
47
+ "num_hidden_layers": 12,
48
+ "pad_token_id": 1,
49
+ "scale_embedding": false,
50
+ "task_specific_params": {
51
+ "summarization": {
52
+ "length_penalty": 1.0,
53
+ "max_length": 128,
54
+ "min_length": 12,
55
+ "num_beams": 4
56
+ },
57
+ "summarization_cnn": {
58
+ "length_penalty": 2.0,
59
+ "max_length": 142,
60
+ "min_length": 56,
61
+ "num_beams": 4
62
+ },
63
+ "summarization_xsum": {
64
+ "length_penalty": 1.0,
65
+ "max_length": 62,
66
+ "min_length": 11,
67
+ "num_beams": 6
68
+ }
69
+ },
70
+ "torch_dtype": "float32",
71
+ "transformers_version": "4.37.2",
72
+ "use_cache": true,
73
+ "vocab_size": 50265
74
+ }
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
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90d3deb7f0f2614ab307a738f22a12200102f87a8d0934fd0eb5fbfbca38c76d
3
+ size 1625426996
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": "<pad>",
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": 1024,
52
+ "pad_token": "<pad>",
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:1f0971868ebff6e39c2ae3773d373c067a78c8d9e6cc5ed92b95444dd2df8e3e
3
+ size 4856
vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
xsum_1677_bart-base/config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/bart-base",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 768,
15
+ "decoder_attention_heads": 12,
16
+ "decoder_ffn_dim": 3072,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 12,
23
+ "encoder_ffn_dim": 3072,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 2,
27
+ "forced_bos_token_id": 0,
28
+ "forced_eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
+ "id2label": {
31
+ "0": "LABEL_0",
32
+ "1": "LABEL_1",
33
+ "2": "LABEL_2"
34
+ },
35
+ "init_std": 0.02,
36
+ "is_encoder_decoder": true,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1,
40
+ "LABEL_2": 2
41
+ },
42
+ "max_position_embeddings": 1024,
43
+ "model_type": "bart",
44
+ "no_repeat_ngram_size": 3,
45
+ "normalize_before": false,
46
+ "normalize_embedding": true,
47
+ "num_beams": 4,
48
+ "num_hidden_layers": 6,
49
+ "pad_token_id": 1,
50
+ "scale_embedding": false,
51
+ "task_specific_params": {
52
+ "summarization": {
53
+ "length_penalty": 1.0,
54
+ "max_length": 128,
55
+ "min_length": 12,
56
+ "num_beams": 4
57
+ },
58
+ "summarization_cnn": {
59
+ "length_penalty": 2.0,
60
+ "max_length": 142,
61
+ "min_length": 56,
62
+ "num_beams": 4
63
+ },
64
+ "summarization_xsum": {
65
+ "length_penalty": 1.0,
66
+ "max_length": 62,
67
+ "min_length": 11,
68
+ "num_beams": 6
69
+ }
70
+ },
71
+ "torch_dtype": "float32",
72
+ "transformers_version": "4.37.2",
73
+ "use_cache": true,
74
+ "vocab_size": 50265
75
+ }
xsum_1677_bart-base/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
+ }
xsum_1677_bart-base/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
xsum_1677_bart-base/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb16d8cc54f83a05d5a2ddb01be73a9180ce6b6252cc8e6140c0e029029a1d23
3
+ size 557912620
xsum_1677_bart-base/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": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
xsum_1677_bart-base/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
xsum_1677_bart-base/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": 1024,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "BartTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
xsum_1677_bart-base/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b12ebb402523c399095b81d71e8a90bdbb1b3f76be4c59621e1c9ab2664d22dd
3
+ size 4856
xsum_1677_bart-base/vocab.json ADDED
The diff for this file is too large to render. See raw diff