ridger commited on
Commit
a8f0209
·
verified ·
1 Parent(s): 51d790e

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +43 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/bn/ridger1/flame/configs/HGRN/hgrn_340M_hybrid_12.json",
3
+ "architectures": [
4
+ "HGRNForCausalLM"
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
+ "elementwise_affine": true,
21
+ "eos_token_id": 2,
22
+ "expand_ratio": 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": 1024,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": null,
31
+ "max_position_embeddings": 4096,
32
+ "model_type": "hgrn",
33
+ "norm_eps": 1e-06,
34
+ "num_heads": 8,
35
+ "num_hidden_layers": 24,
36
+ "tie_word_embeddings": true,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.49.0",
39
+ "use_cache": true,
40
+ "use_lower_bound": true,
41
+ "use_short_conv": false,
42
+ "vocab_size": 32000
43
+ }