add
Browse files- model_config.json +20 -0
model_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"init_args": [
|
3 |
+
{
|
4 |
+
"vocab_size": 50000,
|
5 |
+
"hidden_size": 768,
|
6 |
+
"num_hidden_layers": 12,
|
7 |
+
"num_attention_heads": 12,
|
8 |
+
"intermediate_size": 3072,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"attention_probs_dropout_prob": 0.1,
|
12 |
+
"max_position_embeddings": 1536,
|
13 |
+
"type_vocab_size": 2,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"pad_token_id": 0,
|
16 |
+
"init_class": "RoFormerModel"
|
17 |
+
}
|
18 |
+
],
|
19 |
+
"init_class": "RoFormerForPretraining"
|
20 |
+
}
|