ridger commited on
Commit
fec1f91
·
verified ·
1 Parent(s): 87182d8

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +47 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/bn/ridger1/flame/configs/RetNet/retnet_1.3B_hybrid_12.json",
3
+ "architectures": [
4
+ "RetNetForCausalLM"
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
+ "clamp_min": null,
20
+ "conv_size": 4,
21
+ "elementwise_affine": true,
22
+ "eos_token_id": 2,
23
+ "expand_k": 0.5,
24
+ "expand_v": 1,
25
+ "feature_map": null,
26
+ "fuse_cross_entropy": true,
27
+ "fuse_norm": true,
28
+ "fuse_swiglu": true,
29
+ "hidden_act": "swish",
30
+ "hidden_ratio": 4,
31
+ "hidden_size": 2048,
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": null,
34
+ "max_position_embeddings": 4906,
35
+ "model_type": "retnet",
36
+ "norm_eps": 1e-06,
37
+ "num_heads": 4,
38
+ "num_hidden_layers": 24,
39
+ "num_kv_heads": null,
40
+ "tie_word_embeddings": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.49.0",
43
+ "use_cache": true,
44
+ "use_output_gate": true,
45
+ "use_short_conv": false,
46
+ "vocab_size": 32000
47
+ }