ikuyamada commited on
Commit
28564f6
·
1 Parent(s): c956cd2

initial commit

Browse files
.gitattributes CHANGED
@@ -14,3 +14,4 @@
14
  *.pb filter=lfs diff=lfs merge=lfs -text
15
  *.pt filter=lfs diff=lfs merge=lfs -text
16
  *.pth filter=lfs diff=lfs merge=lfs -text
 
 
14
  *.pb filter=lfs diff=lfs merge=lfs -text
15
  *.pt filter=lfs diff=lfs merge=lfs -text
16
  *.pth filter=lfs diff=lfs merge=lfs -text
17
+ entity_vocab.json filter=lfs diff=lfs merge=lfs -text
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<ent>": 50265, "<ent2>": 50266}
config.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LukeForEntityPairClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bert_model_name": "roberta-large",
7
+ "bos_token_id": 0,
8
+ "entity_emb_size": 256,
9
+ "entity_vocab_size": 500000,
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 1024,
15
+ "id2label": {
16
+ "0": "LABEL_0",
17
+ "1": "LABEL_1",
18
+ "2": "LABEL_2",
19
+ "3": "LABEL_3",
20
+ "4": "LABEL_4",
21
+ "5": "LABEL_5",
22
+ "6": "LABEL_6",
23
+ "7": "LABEL_7",
24
+ "8": "LABEL_8",
25
+ "9": "LABEL_9",
26
+ "10": "LABEL_10",
27
+ "11": "LABEL_11",
28
+ "12": "LABEL_12",
29
+ "13": "LABEL_13",
30
+ "14": "LABEL_14",
31
+ "15": "LABEL_15",
32
+ "16": "LABEL_16",
33
+ "17": "LABEL_17",
34
+ "18": "LABEL_18",
35
+ "19": "LABEL_19",
36
+ "20": "LABEL_20",
37
+ "21": "LABEL_21",
38
+ "22": "LABEL_22",
39
+ "23": "LABEL_23",
40
+ "24": "LABEL_24",
41
+ "25": "LABEL_25",
42
+ "26": "LABEL_26",
43
+ "27": "LABEL_27",
44
+ "28": "LABEL_28",
45
+ "29": "LABEL_29",
46
+ "30": "LABEL_30",
47
+ "31": "LABEL_31",
48
+ "32": "LABEL_32",
49
+ "33": "LABEL_33",
50
+ "34": "LABEL_34",
51
+ "35": "LABEL_35",
52
+ "36": "LABEL_36",
53
+ "37": "LABEL_37",
54
+ "38": "LABEL_38",
55
+ "39": "LABEL_39",
56
+ "40": "LABEL_40",
57
+ "41": "LABEL_41"
58
+ },
59
+ "initializer_range": 0.02,
60
+ "intermediate_size": 4096,
61
+ "label2id": {
62
+ "LABEL_0": 0,
63
+ "LABEL_1": 1,
64
+ "LABEL_10": 10,
65
+ "LABEL_11": 11,
66
+ "LABEL_12": 12,
67
+ "LABEL_13": 13,
68
+ "LABEL_14": 14,
69
+ "LABEL_15": 15,
70
+ "LABEL_16": 16,
71
+ "LABEL_17": 17,
72
+ "LABEL_18": 18,
73
+ "LABEL_19": 19,
74
+ "LABEL_2": 2,
75
+ "LABEL_20": 20,
76
+ "LABEL_21": 21,
77
+ "LABEL_22": 22,
78
+ "LABEL_23": 23,
79
+ "LABEL_24": 24,
80
+ "LABEL_25": 25,
81
+ "LABEL_26": 26,
82
+ "LABEL_27": 27,
83
+ "LABEL_28": 28,
84
+ "LABEL_29": 29,
85
+ "LABEL_3": 3,
86
+ "LABEL_30": 30,
87
+ "LABEL_31": 31,
88
+ "LABEL_32": 32,
89
+ "LABEL_33": 33,
90
+ "LABEL_34": 34,
91
+ "LABEL_35": 35,
92
+ "LABEL_36": 36,
93
+ "LABEL_37": 37,
94
+ "LABEL_38": 38,
95
+ "LABEL_39": 39,
96
+ "LABEL_4": 4,
97
+ "LABEL_40": 40,
98
+ "LABEL_41": 41,
99
+ "LABEL_5": 5,
100
+ "LABEL_6": 6,
101
+ "LABEL_7": 7,
102
+ "LABEL_8": 8,
103
+ "LABEL_9": 9
104
+ },
105
+ "layer_norm_eps": 1e-05,
106
+ "max_position_embeddings": 514,
107
+ "model_type": "luke",
108
+ "num_attention_heads": 16,
109
+ "num_hidden_layers": 24,
110
+ "output_past": true,
111
+ "pad_token_id": 1,
112
+ "transformers_version": "4.6.0.dev0",
113
+ "type_vocab_size": 1,
114
+ "use_entity_aware_attention": true,
115
+ "vocab_size": 50267
116
+ }
entity_vocab.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45e0508babfee0667db9a8dfa2519a6e470c769c3489b4c87c45b26f59e30947
3
+ size 15287192
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:206b98736d41cfd400890747a9daf1b1dc74d71a1beacd45bbd4474b55927bb7
3
+ size 2239466725
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}, "additional_special_tokens": [{"content": "<ent>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, {"content": "<ent2>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}]}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"errors": "replace", "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "tokenizer_file": "/Users/ikuya/.cache/huggingface/transformers/e16a2590deb9e6d73711d6e05bf27d832fa8c1162d807222e043ca650a556964.fc9576039592f026ad76a1c231b89aee8668488c671dfbe6616bab2ed298d730", "name_or_path": "roberta-large"}
vocab.json ADDED
The diff for this file is too large to render. See raw diff