Create config.json
Browse files- config.json +22 -0
config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "codesage/codesage-small",
|
3 |
+
"architectures": [
|
4 |
+
"CodeSage"
|
5 |
+
],
|
6 |
+
"auto_map": {
|
7 |
+
"AutoConfig": "config_codesage.CodeSageConfig",
|
8 |
+
"AutoModel": "modeling_codesage.CodeSageModel"
|
9 |
+
},
|
10 |
+
"activation_function": "gelu_new",
|
11 |
+
"attention_dropout_prob": 0.1,
|
12 |
+
"embedding_dropout_prob": 0.1,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"layer_norm_epsilon": 1e-05,
|
15 |
+
"hidden_size": 1024,
|
16 |
+
"num_attention_heads": 8,
|
17 |
+
"num_hidden_layers": 6,
|
18 |
+
"intermediate_size": 4096,
|
19 |
+
"max_position_embeddings": 2048,
|
20 |
+
"residual_dropout_prob": 0.1,
|
21 |
+
"vocab_size": 49154
|
22 |
+
}
|