Ostixe360 commited on
Commit
8c3e1df
1 Parent(s): 0561f5f

Upload AnemoneForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +50 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "AnemoneForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "attn_layer_offset": 5,
7
+ "attn_layer_period": 6,
8
+ "attn_num_experts": 16,
9
+ "attn_router_aux_loss_coef": 0.05,
10
+ "attn_top_k": 4,
11
+ "bos_token_id": 1,
12
+ "calc_logits_for_entire_prompt": true,
13
+ "capacity": 128,
14
+ "eos_token_id": 2,
15
+ "expert_layer_offset": 1,
16
+ "expert_layer_period": 2,
17
+ "expert_num_heads": 4,
18
+ "hidden_act": "silu",
19
+ "hidden_size": 1024,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 10000,
22
+ "mamba_conv_bias": true,
23
+ "mamba_d_conv": 4,
24
+ "mamba_d_state": 16,
25
+ "mamba_dt_rank": 256,
26
+ "mamba_expand": 2,
27
+ "mamba_inner_layernorms": true,
28
+ "mamba_proj_bias": false,
29
+ "mod_aux_loss_coef": 0.01,
30
+ "mod_aux_routing": false,
31
+ "mod_routing": true,
32
+ "n_ctx": 262144,
33
+ "num_attention_heads": 32,
34
+ "num_experts": 8,
35
+ "num_experts_per_tok": 2,
36
+ "num_hidden_layers": 14,
37
+ "num_key_value_heads": 8,
38
+ "output_router_logits": true,
39
+ "pad_token_id": 0,
40
+ "rms_norm_eps": 1e-06,
41
+ "router_aux_loss_coef": 0.001,
42
+ "skip_blocks": 2,
43
+ "sliding_window": null,
44
+ "tie_word_embeddings": false,
45
+ "torch_dtype": "bfloat16",
46
+ "transformers_version": "4.39.3",
47
+ "use_cache": true,
48
+ "use_mamba_kernels": true,
49
+ "vocab_size": 65536
50
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
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:ca4b9d41b1999fce888605dbe976fea9d001366f4cca95f3dcc590a4e652a1aa
3
+ size 1802772328