anonymous12321 commited on
Commit
552e625
·
verified ·
1 Parent(s): 2ddf7f2

Upload 10 files

Browse files
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<doc-sep>": 50265
3
+ }
config.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 3,
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "LEDForConditionalGeneration"
9
+ ],
10
+ "attention_dilation": [
11
+ 1,
12
+ 1,
13
+ 1,
14
+ 1,
15
+ 1,
16
+ 1,
17
+ 1,
18
+ 1,
19
+ 1,
20
+ 1,
21
+ 1,
22
+ 1
23
+ ],
24
+ "attention_dropout": 0.0,
25
+ "attention_mode": "sliding_chunks",
26
+ "attention_window": [
27
+ 512,
28
+ 512,
29
+ 512,
30
+ 512,
31
+ 512,
32
+ 512,
33
+ 512,
34
+ 512,
35
+ 512,
36
+ 512,
37
+ 512,
38
+ 512
39
+ ],
40
+ "autoregressive": false,
41
+ "bos_token_id": 0,
42
+ "classif_dropout": 0.0,
43
+ "classifier_dropout": 0.0,
44
+ "d_model": 1024,
45
+ "decoder_attention_heads": 16,
46
+ "decoder_ffn_dim": 4096,
47
+ "decoder_layerdrop": 0.0,
48
+ "decoder_layers": 12,
49
+ "decoder_start_token_id": 2,
50
+ "dropout": 0.1,
51
+ "encoder_attention_heads": 16,
52
+ "encoder_ffn_dim": 4096,
53
+ "encoder_layerdrop": 0.0,
54
+ "encoder_layers": 12,
55
+ "eos_token_id": 2,
56
+ "extra_pos_embeddings": 2,
57
+ "force_bos_token_to_be_generated": false,
58
+ "id2label": {
59
+ "0": "LABEL_0",
60
+ "1": "LABEL_1",
61
+ "2": "LABEL_2"
62
+ },
63
+ "init_std": 0.02,
64
+ "is_encoder_decoder": true,
65
+ "label2id": {
66
+ "LABEL_0": 0,
67
+ "LABEL_1": 1,
68
+ "LABEL_2": 2
69
+ },
70
+ "max_decoder_position_embeddings": 1024,
71
+ "max_encoder_position_embeddings": 4096,
72
+ "max_position_embeddings": 4096,
73
+ "model_type": "led",
74
+ "no_repeat_ngram_size": null,
75
+ "normalize_before": false,
76
+ "normalize_embedding": true,
77
+ "num_hidden_layers": 12,
78
+ "output_past": false,
79
+ "pad_token_id": 1,
80
+ "prefix": " ",
81
+ "scale_embedding": false,
82
+ "static_position_embeddings": false,
83
+ "task_specific_params": {
84
+ "summarization": {
85
+ "early_stopping": true,
86
+ "length_penalty": 2.0,
87
+ "max_length": 142,
88
+ "min_length": 56,
89
+ "no_repeat_ngram_size": 3,
90
+ "num_beams": 4
91
+ }
92
+ },
93
+ "torch_dtype": "float32",
94
+ "transformers_version": "4.55.4",
95
+ "use_cache": true,
96
+ "vocab_size": 50266
97
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "eos_token_id": 2,
6
+ "no_repeat_ngram_size": 3,
7
+ "pad_token_id": 1,
8
+ "transformers_version": "4.55.4"
9
+ }
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:0dad95530637a6749e23c22c5d1a8cf947afd39776c0f4b7c00342bf7a46ff32
3
+ size 1789150784
special_tokens_map.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<doc-sep>"
4
+ ],
5
+ "bos_token": {
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "cls_token": {
13
+ "content": "<s>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "eos_token": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": true,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "mask_token": {
27
+ "content": "<mask>",
28
+ "lstrip": true,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ },
33
+ "pad_token": {
34
+ "content": "<pad>",
35
+ "lstrip": false,
36
+ "normalized": true,
37
+ "rstrip": false,
38
+ "single_word": false
39
+ },
40
+ "sep_token": {
41
+ "content": "</s>",
42
+ "lstrip": false,
43
+ "normalized": true,
44
+ "rstrip": false,
45
+ "single_word": false
46
+ },
47
+ "unk_token": {
48
+ "content": "<unk>",
49
+ "lstrip": false,
50
+ "normalized": true,
51
+ "rstrip": false,
52
+ "single_word": false
53
+ }
54
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "50265": {
45
+ "content": "<doc-sep>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ }
52
+ },
53
+ "additional_special_tokens": [
54
+ "<doc-sep>"
55
+ ],
56
+ "bos_token": "<s>",
57
+ "clean_up_tokenization_spaces": false,
58
+ "cls_token": "<s>",
59
+ "eos_token": "</s>",
60
+ "errors": "replace",
61
+ "extra_special_tokens": {},
62
+ "mask_token": "<mask>",
63
+ "model_max_length": 4096,
64
+ "pad_token": "<pad>",
65
+ "sep_token": "</s>",
66
+ "tokenizer_class": "LEDTokenizer",
67
+ "trim_offsets": true,
68
+ "unk_token": "<unk>"
69
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45daab52c604ad69f6d155f01ff1810c82a38674204e0b401dbf4742494986c1
3
+ size 5777
vocab.json ADDED
The diff for this file is too large to render. See raw diff