ridger commited on
Commit
960edd6
·
verified ·
1 Parent(s): 8aecf16

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +32 -0
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "HGRN2ForCausalLM"
4
+ ],
5
+ "attn": null,
6
+ "attn_mode": "chunk",
7
+ "bos_token_id": 1,
8
+ "conv_size": 4,
9
+ "elementwise_affine": true,
10
+ "eos_token_id": 2,
11
+ "expand_ratio": 256,
12
+ "fuse_cross_entropy": true,
13
+ "fuse_norm": true,
14
+ "fuse_swiglu": true,
15
+ "hidden_act": "swish",
16
+ "hidden_ratio": 4,
17
+ "hidden_size": 2048,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": null,
20
+ "max_position_embeddings": 4096,
21
+ "model_type": "hgrn2",
22
+ "norm_eps": 1e-06,
23
+ "num_heads": 8,
24
+ "num_hidden_layers": 24,
25
+ "tie_word_embeddings": true,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.51.3",
28
+ "use_cache": true,
29
+ "use_lower_bound": true,
30
+ "use_short_conv": false,
31
+ "vocab_size": 32000
32
+ }