Text Generation
Transformers
Safetensors
Egyptian Arabic
nilex_text
conversational
custom_code
File size: 1,960 Bytes
4e57ea7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
  "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
}