patrickvonplaten
commited on
Commit
•
ff990eb
1
Parent(s):
e4a41ee
add files
Browse files- config.json +94 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"LongformerEncoderDecoderForConditionalGeneration"
|
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_probs_dropout_prob": 0.0,
|
27 |
+
"attention_window": [
|
28 |
+
512,
|
29 |
+
512,
|
30 |
+
512,
|
31 |
+
512,
|
32 |
+
512,
|
33 |
+
512,
|
34 |
+
512,
|
35 |
+
512,
|
36 |
+
512,
|
37 |
+
512,
|
38 |
+
512,
|
39 |
+
512
|
40 |
+
],
|
41 |
+
"autoregressive": false,
|
42 |
+
"bos_token_id": 0,
|
43 |
+
"classif_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 |
+
"gradient_checkpointing": false,
|
59 |
+
"id2label": {
|
60 |
+
"0": "LABEL_0",
|
61 |
+
"1": "LABEL_1",
|
62 |
+
"2": "LABEL_2"
|
63 |
+
},
|
64 |
+
"init_std": 0.02,
|
65 |
+
"is_encoder_decoder": true,
|
66 |
+
"label2id": {
|
67 |
+
"LABEL_0": 0,
|
68 |
+
"LABEL_1": 1,
|
69 |
+
"LABEL_2": 2
|
70 |
+
},
|
71 |
+
"max_decoder_position_embeddings": 1024,
|
72 |
+
"max_encoder_position_embeddings": 16384,
|
73 |
+
"max_position_embeddings": 1024,
|
74 |
+
"model_type": "bart",
|
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 |
+
"vocab_size": 50265
|
94 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c88847c75a423423e387793f4a8d82861b473dc55793e781a587cc4a28c36a75
|
3 |
+
size 1839651959
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"model_max_length": 16384}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|