ridger commited on
Commit
3e1d1e5
·
verified ·
1 Parent(s): 5e9fcc2

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +53 -0
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/bn/ridger1/flame/configs/RetNet/retnet_1.3B_hybrid_3.json",
3
+ "architectures": [
4
+ "RetNetForCausalLM"
5
+ ],
6
+ "attn": {
7
+ "layers": [
8
+ 2,
9
+ 5,
10
+ 8,
11
+ 11,
12
+ 14,
13
+ 17,
14
+ 20,
15
+ 23
16
+ ],
17
+ "num_heads": 16,
18
+ "num_kv_heads": 8,
19
+ "qkv_bias": false,
20
+ "rope_theta": 10000.0,
21
+ "window_size": null
22
+ },
23
+ "attn_mode": "chunk",
24
+ "bos_token_id": 1,
25
+ "clamp_min": null,
26
+ "conv_size": 4,
27
+ "elementwise_affine": true,
28
+ "eos_token_id": 2,
29
+ "expand_k": 0.5,
30
+ "expand_v": 1,
31
+ "feature_map": null,
32
+ "fuse_cross_entropy": true,
33
+ "fuse_norm": true,
34
+ "fuse_swiglu": true,
35
+ "hidden_act": "swish",
36
+ "hidden_ratio": 4,
37
+ "hidden_size": 2048,
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": null,
40
+ "max_position_embeddings": 4906,
41
+ "model_type": "retnet",
42
+ "norm_eps": 1e-06,
43
+ "num_heads": 4,
44
+ "num_hidden_layers": 24,
45
+ "num_kv_heads": null,
46
+ "tie_word_embeddings": true,
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.49.0",
49
+ "use_cache": true,
50
+ "use_output_gate": true,
51
+ "use_short_conv": false,
52
+ "vocab_size": 32000
53
+ }