ArthurZ HF staff commited on
Commit
6cd1653
1 Parent(s): 31ce170

Upload MambaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +33 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "state-spaces/mamba-1.4b",
3
+ "architectures": [
4
+ "MambaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "conv_kernel": 4,
8
+ "d_inner": 160,
9
+ "d_model": 2048,
10
+ "dt_rank": "auto",
11
+ "eos_token_id": 2,
12
+ "expand": 2,
13
+ "fused_add_norm": true,
14
+ "hidden_act": "silu",
15
+ "hidden_size": 2048,
16
+ "initializer_range": 0.1,
17
+ "layer_norm_epsilon": 1e-05,
18
+ "model_type": "mamba",
19
+ "n_layer": 48,
20
+ "num_hidden_layers": 32,
21
+ "pad_vocab_size_multiple": 8,
22
+ "residual_in_fp32": true,
23
+ "rms_norm": true,
24
+ "ssm_cfg": {},
25
+ "state_size": 16,
26
+ "time_step_rank": 128,
27
+ "torch_dtype": "float16",
28
+ "transformers_version": "4.39.0.dev0",
29
+ "use_bias": false,
30
+ "use_cache": true,
31
+ "use_conv_bias": true,
32
+ "vocab_size": 50280
33
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.39.0.dev0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17d7fec27454b385de824373d0aa0298efd485b231e58abbc644b2f589e09440
3
+ size 1902451000