add model
Browse files- config.json +152 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/tmp/test-richard_bert_base_cased",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaV2ForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"finetuning_task": "ner",
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "AFTER_ADJECTIVAL",
|
13 |
+
"1": "AFTER_ADVERBIAL",
|
14 |
+
"2": "AFTER_CLEFT_CLAUSE",
|
15 |
+
"3": "AFTER_COGNITIVE_COMMUNICATIVE_VP",
|
16 |
+
"4": "AFTER_COMPLEX_NP",
|
17 |
+
"5": "AFTER_COMPLEX_PHRASE",
|
18 |
+
"6": "AFTER_FREE_RELATIVE_CLAUSE",
|
19 |
+
"7": "AFTER_INTENSIFYING_CLAUSE",
|
20 |
+
"8": "AFTER_REPORTING_CLAUSE",
|
21 |
+
"9": "AFTER_RESTRICTIVE_CLAUSE_GENERIC_HEAD",
|
22 |
+
"10": "AFTER_WH_PHRASE",
|
23 |
+
"11": "BEFORE_ADJECTIVAL",
|
24 |
+
"12": "BEFORE_ADVERBIAL",
|
25 |
+
"13": "BEFORE_CLEFT_CLAUSE",
|
26 |
+
"14": "BEFORE_COGNITIVE_COMMUNICATIVE_VP",
|
27 |
+
"15": "BEFORE_COMPLEX_NP",
|
28 |
+
"16": "BEFORE_COMPLEX_PHRASE",
|
29 |
+
"17": "BEFORE_FREE_RELATIVE_CLAUSE",
|
30 |
+
"18": "BEFORE_INTENSIFYING_CLAUSE",
|
31 |
+
"19": "BEFORE_REPORTING_CLAUSE",
|
32 |
+
"20": "BEFORE_RESTRICTIVE_CLAUSE_GENERIC_HEAD",
|
33 |
+
"21": "BEFORE_WH_PHRASE",
|
34 |
+
"22": "ERROR",
|
35 |
+
"23": "IN_ADJECTIVAL",
|
36 |
+
"24": "IN_ADJECTIVAL_AFTERSIGN",
|
37 |
+
"25": "IN_ADJECTIVAL_BEFORESIGN",
|
38 |
+
"26": "IN_ADVERBIAL",
|
39 |
+
"27": "IN_ADVERBIAL_AFTERSIGN",
|
40 |
+
"28": "IN_ADVERBIAL_BEFORESIGN",
|
41 |
+
"29": "IN_CLEFT_CLAUSE",
|
42 |
+
"30": "IN_CLEFT_CLAUSE_AFTERSIGN",
|
43 |
+
"31": "IN_CLEFT_CLAUSE_BEFORESIGN",
|
44 |
+
"32": "IN_COGNITIVE_COMMUNICATIVE_VP",
|
45 |
+
"33": "IN_COGNITIVE_COMMUNICATIVE_VP_AFTERSIGN",
|
46 |
+
"34": "IN_COGNITIVE_COMMUNICATIVE_VP_BEFORESIGN",
|
47 |
+
"35": "IN_COMPLEX_NP",
|
48 |
+
"36": "IN_COMPLEX_NP_AFTERSIGN",
|
49 |
+
"37": "IN_COMPLEX_NP_BEFORESIGN",
|
50 |
+
"38": "IN_COMPLEX_PHRASE",
|
51 |
+
"39": "IN_COMPLEX_PHRASE_AFTERSIGN",
|
52 |
+
"40": "IN_COMPLEX_PHRASE_BEFORESIGN",
|
53 |
+
"41": "IN_FREE_RELATIVE_CLAUSE",
|
54 |
+
"42": "IN_FREE_RELATIVE_CLAUSE_AFTERSIGN",
|
55 |
+
"43": "IN_FREE_RELATIVE_CLAUSE_BEFORESIGN",
|
56 |
+
"44": "IN_INTENSIFYING_CLAUSE",
|
57 |
+
"45": "IN_INTENSIFYING_CLAUSE_AFTERSIGN",
|
58 |
+
"46": "IN_INTENSIFYING_CLAUSE_BEFORESIGN",
|
59 |
+
"47": "IN_REPORTING_CLAUSE_AFTERSIGN",
|
60 |
+
"48": "IN_REPORTING_CLAUSE_BEFORESIGN",
|
61 |
+
"49": "IN_RESTRICTIVE_CLAUSE_GENERIC_HEAD",
|
62 |
+
"50": "IN_RESTRICTIVE_CLAUSE_GENERIC_HEAD_AFTERSIGN",
|
63 |
+
"51": "IN_RESTRICTIVE_CLAUSE_GENERIC_HEAD_BEFORESIGN",
|
64 |
+
"52": "IN_WH_PHRASE",
|
65 |
+
"53": "IN_WH_PHRASE_AFTERSIGN",
|
66 |
+
"54": "IN_WH_PHRASE_BEFORESIGN",
|
67 |
+
"55": "UNKNOWN"
|
68 |
+
},
|
69 |
+
"initializer_range": 0.02,
|
70 |
+
"intermediate_size": 3072,
|
71 |
+
"label2id": {
|
72 |
+
"AFTER_ADJECTIVAL": 0,
|
73 |
+
"AFTER_ADVERBIAL": 1,
|
74 |
+
"AFTER_CLEFT_CLAUSE": 2,
|
75 |
+
"AFTER_COGNITIVE_COMMUNICATIVE_VP": 3,
|
76 |
+
"AFTER_COMPLEX_NP": 4,
|
77 |
+
"AFTER_COMPLEX_PHRASE": 5,
|
78 |
+
"AFTER_FREE_RELATIVE_CLAUSE": 6,
|
79 |
+
"AFTER_INTENSIFYING_CLAUSE": 7,
|
80 |
+
"AFTER_REPORTING_CLAUSE": 8,
|
81 |
+
"AFTER_RESTRICTIVE_CLAUSE_GENERIC_HEAD": 9,
|
82 |
+
"AFTER_WH_PHRASE": 10,
|
83 |
+
"BEFORE_ADJECTIVAL": 11,
|
84 |
+
"BEFORE_ADVERBIAL": 12,
|
85 |
+
"BEFORE_CLEFT_CLAUSE": 13,
|
86 |
+
"BEFORE_COGNITIVE_COMMUNICATIVE_VP": 14,
|
87 |
+
"BEFORE_COMPLEX_NP": 15,
|
88 |
+
"BEFORE_COMPLEX_PHRASE": 16,
|
89 |
+
"BEFORE_FREE_RELATIVE_CLAUSE": 17,
|
90 |
+
"BEFORE_INTENSIFYING_CLAUSE": 18,
|
91 |
+
"BEFORE_REPORTING_CLAUSE": 19,
|
92 |
+
"BEFORE_RESTRICTIVE_CLAUSE_GENERIC_HEAD": 20,
|
93 |
+
"BEFORE_WH_PHRASE": 21,
|
94 |
+
"ERROR": 22,
|
95 |
+
"IN_ADJECTIVAL": 23,
|
96 |
+
"IN_ADJECTIVAL_AFTERSIGN": 24,
|
97 |
+
"IN_ADJECTIVAL_BEFORESIGN": 25,
|
98 |
+
"IN_ADVERBIAL": 26,
|
99 |
+
"IN_ADVERBIAL_AFTERSIGN": 27,
|
100 |
+
"IN_ADVERBIAL_BEFORESIGN": 28,
|
101 |
+
"IN_CLEFT_CLAUSE": 29,
|
102 |
+
"IN_CLEFT_CLAUSE_AFTERSIGN": 30,
|
103 |
+
"IN_CLEFT_CLAUSE_BEFORESIGN": 31,
|
104 |
+
"IN_COGNITIVE_COMMUNICATIVE_VP": 32,
|
105 |
+
"IN_COGNITIVE_COMMUNICATIVE_VP_AFTERSIGN": 33,
|
106 |
+
"IN_COGNITIVE_COMMUNICATIVE_VP_BEFORESIGN": 34,
|
107 |
+
"IN_COMPLEX_NP": 35,
|
108 |
+
"IN_COMPLEX_NP_AFTERSIGN": 36,
|
109 |
+
"IN_COMPLEX_NP_BEFORESIGN": 37,
|
110 |
+
"IN_COMPLEX_PHRASE": 38,
|
111 |
+
"IN_COMPLEX_PHRASE_AFTERSIGN": 39,
|
112 |
+
"IN_COMPLEX_PHRASE_BEFORESIGN": 40,
|
113 |
+
"IN_FREE_RELATIVE_CLAUSE": 41,
|
114 |
+
"IN_FREE_RELATIVE_CLAUSE_AFTERSIGN": 42,
|
115 |
+
"IN_FREE_RELATIVE_CLAUSE_BEFORESIGN": 43,
|
116 |
+
"IN_INTENSIFYING_CLAUSE": 44,
|
117 |
+
"IN_INTENSIFYING_CLAUSE_AFTERSIGN": 45,
|
118 |
+
"IN_INTENSIFYING_CLAUSE_BEFORESIGN": 46,
|
119 |
+
"IN_REPORTING_CLAUSE_AFTERSIGN": 47,
|
120 |
+
"IN_REPORTING_CLAUSE_BEFORESIGN": 48,
|
121 |
+
"IN_RESTRICTIVE_CLAUSE_GENERIC_HEAD": 49,
|
122 |
+
"IN_RESTRICTIVE_CLAUSE_GENERIC_HEAD_AFTERSIGN": 50,
|
123 |
+
"IN_RESTRICTIVE_CLAUSE_GENERIC_HEAD_BEFORESIGN": 51,
|
124 |
+
"IN_WH_PHRASE": 52,
|
125 |
+
"IN_WH_PHRASE_AFTERSIGN": 53,
|
126 |
+
"IN_WH_PHRASE_BEFORESIGN": 54,
|
127 |
+
"UNKNOWN": 55
|
128 |
+
},
|
129 |
+
"layer_norm_eps": 1e-07,
|
130 |
+
"max_position_embeddings": 512,
|
131 |
+
"max_relative_positions": -1,
|
132 |
+
"model_type": "deberta-v2",
|
133 |
+
"norm_rel_ebd": "layer_norm",
|
134 |
+
"num_attention_heads": 12,
|
135 |
+
"num_hidden_layers": 12,
|
136 |
+
"pad_token_id": 0,
|
137 |
+
"pooler_dropout": 0,
|
138 |
+
"pooler_hidden_act": "gelu",
|
139 |
+
"pooler_hidden_size": 768,
|
140 |
+
"pos_att_type": [
|
141 |
+
"p2c",
|
142 |
+
"c2p"
|
143 |
+
],
|
144 |
+
"position_biased_input": false,
|
145 |
+
"position_buckets": 256,
|
146 |
+
"relative_attention": true,
|
147 |
+
"share_att_key": true,
|
148 |
+
"torch_dtype": "float32",
|
149 |
+
"transformers_version": "4.20.1",
|
150 |
+
"type_vocab_size": 0,
|
151 |
+
"vocab_size": 128100
|
152 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a528636ea2241945cd507537fd82f8c13cff04eb83a5d8ee0fa83d9ba8f472b
|
3 |
+
size 735567279
|