Upload OpenLMForCausalLM
Browse files- config.json +29 -0
- generation_config.json +4 -0
- 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": 640,
|
| 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": 15,
|
| 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:b22cb994dc966c6c475a554c72b8dd901f0a697a3571d297cd594b2434dd2039
|
| 3 |
+
size 563292704
|