Create adapter_config.json
Browse files- adapter_config.json +13 -0
adapter_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"adapter_name": "SkyReach_Companion_AI",
|
3 |
+
"adapter_type": "pfeiffer", // or "houlsby", "bitfit", etc., depending on your adapter type
|
4 |
+
"hidden_size": 768, // Replace with the hidden size of your base model
|
5 |
+
"num_attention_heads": 12, // Replace with the number of attention heads
|
6 |
+
"intermediate_size": 3072, // Replace with the intermediate size
|
7 |
+
"activation_function": "gelu", // or "relu", depending on your setup
|
8 |
+
"layer_norm_eps": 1e-12, // Adjust based on your model's configuration
|
9 |
+
"adapter_config": {
|
10 |
+
"num_layers": 1, // Number of adapter layers
|
11 |
+
"reduction_factor": 16 // Factor for reduction in dimensionality
|
12 |
+
}
|
13 |
+
}
|