Update config.json
Browse files- config.json +24 -4
config.json
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
-
"StructformerModel"
|
|
|
4 |
],
|
5 |
"auto_map": {
|
6 |
"AutoConfig": "structformer_as_hf.StructformerConfig",
|
7 |
-
"AutoModelForMaskedLM": "structformer_as_hf.StructformerModel"
|
|
|
8 |
},
|
9 |
"conv_size": 9,
|
10 |
"dropatt": 0.1,
|
@@ -25,5 +27,23 @@
|
|
25 |
"relative_bias": false,
|
26 |
"torch_dtype": "float32",
|
27 |
"transformers_version": "4.18.0",
|
28 |
-
"weight_act": "softmax"
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
+
"StructformerModel",
|
4 |
+
"StructformerModelForSequenceClassification"
|
5 |
],
|
6 |
"auto_map": {
|
7 |
"AutoConfig": "structformer_as_hf.StructformerConfig",
|
8 |
+
"AutoModelForMaskedLM": "structformer_as_hf.StructformerModel",
|
9 |
+
"AutoModelForSequenceClassification": "structformer_as_hf.StructformerModelForSequenceClassification"
|
10 |
},
|
11 |
"conv_size": 9,
|
12 |
"dropatt": 0.1,
|
|
|
27 |
"relative_bias": false,
|
28 |
"torch_dtype": "float32",
|
29 |
"transformers_version": "4.18.0",
|
30 |
+
"weight_act": "softmax",
|
31 |
+
|
32 |
+
"attention_probs_dropout_prob": 0.1,
|
33 |
+
"bos_token_id": 0,
|
34 |
+
"classifier_dropout": null,
|
35 |
+
"eos_token_id": 2,
|
36 |
+
"hidden_act": "gelu",
|
37 |
+
"hidden_dropout_prob": 0.1,
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"intermediate_size": 3072,
|
40 |
+
"layer_norm_eps": 1e-05,
|
41 |
+
"max_position_embeddings": 514,
|
42 |
+
"num_attention_heads": 8,
|
43 |
+
"num_hidden_layers": 8,
|
44 |
+
"pad_token_id": 1,
|
45 |
+
"position_embedding_type": "absolute",
|
46 |
+
"type_vocab_size": 1,
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 32000
|
49 |
+
}
|