Update config.json
Browse files- config.json +14 -1
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"BertForSequenceClassification"
|
4 |
],
|
@@ -8,8 +9,18 @@
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
|
|
13 |
"layer_norm_eps": 1e-12,
|
14 |
"max_position_embeddings": 512,
|
15 |
"model_type": "bert",
|
@@ -22,6 +33,8 @@
|
|
22 |
"pooler_size_per_head": 128,
|
23 |
"pooler_type": "first_token_transform",
|
24 |
"position_embedding_type": "absolute",
|
|
|
25 |
"type_vocab_size": 2,
|
|
|
26 |
"vocab_size": 100000
|
27 |
-
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "UBC-NLP/MARBERT",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2"
|
16 |
+
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"LABEL_0": 0,
|
21 |
+
"LABEL_1": 1,
|
22 |
+
"LABEL_2": 2
|
23 |
+
},
|
24 |
"layer_norm_eps": 1e-12,
|
25 |
"max_position_embeddings": 512,
|
26 |
"model_type": "bert",
|
|
|
33 |
"pooler_size_per_head": 128,
|
34 |
"pooler_type": "first_token_transform",
|
35 |
"position_embedding_type": "absolute",
|
36 |
+
"transformers_version": "4.2.1",
|
37 |
"type_vocab_size": 2,
|
38 |
+
"use_cache": true,
|
39 |
"vocab_size": 100000
|
40 |
+
}
|