nick11roberts commited on
Commit
6a4f9cc
·
verified ·
1 Parent(s): 06d2d68

Upload OpenLMForCausalLM

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