RichardErkhov
commited on
Commit
•
fd51590
1
Parent(s):
7adadba
uploaded model
Browse files- config.json +54 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mamba-1.4b-hf",
|
3 |
+
"architectures": [
|
4 |
+
"MambaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"conv_kernel": 4,
|
8 |
+
"d_model": 2048,
|
9 |
+
"eos_token_id": 0,
|
10 |
+
"expand": 2,
|
11 |
+
"fused_add_norm": true,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"hidden_size": 2048,
|
14 |
+
"initializer_range": 0.1,
|
15 |
+
"intermediate_size": 4096,
|
16 |
+
"layer_norm_epsilon": 1e-05,
|
17 |
+
"model_type": "mamba",
|
18 |
+
"n_layer": 48,
|
19 |
+
"num_hidden_layers": 48,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"pad_vocab_size_multiple": 8,
|
22 |
+
"quantization_config": {
|
23 |
+
"_load_in_4bit": false,
|
24 |
+
"_load_in_8bit": true,
|
25 |
+
"bnb_4bit_compute_dtype": "float32",
|
26 |
+
"bnb_4bit_quant_storage": "uint8",
|
27 |
+
"bnb_4bit_quant_type": "fp4",
|
28 |
+
"bnb_4bit_use_double_quant": false,
|
29 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
30 |
+
"llm_int8_has_fp16_weight": false,
|
31 |
+
"llm_int8_skip_modules": null,
|
32 |
+
"llm_int8_threshold": 6.0,
|
33 |
+
"load_in_4bit": false,
|
34 |
+
"load_in_8bit": true,
|
35 |
+
"quant_method": "bitsandbytes"
|
36 |
+
},
|
37 |
+
"rescale_prenorm_residual": false,
|
38 |
+
"residual_in_fp32": true,
|
39 |
+
"rms_norm": true,
|
40 |
+
"ssm_cfg": {},
|
41 |
+
"state_size": 16,
|
42 |
+
"time_step_floor": 0.0001,
|
43 |
+
"time_step_init_scheme": "random",
|
44 |
+
"time_step_max": 0.1,
|
45 |
+
"time_step_min": 0.001,
|
46 |
+
"time_step_rank": 128,
|
47 |
+
"time_step_scale": 1.0,
|
48 |
+
"torch_dtype": "float16",
|
49 |
+
"transformers_version": "4.39.3",
|
50 |
+
"use_bias": false,
|
51 |
+
"use_cache": true,
|
52 |
+
"use_conv_bias": true,
|
53 |
+
"vocab_size": 50280
|
54 |
+
}
|