ridger commited on
Commit
0db6da3
·
verified ·
1 Parent(s): c1b0278

Upload config.json with huggingface_hub

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