Upload DogeForCausalLM
Browse files- config.json +37 -34
- generation_config.json +7 -4
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,34 +1,37 @@
|
|
| 1 |
-
{
|
| 2 |
-
"architectures": [
|
| 3 |
-
"DogeForCausalLM"
|
| 4 |
-
],
|
| 5 |
-
"attention_bias": false,
|
| 6 |
-
"attention_dropout": 0.0,
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
-
"
|
| 24 |
-
"
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"DogeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 128000,
|
| 8 |
+
"eos_token_id": 128001,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_dropout": 0.0,
|
| 11 |
+
"hidden_size": 256,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 1024,
|
| 14 |
+
"is_moe": true,
|
| 15 |
+
"keep_window_size": 4096,
|
| 16 |
+
"max_position_embeddings": 4096,
|
| 17 |
+
"mlp_bias": false,
|
| 18 |
+
"model_type": "doge",
|
| 19 |
+
"norm_topk_prob": false,
|
| 20 |
+
"num_attention_heads": 2,
|
| 21 |
+
"num_experts": 1024,
|
| 22 |
+
"num_experts_per_tok": 8,
|
| 23 |
+
"num_hidden_layers": 8,
|
| 24 |
+
"num_key_value_heads": 1,
|
| 25 |
+
"output_router_logits": false,
|
| 26 |
+
"pad_token_id": 128001,
|
| 27 |
+
"rms_norm_eps": 1e-06,
|
| 28 |
+
"rope_scaling": null,
|
| 29 |
+
"rope_theta": 40000.0,
|
| 30 |
+
"router_aux_loss_coef": 0.001,
|
| 31 |
+
"sliding_window": null,
|
| 32 |
+
"tie_word_embeddings": true,
|
| 33 |
+
"torch_dtype": "bfloat16",
|
| 34 |
+
"transformers_version": "4.55.0",
|
| 35 |
+
"use_cache": true,
|
| 36 |
+
"vocab_size": 128256
|
| 37 |
+
}
|
generation_config.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_from_model_config": true,
|
| 3 |
-
"
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 128000,
|
| 4 |
+
"eos_token_id": 128001,
|
| 5 |
+
"pad_token_id": 128001,
|
| 6 |
+
"transformers_version": "4.55.0"
|
| 7 |
+
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a9aa93b11ae0470af3f218b25c003fd82d2b1fd252bd8372ad7fc9cb769b3e3
|
| 3 |
+
size 90085256
|