ridger commited on
Commit
a63cb41
·
verified ·
1 Parent(s): 3524cda

Upload config.json with huggingface_hub

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