DHBaek commited on
Commit
880500b
1 Parent(s): d4f3266

commit klue-bert-base-re model and tokenizer

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<obj>": 32000, "<subj>": 32002, "</subj>": 32003, "</obj>": 32001}
config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "klue/bert-base",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8",
21
+ "9": "LABEL_9",
22
+ "10": "LABEL_10",
23
+ "11": "LABEL_11",
24
+ "12": "LABEL_12",
25
+ "13": "LABEL_13",
26
+ "14": "LABEL_14",
27
+ "15": "LABEL_15",
28
+ "16": "LABEL_16",
29
+ "17": "LABEL_17",
30
+ "18": "LABEL_18",
31
+ "19": "LABEL_19",
32
+ "20": "LABEL_20",
33
+ "21": "LABEL_21",
34
+ "22": "LABEL_22",
35
+ "23": "LABEL_23",
36
+ "24": "LABEL_24",
37
+ "25": "LABEL_25",
38
+ "26": "LABEL_26",
39
+ "27": "LABEL_27",
40
+ "28": "LABEL_28",
41
+ "29": "LABEL_29"
42
+ },
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 3072,
45
+ "label2id": {
46
+ "LABEL_0": 0,
47
+ "LABEL_1": 1,
48
+ "LABEL_10": 10,
49
+ "LABEL_11": 11,
50
+ "LABEL_12": 12,
51
+ "LABEL_13": 13,
52
+ "LABEL_14": 14,
53
+ "LABEL_15": 15,
54
+ "LABEL_16": 16,
55
+ "LABEL_17": 17,
56
+ "LABEL_18": 18,
57
+ "LABEL_19": 19,
58
+ "LABEL_2": 2,
59
+ "LABEL_20": 20,
60
+ "LABEL_21": 21,
61
+ "LABEL_22": 22,
62
+ "LABEL_23": 23,
63
+ "LABEL_24": 24,
64
+ "LABEL_25": 25,
65
+ "LABEL_26": 26,
66
+ "LABEL_27": 27,
67
+ "LABEL_28": 28,
68
+ "LABEL_29": 29,
69
+ "LABEL_3": 3,
70
+ "LABEL_4": 4,
71
+ "LABEL_5": 5,
72
+ "LABEL_6": 6,
73
+ "LABEL_7": 7,
74
+ "LABEL_8": 8,
75
+ "LABEL_9": 9
76
+ },
77
+ "layer_norm_eps": 1e-12,
78
+ "max_position_embeddings": 512,
79
+ "model_type": "bert",
80
+ "num_attention_heads": 12,
81
+ "num_hidden_layers": 12,
82
+ "pad_token_id": 0,
83
+ "position_embedding_type": "absolute",
84
+ "transformers_version": "4.4.2",
85
+ "type_vocab_size": 2,
86
+ "use_cache": true,
87
+ "vocab_size": 32004
88
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c900ce5ab93dfb21823fb36b2b7704209178f1d71ae600dd95731d702df0ec3
3
+ size 442663305
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "additional_special_tokens": ["<obj>", "</obj>", "<subj>", "</subj>"]}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "do_basic_tokenize": true, "never_split": null, "model_max_length": 512, "special_tokens_map_file": "/workspace/.cache/huggingface/transformers/aeaaa3afd086a040be912f92ffe7b5f85008b744624f4517c4216bcc32b51cf0.054ece8d16bd524c8a00f0e8a976c00d5de22a755ffb79e353ee2954d9289e26", "name_or_path": "klue/bert-base"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff