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