Text Generation
Transformers
Safetensors
English
falcon_mamba
Inference Endpoints
4-bit precision
bitsandbytes
ybelkada commited on
Commit
490b75f
1 Parent(s): e84067f

Upload FalconMambaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +49 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tiiuae/falcon-mamba-7b",
3
+ "architectures": [
4
+ "FalconMambaForCausalLM"
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": "falcon_mamba",
16
+ "num_hidden_layers": 64,
17
+ "pad_token_id": 11,
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.43.0.dev0",
45
+ "use_bias": false,
46
+ "use_cache": true,
47
+ "use_conv_bias": true,
48
+ "vocab_size": 65024
49
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 11,
5
+ "pad_token_id": 11,
6
+ "transformers_version": "4.43.0.dev0"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1af81609242b7212fa47d1d0e079fcc09865ebfd06cf78fe11c90294e2808ec7
3
+ size 4891294152