KoichiYasuoka
commited on
Commit
•
86e3479
1
Parent(s):
b344b7c
initial release
Browse files- deprel/config.json +132 -0
- deprel/pytorch_model.bin +3 -0
- deprel/special_tokens_map.json +1 -0
- deprel/spm.model +3 -0
- deprel/tokenizer.json +0 -0
- deprel/tokenizer_config.json +1 -0
deprel/config.json
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"DebertaV2ForTokenClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"finetuning_task": "pos",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "B-acl",
|
14 |
+
"1": "B-advcl",
|
15 |
+
"2": "B-advmod",
|
16 |
+
"3": "B-amod",
|
17 |
+
"4": "B-aux",
|
18 |
+
"5": "B-case",
|
19 |
+
"6": "B-cc",
|
20 |
+
"7": "B-ccomp",
|
21 |
+
"8": "B-compound",
|
22 |
+
"9": "B-cop",
|
23 |
+
"10": "B-csubj",
|
24 |
+
"11": "B-dep",
|
25 |
+
"12": "B-det",
|
26 |
+
"13": "B-discourse",
|
27 |
+
"14": "B-dislocated",
|
28 |
+
"15": "B-fixed",
|
29 |
+
"16": "B-mark",
|
30 |
+
"17": "B-nmod",
|
31 |
+
"18": "B-nsubj",
|
32 |
+
"19": "B-nummod",
|
33 |
+
"20": "B-obj",
|
34 |
+
"21": "B-obl",
|
35 |
+
"22": "B-punct",
|
36 |
+
"23": "B-root",
|
37 |
+
"24": "I-acl",
|
38 |
+
"25": "I-advcl",
|
39 |
+
"26": "I-advmod",
|
40 |
+
"27": "I-amod",
|
41 |
+
"28": "I-aux",
|
42 |
+
"29": "I-case",
|
43 |
+
"30": "I-cc",
|
44 |
+
"31": "I-ccomp",
|
45 |
+
"32": "I-compound",
|
46 |
+
"33": "I-cop",
|
47 |
+
"34": "I-csubj",
|
48 |
+
"35": "I-dep",
|
49 |
+
"36": "I-det",
|
50 |
+
"37": "I-discourse",
|
51 |
+
"38": "I-dislocated",
|
52 |
+
"39": "I-fixed",
|
53 |
+
"40": "I-mark",
|
54 |
+
"41": "I-nmod",
|
55 |
+
"42": "I-nsubj",
|
56 |
+
"43": "I-nummod",
|
57 |
+
"44": "I-obj",
|
58 |
+
"45": "I-obl",
|
59 |
+
"46": "I-punct",
|
60 |
+
"47": "I-root"
|
61 |
+
},
|
62 |
+
"initializer_range": 0.02,
|
63 |
+
"intermediate_size": 3072,
|
64 |
+
"label2id": {
|
65 |
+
"B-acl": 0,
|
66 |
+
"B-advcl": 1,
|
67 |
+
"B-advmod": 2,
|
68 |
+
"B-amod": 3,
|
69 |
+
"B-aux": 4,
|
70 |
+
"B-case": 5,
|
71 |
+
"B-cc": 6,
|
72 |
+
"B-ccomp": 7,
|
73 |
+
"B-compound": 8,
|
74 |
+
"B-cop": 9,
|
75 |
+
"B-csubj": 10,
|
76 |
+
"B-dep": 11,
|
77 |
+
"B-det": 12,
|
78 |
+
"B-discourse": 13,
|
79 |
+
"B-dislocated": 14,
|
80 |
+
"B-fixed": 15,
|
81 |
+
"B-mark": 16,
|
82 |
+
"B-nmod": 17,
|
83 |
+
"B-nsubj": 18,
|
84 |
+
"B-nummod": 19,
|
85 |
+
"B-obj": 20,
|
86 |
+
"B-obl": 21,
|
87 |
+
"B-punct": 22,
|
88 |
+
"B-root": 23,
|
89 |
+
"I-acl": 24,
|
90 |
+
"I-advcl": 25,
|
91 |
+
"I-advmod": 26,
|
92 |
+
"I-amod": 27,
|
93 |
+
"I-aux": 28,
|
94 |
+
"I-case": 29,
|
95 |
+
"I-cc": 30,
|
96 |
+
"I-ccomp": 31,
|
97 |
+
"I-compound": 32,
|
98 |
+
"I-cop": 33,
|
99 |
+
"I-csubj": 34,
|
100 |
+
"I-dep": 35,
|
101 |
+
"I-det": 36,
|
102 |
+
"I-discourse": 37,
|
103 |
+
"I-dislocated": 38,
|
104 |
+
"I-fixed": 39,
|
105 |
+
"I-mark": 40,
|
106 |
+
"I-nmod": 41,
|
107 |
+
"I-nsubj": 42,
|
108 |
+
"I-nummod": 43,
|
109 |
+
"I-obj": 44,
|
110 |
+
"I-obl": 45,
|
111 |
+
"I-punct": 46,
|
112 |
+
"I-root": 47
|
113 |
+
},
|
114 |
+
"layer_norm_eps": 1e-07,
|
115 |
+
"max_position_embeddings": 512,
|
116 |
+
"max_relative_positions": -1,
|
117 |
+
"model_type": "deberta-v2",
|
118 |
+
"num_attention_heads": 12,
|
119 |
+
"num_hidden_layers": 12,
|
120 |
+
"pad_token_id": 1,
|
121 |
+
"pooler_dropout": 0,
|
122 |
+
"pooler_hidden_act": "gelu",
|
123 |
+
"pooler_hidden_size": 768,
|
124 |
+
"pos_att_type": null,
|
125 |
+
"position_biased_input": true,
|
126 |
+
"relative_attention": false,
|
127 |
+
"tokenizer_class": "DebertaV2TokenizerFast",
|
128 |
+
"torch_dtype": "float32",
|
129 |
+
"transformers_version": "4.19.4",
|
130 |
+
"type_vocab_size": 0,
|
131 |
+
"vocab_size": 32000
|
132 |
+
}
|
deprel/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1dbb753611452b4eb17d790bf19edbb77c903a7f93f9cca09d9faa266b5aca49
|
3 |
+
size 440319475
|
deprel/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
deprel/spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
|
3 |
+
size 1
|
deprel/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
deprel/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "split_by_punct": true, "keep_accents": true, "model_max_length": 512, "tokenizer_class": "DebertaV2TokenizerFast"}
|