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