RichardErkhov
commited on
Commit
•
235daa5
1
Parent(s):
522a74e
uploaded model
Browse files- config.json +57 -0
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Jamba-tiny-random",
|
3 |
+
"architectures": [
|
4 |
+
"JambaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"attn_layer_offset": 2,
|
8 |
+
"attn_layer_period": 4,
|
9 |
+
"bos_token_id": 1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"expert_layer_offset": 1,
|
12 |
+
"expert_layer_period": 2,
|
13 |
+
"hidden_act": "silu",
|
14 |
+
"hidden_size": 128,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 14336,
|
17 |
+
"mamba_conv_bias": true,
|
18 |
+
"mamba_d_conv": 4,
|
19 |
+
"mamba_d_state": 16,
|
20 |
+
"mamba_dt_rank": 8,
|
21 |
+
"mamba_expand": 2,
|
22 |
+
"mamba_proj_bias": false,
|
23 |
+
"max_position_embeddings": 262144,
|
24 |
+
"model_type": "jamba",
|
25 |
+
"num_attention_heads": 2,
|
26 |
+
"num_experts": 4,
|
27 |
+
"num_experts_per_tok": 2,
|
28 |
+
"num_hidden_layers": 8,
|
29 |
+
"num_key_value_heads": 1,
|
30 |
+
"num_logits_to_keep": 1,
|
31 |
+
"output_router_logits": false,
|
32 |
+
"pad_token_id": 0,
|
33 |
+
"quantization_config": {
|
34 |
+
"_load_in_4bit": true,
|
35 |
+
"_load_in_8bit": false,
|
36 |
+
"bnb_4bit_compute_dtype": "float32",
|
37 |
+
"bnb_4bit_quant_storage": "uint8",
|
38 |
+
"bnb_4bit_quant_type": "fp4",
|
39 |
+
"bnb_4bit_use_double_quant": false,
|
40 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
41 |
+
"llm_int8_has_fp16_weight": false,
|
42 |
+
"llm_int8_skip_modules": null,
|
43 |
+
"llm_int8_threshold": 6.0,
|
44 |
+
"load_in_4bit": true,
|
45 |
+
"load_in_8bit": false,
|
46 |
+
"quant_method": "bitsandbytes"
|
47 |
+
},
|
48 |
+
"rms_norm_eps": 1e-06,
|
49 |
+
"router_aux_loss_coef": 0.001,
|
50 |
+
"sliding_window": null,
|
51 |
+
"tie_word_embeddings": false,
|
52 |
+
"torch_dtype": "float16",
|
53 |
+
"transformers_version": "4.44.2",
|
54 |
+
"use_cache": true,
|
55 |
+
"use_mamba_kernels": false,
|
56 |
+
"vocab_size": 65536
|
57 |
+
}
|