smetan commited on
Commit
26e2d35
1 Parent(s): bf1e3d8

initialization

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"AtLocation": 50265, "CapableOf": 50266, "Causes": 50267, "CausesDesire": 50268, "CreatedBy": 50269, "DefinedAs": 50270, "DesireOf": 50271, "Desires": 50272, "HasA": 50273, "HasFirstSubevent": 50274, "HasLastSubevent": 50275, "HasPainCharacter": 50276, "HasPainIntensity": 50277, "HasPrerequisite": 50278, "HasProperty": 50279, "HasSubEvent": 50280, "HasSubevent": 50281, "HinderedBy": 50282, "InheritsFrom": 50283, "InstanceOf": 50284, "IsA": 50285, "LocatedNear": 50286, "LocationOfAction": 50287, "MadeOf": 50288, "MadeUpOf": 50289, "MotivatedByGoal": 50290, "NotCapableOf": 50291, "NotDesires": 50292, "NotHasA": 50293, "NotHasProperty": 50294, "NotIsA": 50295, "NotMadeOf": 50296, "ObjectUse": 50297, "PartOf": 50298, "ReceivesAction": 50299, "RelatedTo": 50300, "SymbolOf": 50301, "UsedFor": 50302, "isAfter": 50303, "isBefore": 50304, "isFilledBy": 50305, "oEffect": 50306, "oReact": 50307, "oWant": 50308, "xAttr": 50309, "xEffect": 50310, "xIntent": 50311, "xNeed": 50312, "xReact": 50313, "xReason": 50314, "xWant": 50315}
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.0,
13
+ "d_model": 1024,
14
+ "decoder_attention_heads": 16,
15
+ "decoder_ffn_dim": 4096,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 12,
18
+ "decoder_start_token_id": 2,
19
+ "dropout": 0.1,
20
+ "encoder_attention_heads": 16,
21
+ "encoder_ffn_dim": 4096,
22
+ "encoder_layerdrop": 0.0,
23
+ "encoder_layers": 12,
24
+ "eos_token_id": 2,
25
+ "extra_pos_embeddings": 2,
26
+ "id2label": {
27
+ "0": "LABEL_0",
28
+ "1": "LABEL_1",
29
+ "2": "LABEL_2"
30
+ },
31
+ "init_std": 0.02,
32
+ "is_encoder_decoder": true,
33
+ "label2id": {
34
+ "LABEL_0": 0,
35
+ "LABEL_1": 1,
36
+ "LABEL_2": 2
37
+ },
38
+ "max_position_embeddings": 1024,
39
+ "model_type": "bart",
40
+ "normalize_before": false,
41
+ "normalize_embedding": true,
42
+ "num_hidden_layers": 12,
43
+ "output_past": false,
44
+ "pad_token_id": 1,
45
+ "prefix": " ",
46
+ "save_step": 2,
47
+ "scale_embedding": false,
48
+ "static_position_embeddings": false,
49
+ "task_specific_params": {
50
+ "summarization": {
51
+ "max_source_length": 48,
52
+ "max_target_length": 24,
53
+ "early_stopping": true,
54
+ "length_penalty": 2.0,
55
+ "no_repeat_ngram_size": 3,
56
+ "num_beams": 10
57
+ }
58
+ },
59
+ "vocab_size": 50316
60
+ }
config.json.org ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.0,
13
+ "d_model": 1024,
14
+ "decoder_attention_heads": 16,
15
+ "decoder_ffn_dim": 4096,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 12,
18
+ "decoder_start_token_id": 2,
19
+ "dropout": 0.1,
20
+ "encoder_attention_heads": 16,
21
+ "encoder_ffn_dim": 4096,
22
+ "encoder_layerdrop": 0.0,
23
+ "encoder_layers": 12,
24
+ "eos_token_id": 2,
25
+ "extra_pos_embeddings": 2,
26
+ "id2label": {
27
+ "0": "LABEL_0",
28
+ "1": "LABEL_1",
29
+ "2": "LABEL_2"
30
+ },
31
+ "init_std": 0.02,
32
+ "is_encoder_decoder": true,
33
+ "label2id": {
34
+ "LABEL_0": 0,
35
+ "LABEL_1": 1,
36
+ "LABEL_2": 2
37
+ },
38
+ "max_position_embeddings": 1024,
39
+ "model_type": "bart",
40
+ "normalize_before": false,
41
+ "normalize_embedding": true,
42
+ "num_hidden_layers": 12,
43
+ "output_past": false,
44
+ "pad_token_id": 1,
45
+ "prefix": " ",
46
+ "save_step": 2,
47
+ "scale_embedding": false,
48
+ "static_position_embeddings": false,
49
+ "task_specific_params": {
50
+ "summarization": {
51
+ "early_stopping": true,
52
+ "length_penalty": 2.0,
53
+ "max_length": 142,
54
+ "min_length": 56,
55
+ "no_repeat_ngram_size": 3,
56
+ "num_beams": 4
57
+ }
58
+ },
59
+ "vocab_size": 50316
60
+ }
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:70d552eef0d34314cc381074bcb7b194c0f7483644de71c5d8973bfdbc60993a
3
+ size 1625691332
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": 1024}
vocab.json ADDED
The diff for this file is too large to render. See raw diff