ridger commited on
Commit
8fa8314
·
verified ·
1 Parent(s): 57cd9ac

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/bn/ridger1/flame/configs/DeltaNet/deltanet_1.3B_12.json",
3
+ "architectures": [
4
+ "DeltaNetForCausalLM"
5
+ ],
6
+ "attn": {
7
+ "layers": [
8
+ 11,
9
+ 23
10
+ ],
11
+ "num_heads": 16,
12
+ "num_kv_heads": 8,
13
+ "qkv_bias": false,
14
+ "rope_theta": 10000.0,
15
+ "window_size": null
16
+ },
17
+ "attn_mode": "chunk",
18
+ "bos_token_id": 1,
19
+ "conv_size": 4,
20
+ "eos_token_id": 2,
21
+ "expand_k": 1,
22
+ "expand_v": 1,
23
+ "fuse_cross_entropy": true,
24
+ "fuse_norm": true,
25
+ "fuse_swiglu": true,
26
+ "hidden_act": "swish",
27
+ "hidden_ratio": 4,
28
+ "hidden_size": 2048,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": null,
31
+ "max_position_embeddings": 2048,
32
+ "model_type": "delta_net",
33
+ "norm_eps": 1e-06,
34
+ "norm_first": false,
35
+ "num_heads": 8,
36
+ "num_hidden_layers": 24,
37
+ "qk_activation": "silu",
38
+ "qk_norm": "l2",
39
+ "tie_word_embeddings": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.49.0",
42
+ "use_beta": true,
43
+ "use_cache": true,
44
+ "use_gate": false,
45
+ "use_output_norm": true,
46
+ "use_short_conv": true,
47
+ "vocab_size": 32000
48
+ }