Add model configuration
Browse files- config.json +52 -0
config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "gpt2",
|
| 3 |
+
"n_positions": 8192,
|
| 4 |
+
"n_ctx": 8192,
|
| 5 |
+
"n_embd": 768,
|
| 6 |
+
"n_layer": 12,
|
| 7 |
+
"n_head": 12,
|
| 8 |
+
"activation_function": "gelu_new",
|
| 9 |
+
"resid_pdrop": 0.1,
|
| 10 |
+
"embd_pdrop": 0.1,
|
| 11 |
+
"attn_pdrop": 0.1,
|
| 12 |
+
"layer_norm_epsilon": 1e-05,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"summary_type": "cls_index",
|
| 15 |
+
"summary_use_proj": true,
|
| 16 |
+
"summary_activation": null,
|
| 17 |
+
"summary_proj_to_labels": true,
|
| 18 |
+
"summary_first_dropout": 0.1,
|
| 19 |
+
"scale_attn_weights": true,
|
| 20 |
+
"use_cache": true,
|
| 21 |
+
"scale_attn_by_inverse_layer_idx": false,
|
| 22 |
+
"reorder_and_upcast_attn": false,
|
| 23 |
+
"multilingual": true,
|
| 24 |
+
"supported_languages": [
|
| 25 |
+
"ru",
|
| 26 |
+
"es",
|
| 27 |
+
"hi",
|
| 28 |
+
"th"
|
| 29 |
+
],
|
| 30 |
+
"spiritual_categories": [
|
| 31 |
+
"icaros",
|
| 32 |
+
"jiv_jago",
|
| 33 |
+
"meditation",
|
| 34 |
+
"yoga",
|
| 35 |
+
"mantra",
|
| 36 |
+
"buddhism",
|
| 37 |
+
"freedome",
|
| 38 |
+
"love_destiny"
|
| 39 |
+
],
|
| 40 |
+
"base_model": "nativemind/shridhar_8k",
|
| 41 |
+
"lora_config": {
|
| 42 |
+
"r": 4,
|
| 43 |
+
"lora_alpha": 8,
|
| 44 |
+
"lora_dropout": 0.05,
|
| 45 |
+
"bias": "none",
|
| 46 |
+
"task_type": "CAUSAL_LM",
|
| 47 |
+
"target_modules": [
|
| 48 |
+
"c_attn",
|
| 49 |
+
"c_proj"
|
| 50 |
+
]
|
| 51 |
+
}
|
| 52 |
+
}
|