Update config.json
Browse files- config.json +15 -13
config.json
CHANGED
@@ -3,32 +3,34 @@
|
|
3 |
"SpatialBertForTokenClassification"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
-
"
|
7 |
"hidden_act": "gelu",
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
|
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
|
|
12 |
"layer_norm_eps": 1e-12,
|
13 |
"max_position_embeddings": 512,
|
14 |
"model_type": "bert",
|
15 |
"num_attention_heads": 12,
|
16 |
"num_hidden_layers": 12,
|
|
|
17 |
"pad_token_id": 0,
|
18 |
"position_embedding_type": "absolute",
|
|
|
19 |
"transformers_version": "4.26.0",
|
20 |
"type_vocab_size": 2,
|
21 |
"use_cache": true,
|
22 |
-
"
|
23 |
-
"vocab_size": 28996
|
24 |
-
"id2label": {
|
25 |
-
"0": "Other",
|
26 |
-
"1": "B-topo",
|
27 |
-
"2": "I-topo"
|
28 |
-
},
|
29 |
-
"label2id": {
|
30 |
-
"Other": 0,
|
31 |
-
"B-topo": 1,
|
32 |
-
"I-topo": 2
|
33 |
-
}
|
34 |
}
|
|
|
3 |
"SpatialBertForTokenClassification"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"classifier_dropout": null,
|
7 |
"hidden_act": "gelu",
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "LABEL_0",
|
12 |
+
"1": "LABEL_1",
|
13 |
+
"2": "LABEL_2"
|
14 |
+
},
|
15 |
"initializer_range": 0.02,
|
16 |
"intermediate_size": 3072,
|
17 |
+
"label2id": {
|
18 |
+
"LABEL_0": 0,
|
19 |
+
"LABEL_1": 1,
|
20 |
+
"LABEL_2": 2
|
21 |
+
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"max_position_embeddings": 512,
|
24 |
"model_type": "bert",
|
25 |
"num_attention_heads": 12,
|
26 |
"num_hidden_layers": 12,
|
27 |
+
"num_semantic_types": 97,
|
28 |
"pad_token_id": 0,
|
29 |
"position_embedding_type": "absolute",
|
30 |
+
"torch_dtype": "float32",
|
31 |
"transformers_version": "4.26.0",
|
32 |
"type_vocab_size": 2,
|
33 |
"use_cache": true,
|
34 |
+
"use_spatial_distance_embedding": true,
|
35 |
+
"vocab_size": 28996
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|