wiselinjayajos
commited on
Commit
•
4ff60f1
1
Parent(s):
3194cf4
add config
Browse files- config.json +9 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "bert-
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
@@ -9,8 +9,16 @@
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
"max_position_embeddings": 512,
|
16 |
"model_type": "bert",
|
@@ -19,7 +27,6 @@
|
|
19 |
"pad_token_id": 0,
|
20 |
"position_embedding_type": "absolute",
|
21 |
"problem_type": "single_label_classification",
|
22 |
-
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.20.0",
|
24 |
"type_vocab_size": 2,
|
25 |
"use_cache": true,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "sgugger/finetuned-bert-mrpc",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "not equivalent",
|
14 |
+
"1": "equivalent"
|
15 |
+
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"equivalent": 1,
|
20 |
+
"not equivalent": 0
|
21 |
+
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"max_position_embeddings": 512,
|
24 |
"model_type": "bert",
|
|
|
27 |
"pad_token_id": 0,
|
28 |
"position_embedding_type": "absolute",
|
29 |
"problem_type": "single_label_classification",
|
|
|
30 |
"transformers_version": "4.20.0",
|
31 |
"type_vocab_size": 2,
|
32 |
"use_cache": true,
|