billfass
commited on
Commit
·
e55d58e
1
Parent(s):
22bd428
Initial commit of BertModel and tokenizer
Browse files- config.json +10 -9
config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"BertForSequenceClassification"
|
4 |
],
|
@@ -15,20 +16,20 @@
|
|
15 |
"num_attention_heads": 12,
|
16 |
"num_hidden_layers": 12,
|
17 |
"pad_token_id": 0,
|
|
|
|
|
18 |
"type_vocab_size": 2,
|
19 |
-
"vocab_size": 119547,
|
20 |
-
"model_name_or_path": "bert-base-multilingual-cased",
|
21 |
"num_labels": 3,
|
22 |
-
"finetuning_task": "text_classification",
|
23 |
"id2label": {
|
24 |
-
"0": "
|
25 |
-
"1": "
|
26 |
-
"2": "
|
27 |
},
|
28 |
"label2id": {
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
}
|
33 |
}
|
34 |
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "bert-base-multilingual-cased",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
16 |
"num_attention_heads": 12,
|
17 |
"num_hidden_layers": 12,
|
18 |
"pad_token_id": 0,
|
19 |
+
"position_embedding_type": "absolute",
|
20 |
+
"transformers_version": "4.x",
|
21 |
"type_vocab_size": 2,
|
22 |
+
"vocab_size": 119547,
|
|
|
23 |
"num_labels": 3,
|
|
|
24 |
"id2label": {
|
25 |
+
"0": "class_0",
|
26 |
+
"1": "class_1",
|
27 |
+
"2": "class_2"
|
28 |
},
|
29 |
"label2id": {
|
30 |
+
"class_0": 0,
|
31 |
+
"class_1": 1,
|
32 |
+
"class_2": 2
|
33 |
}
|
34 |
}
|
35 |
|