DreamOnRain commited on
Commit
9ba412f
1 Parent(s): efcfc7e

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-1.4b-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": 2048,
14
+ "initializer_range": 0.1,
15
+ "intermediate_size": 4096,
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": 128,
32
+ "time_step_scale": 1.0,
33
+ "torch_dtype": "float16",
34
+ "transformers_version": "4.39.3",
35
+ "use_bias": false,
36
+ "use_cache": true,
37
+ "use_conv_bias": true,
38
+ "vocab_size": 50280
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.3"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4418437add7509d6750d55b176ae2f13fce44c5f620486b219b7c23d9be4b7b5
3
+ size 2750701096