voidful commited on
Commit
b6ea54f
1 Parent(s): c9ba8b9

Upload MambaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +39 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "state-spaces/mamba-790m-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": 1536,
14
+ "initializer_range": 0.1,
15
+ "intermediate_size": 3072,
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
+ "rescale_prenorm_residual": false,
23
+ "residual_in_fp32": true,
24
+ "rms_norm": true,
25
+ "ssm_cfg": {},
26
+ "state_size": 16,
27
+ "time_step_floor": 0.0001,
28
+ "time_step_init_scheme": "random",
29
+ "time_step_max": 0.1,
30
+ "time_step_min": 0.001,
31
+ "time_step_rank": 96,
32
+ "time_step_scale": 1.0,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.39.1",
35
+ "use_bias": false,
36
+ "use_cache": true,
37
+ "use_conv_bias": true,
38
+ "vocab_size": 80961
39
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.39.1"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e7173bbefc1028c07728a556dd751d11dbd13028125f00057d9a50910913a28
3
+ size 3361374056