|
{ |
|
"alpha": 0.0, |
|
"architectures": [ |
|
"NilexForCausalLM" |
|
], |
|
"attention_bias": false, |
|
"attention_dropout": 0.0, |
|
"attn_logit_softcapping": null, |
|
"auto_map": { |
|
"AutoConfig": "configuration_nilex.NilexTextConfig", |
|
"AutoModel": "MBZUAI-Paris/Btx_Model_2Exp--modeling_nilex.NilexTextModel", |
|
"AutoModelForCausalLM": "MBZUAI-Paris/Btx_Model_2Exp--modeling_nilex.NilexForCausalLM", |
|
"AutoModelForQuestionAnswering": "MBZUAI-Paris/Btx_Model_2Exp--modeling_nilex.NilexForQuestionAnswering", |
|
"AutoModelForSequenceClassification": "MBZUAI-Paris/Btx_Model_2Exp--modeling_nilex.NilexForSequenceClassification", |
|
"AutoModelForTokenClassification": "MBZUAI-Paris/Btx_Model_2Exp--modeling_nilex.NilexForTokenClassification" |
|
}, |
|
"bos_token_id": 2, |
|
"cache_implementation": "hybrid", |
|
"eos_token_id": 1, |
|
"final_logit_softcapping": null, |
|
"head_dim": 256, |
|
"hidden_activation": "gelu_pytorch_tanh", |
|
"hidden_size": 2560, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 10240, |
|
"max_position_embeddings": 131072, |
|
"model_type": "nilex_text", |
|
"num_attention_heads": 8, |
|
"num_experts": 2, |
|
"num_experts_per_tok": 2, |
|
"num_hidden_layers": 34, |
|
"num_key_value_heads": 4, |
|
"pad_token_id": 0, |
|
"query_pre_attn_scalar": 256, |
|
"rms_norm_eps": 1e-06, |
|
"rope_local_base_freq": 10000.0, |
|
"rope_scaling": { |
|
"factor": 8.0, |
|
"rope_type": "linear" |
|
}, |
|
"rope_theta": 1000000.0, |
|
"router_layers": [ |
|
"mlp.gate_proj", |
|
"mlp.up_proj", |
|
"mlp.down_proj" |
|
], |
|
"router_layers_index": [ |
|
0, |
|
1, |
|
2, |
|
3, |
|
4, |
|
5, |
|
6, |
|
7, |
|
8, |
|
9, |
|
10, |
|
11, |
|
12, |
|
13, |
|
14, |
|
15, |
|
16, |
|
17, |
|
18, |
|
19, |
|
20, |
|
21, |
|
22, |
|
23, |
|
24, |
|
25, |
|
26, |
|
27, |
|
28, |
|
29, |
|
30, |
|
31, |
|
32, |
|
33 |
|
], |
|
"sliding_window": 1024, |
|
"sliding_window_pattern": 6, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.52.4", |
|
"use_cache": true, |
|
"vocab_size": 262208 |
|
} |
|
|