nick11roberts commited on
Commit
59dc226
·
verified ·
1 Parent(s): e22e067

Upload OpenLMForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +29 -0
  2. generation_config.json +4 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "apply_qk_norm": true,
3
+ "architectures": [
4
+ "OpenLMForCausalLM"
5
+ ],
6
+ "attn_func": "xformers_attn",
7
+ "attn_name": "xformers_attn",
8
+ "dim": 1312,
9
+ "ffn_type": "swiglu",
10
+ "model_type": "openlm",
11
+ "moe_capacity_factor": 1.25,
12
+ "moe_expert_model_parallelism": false,
13
+ "moe_freq": 0,
14
+ "moe_loss_weight": 0.1,
15
+ "moe_num_experts": null,
16
+ "moe_top_k": 2,
17
+ "moe_weight_parallelism": false,
18
+ "n_heads": 4,
19
+ "n_layers": 26,
20
+ "norm_eps": 1e-05,
21
+ "norm_type": "default_layer_norm",
22
+ "positional_embedding_type": "rotary",
23
+ "post_embed_norm": false,
24
+ "seq_len": 2048,
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.49.0",
27
+ "vocab_size": 50432,
28
+ "weight_tying": false
29
+ }
generation_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "transformers_version": "4.49.0"
4
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce4c06879eda9b013750cbfb137813c04c4175c213013490b2412ca862589793
3
+ size 2713659168