demoversion
commited on
Commit
•
8848311
1
Parent(s):
3d0d889
Fix config.json
Browse files- config.json +14 -6
config.json
CHANGED
@@ -1,25 +1,33 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
-
"
|
|
|
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",
|
16 |
"num_attention_heads": 12,
|
17 |
"num_hidden_layers": 12,
|
18 |
"pad_token_id": 0,
|
|
|
|
|
19 |
"position_embedding_type": "absolute",
|
20 |
"torch_dtype": "float32",
|
21 |
-
"transformers_version": "4.18.0"
|
22 |
-
"type_vocab_size": 2,
|
23 |
-
"use_cache": true,
|
24 |
-
"vocab_size": 100000
|
25 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "demoversion/bert-fa-base-uncased-haddad-wikinli",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"finetuning_task": "wikinli",
|
8 |
+
"gradient_checkpointing": false,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "dissimilar",
|
14 |
+
"1": "similar"
|
15 |
+
},
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"contradiction": 0,
|
20 |
+
"entailment": 1
|
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 |
"pad_token_id": 0,
|
28 |
+
"type_vocab_size": 2,
|
29 |
+
"vocab_size": 100000,
|
30 |
"position_embedding_type": "absolute",
|
31 |
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.18.0"
|
|
|
|
|
|
|
33 |
}
|