Upload MambaForCausalLM
Browse files- config.json +50 -0
- generation_config.json +10 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tiiuae/falcon-mamba-7b-instruct",
|
3 |
+
"architectures": [
|
4 |
+
"MambaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"conv_kernel": 4,
|
8 |
+
"eos_token_id": 11,
|
9 |
+
"expand": 16,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 4096,
|
12 |
+
"initializer_range": 0.1,
|
13 |
+
"intermediate_size": 8192,
|
14 |
+
"layer_norm_epsilon": 1e-05,
|
15 |
+
"model_type": "mamba",
|
16 |
+
"num_hidden_layers": 64,
|
17 |
+
"pad_token_id": 0,
|
18 |
+
"quantization_config": {
|
19 |
+
"_load_in_4bit": true,
|
20 |
+
"_load_in_8bit": false,
|
21 |
+
"bnb_4bit_compute_dtype": "float32",
|
22 |
+
"bnb_4bit_quant_storage": "uint8",
|
23 |
+
"bnb_4bit_quant_type": "fp4",
|
24 |
+
"bnb_4bit_use_double_quant": false,
|
25 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
26 |
+
"llm_int8_has_fp16_weight": false,
|
27 |
+
"llm_int8_skip_modules": null,
|
28 |
+
"llm_int8_threshold": 6.0,
|
29 |
+
"load_in_4bit": true,
|
30 |
+
"load_in_8bit": false,
|
31 |
+
"quant_method": "bitsandbytes"
|
32 |
+
},
|
33 |
+
"rescale_prenorm_residual": false,
|
34 |
+
"residual_in_fp32": true,
|
35 |
+
"state_size": 16,
|
36 |
+
"tie_word_embeddings": false,
|
37 |
+
"time_step_floor": 0.0001,
|
38 |
+
"time_step_init_scheme": "random",
|
39 |
+
"time_step_max": 0.1,
|
40 |
+
"time_step_min": 0.001,
|
41 |
+
"time_step_rank": 256,
|
42 |
+
"time_step_scale": 1.0,
|
43 |
+
"torch_dtype": "float16",
|
44 |
+
"transformers_version": "4.45.0.dev0",
|
45 |
+
"use_bias": false,
|
46 |
+
"use_cache": true,
|
47 |
+
"use_conv_bias": true,
|
48 |
+
"use_mambapy": false,
|
49 |
+
"vocab_size": 65024
|
50 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": [
|
5 |
+
11,
|
6 |
+
10
|
7 |
+
],
|
8 |
+
"pad_token_id": 0,
|
9 |
+
"transformers_version": "4.45.0.dev0"
|
10 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ac36cdd7e1f774cd33304ae6f416817ffe44c329f3f135ec4b77ea444b2ec8c
|
3 |
+
size 4891294152
|