Update config.json
Browse files- config.json +16 -0
config.json
CHANGED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_type": "adapter",
|
3 |
+
"architectures": [
|
4 |
+
"AdapterModel"
|
5 |
+
],
|
6 |
+
"hidden_size": 768, // or the size of your model
|
7 |
+
"num_hidden_layers": 12, // or the number of layers in your model
|
8 |
+
"num_attention_heads": 12, // or the number of attention heads
|
9 |
+
"intermediate_size": 3072, // or whatever size your model uses
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_eps": 1e-12,
|
13 |
+
"max_position_embeddings": 512, // or according to your model
|
14 |
+
"vocab_size": 30522 // or the vocabulary size of your tokenizer
|
15 |
+
}
|
16 |
+
|