Update config.json
Browse files- config.json +65 -0
config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"BertForTokenClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"hidden_act": "gelu",
|
| 7 |
+
"hidden_dropout_prob": 0.1,
|
| 8 |
+
"hidden_size": 768,
|
| 9 |
+
"id2label": {
|
| 10 |
+
"0": "B-date",
|
| 11 |
+
"1": "B-event",
|
| 12 |
+
"2": "B-facility",
|
| 13 |
+
"3": "B-location",
|
| 14 |
+
"4": "B-money",
|
| 15 |
+
"5": "B-organization",
|
| 16 |
+
"6": "B-percent",
|
| 17 |
+
"7": "B-person",
|
| 18 |
+
"8": "B-product",
|
| 19 |
+
"9": "B-time",
|
| 20 |
+
"10": "I-date",
|
| 21 |
+
"11": "I-event",
|
| 22 |
+
"12": "I-facility",
|
| 23 |
+
"13": "I-location",
|
| 24 |
+
"14": "I-money",
|
| 25 |
+
"15": "I-organization",
|
| 26 |
+
"16": "I-percent",
|
| 27 |
+
"17": "I-person",
|
| 28 |
+
"18": "I-product",
|
| 29 |
+
"19": "I-time",
|
| 30 |
+
"20": "O"
|
| 31 |
+
},
|
| 32 |
+
"initializer_range": 0.02,
|
| 33 |
+
"intermediate_size": 3072,
|
| 34 |
+
"label2id": {
|
| 35 |
+
"B-date": 0,
|
| 36 |
+
"B-event": 1,
|
| 37 |
+
"B-facility": 2,
|
| 38 |
+
"B-location": 3,
|
| 39 |
+
"B-money": 4,
|
| 40 |
+
"B-organization": 5,
|
| 41 |
+
"B-percent": 6,
|
| 42 |
+
"B-person": 7,
|
| 43 |
+
"B-product": 8,
|
| 44 |
+
"B-time": 9,
|
| 45 |
+
"I-date": 10,
|
| 46 |
+
"I-event": 11,
|
| 47 |
+
"I-facility": 12,
|
| 48 |
+
"I-location": 13,
|
| 49 |
+
"I-money": 14,
|
| 50 |
+
"I-organization": 15,
|
| 51 |
+
"I-percent": 16,
|
| 52 |
+
"I-person": 17,
|
| 53 |
+
"I-product": 18,
|
| 54 |
+
"I-time": 19,
|
| 55 |
+
"O": 20
|
| 56 |
+
},
|
| 57 |
+
"layer_norm_eps": 1e-12,
|
| 58 |
+
"max_position_embeddings": 512,
|
| 59 |
+
"model_type": "bert",
|
| 60 |
+
"num_attention_heads": 12,
|
| 61 |
+
"num_hidden_layers": 12,
|
| 62 |
+
"pad_token_id": 0,
|
| 63 |
+
"type_vocab_size": 2,
|
| 64 |
+
"vocab_size": 100000
|
| 65 |
+
}
|