ridger commited on
Commit
992b826
·
verified ·
1 Parent(s): 55c82e2

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/GLA/gla_1.3B_hybrid_24.json",
3
+ "architectures": [
4
+ "GLAForCausalLM"
5
+ ],
6
+ "attn": {
7
+ "layers": [
8
+ 23
9
+ ],
10
+ "num_heads": 32,
11
+ "num_kv_heads": 8,
12
+ "qkv_bias": false,
13
+ "rope_theta": 10000.0,
14
+ "window_size": null
15
+ },
16
+ "attn_mode": "chunk",
17
+ "bos_token_id": 1,
18
+ "clamp_min": null,
19
+ "conv_size": 4,
20
+ "elementwise_affine": true,
21
+ "eos_token_id": 2,
22
+ "expand_k": 0.5,
23
+ "expand_v": 1,
24
+ "feature_map": null,
25
+ "fuse_cross_entropy": true,
26
+ "fuse_norm": true,
27
+ "fuse_swiglu": true,
28
+ "hidden_act": "swish",
29
+ "hidden_ratio": 4,
30
+ "hidden_size": 2048,
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": null,
33
+ "max_position_embeddings": 4096,
34
+ "model_type": "gla",
35
+ "norm_eps": 1e-06,
36
+ "num_heads": 8,
37
+ "num_hidden_layers": 24,
38
+ "num_kv_heads": null,
39
+ "tie_word_embeddings": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.49.0",
42
+ "use_cache": true,
43
+ "use_gk": true,
44
+ "use_gv": false,
45
+ "use_output_gate": true,
46
+ "use_short_conv": false,
47
+ "vocab_size": 32000
48
+ }