ridger commited on
Commit
80f833e
·
verified ·
1 Parent(s): b210b00

Upload config.json with huggingface_hub

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