jaehyeong.an commited on
Commit
5bded90
1 Parent(s): 8e68c78

init klue-ner

Browse files
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "klue/roberta-base",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "B-DT",
16
+ "1": "I-DT",
17
+ "2": "B-LC",
18
+ "3": "I-LC",
19
+ "4": "B-OG",
20
+ "5": "I-OG",
21
+ "6": "B-PS",
22
+ "7": "I-PS",
23
+ "8": "B-QT",
24
+ "9": "I-QT",
25
+ "10": "B-TI",
26
+ "11": "I-TI",
27
+ "12": "O"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "B-DT": 0,
33
+ "B-LC": 2,
34
+ "B-OG": 4,
35
+ "B-PS": 6,
36
+ "B-QT": 8,
37
+ "B-TI": 10,
38
+ "I-DT": 1,
39
+ "I-LC": 3,
40
+ "I-OG": 5,
41
+ "I-PS": 7,
42
+ "I-QT": 9,
43
+ "I-TI": 11,
44
+ "O": 12
45
+ },
46
+ "layer_norm_eps": 1e-05,
47
+ "max_position_embeddings": 514,
48
+ "model_type": "roberta",
49
+ "num_attention_heads": 12,
50
+ "num_hidden_layers": 12,
51
+ "pad_token_id": 1,
52
+ "position_embedding_type": "absolute",
53
+ "tokenizer_class": "BertTokenizer",
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.24.0",
56
+ "type_vocab_size": 1,
57
+ "use_cache": true,
58
+ "vocab_size": 32000
59
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6337bf549fe8358b1f0fa1ca13beec133a88c5acc1436efa7e94930dc52a93c4
3
+ size 440221105
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": "[UNK]"
9
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "bos_token": "[CLS]",
4
+ "cls_token": "[CLS]",
5
+ "do_basic_tokenize": true,
6
+ "do_lower_case": false,
7
+ "eos_token": "[SEP]",
8
+ "mask_token": "[MASK]",
9
+ "model_max_length": 512,
10
+ "name_or_path": "klue/roberta-base",
11
+ "never_split": null,
12
+ "pad_token": "[PAD]",
13
+ "sep_token": "[SEP]",
14
+ "special_tokens_map_file": "/root/.cache/huggingface/hub/models--klue--roberta-base/snapshots/67dd433d36ebc66a42c9aaa85abcf8d2620e41d9/special_tokens_map.json",
15
+ "strip_accents": null,
16
+ "tokenize_chinese_chars": true,
17
+ "tokenizer_class": "BertTokenizer",
18
+ "unk_token": "[UNK]"
19
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff