muathAi1446
commited on
Commit
•
3267956
1
Parent(s):
694f39f
Create config.json
Browse files- config.json +22 -0
config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
config = {
|
2 |
+
"model_type": "your_model_type", # Adjust as needed
|
3 |
+
"vocab_size": tokenizer.vocab_size,
|
4 |
+
"max_position_embeddings": 1024,
|
5 |
+
"num_attention_heads": 12,
|
6 |
+
"num_hidden_layers": 12,
|
7 |
+
"hidden_size": 768,
|
8 |
+
"intermediate_size": 3072,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"layer_norm_eps": 1e-12,
|
12 |
+
"attn_pdrop": 0.1,
|
13 |
+
"summary_activation": None,
|
14 |
+
"summary_use_proj": True,
|
15 |
+
"summary_proj_to_labels": True,
|
16 |
+
"summary_type": "cls_index",
|
17 |
+
"summary_use_proj": True,
|
18 |
+
"summary_first_dropout": 0.1,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"use_cache": True,
|
21 |
+
"num_labels": 2
|
22 |
+
}
|