ArthurZ HF staff commited on
Commit
1e1dd66
1 Parent(s): ae40d90

Upload MambaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +39 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ArthurZ/mamba-790m",
3
+ "architectures": [
4
+ "MambaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "conv_kernel": 4,
8
+ "d_model": 2048,
9
+ "eos_token_id": 2,
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.0.dev0",
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,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:3fbcf74674d28034e728b911315e4749cc4fc34ebfab36099f46d92bb657a617
3
+ size 3172869936