Upload folder using huggingface_hub
Browse files- config.json +47 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Model"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"clip_qkv": null,
|
| 8 |
+
"eos_token_id": 2,
|
| 9 |
+
"fused_attention_norm": false,
|
| 10 |
+
"gated_mlp": true,
|
| 11 |
+
"glm_tokens": null,
|
| 12 |
+
"gradient_checkpointing": false,
|
| 13 |
+
"hidden_act": "silu",
|
| 14 |
+
"hidden_size": 512,
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"inter_sequence_attention": true,
|
| 17 |
+
"intermediate_size": 1536,
|
| 18 |
+
"max_num_sequences": 512,
|
| 19 |
+
"max_position_embeddings": 65536,
|
| 20 |
+
"mlm_loss_coef": 1.0,
|
| 21 |
+
"model_type": "progen3",
|
| 22 |
+
"moe_expert_selection": "switch",
|
| 23 |
+
"moe_grouped_gemm": true,
|
| 24 |
+
"moe_implementation": "megablocks",
|
| 25 |
+
"moe_memory_optimized": true,
|
| 26 |
+
"moe_world_size": 1,
|
| 27 |
+
"msa_style_attention": true,
|
| 28 |
+
"no_ffn_gradient_checkpointing": false,
|
| 29 |
+
"num_attention_heads": 8,
|
| 30 |
+
"num_experts": 8,
|
| 31 |
+
"num_experts_per_tok": 2,
|
| 32 |
+
"num_hidden_layers": 17,
|
| 33 |
+
"num_key_value_heads": 8,
|
| 34 |
+
"output_router_weights": false,
|
| 35 |
+
"pad_token_id": 0,
|
| 36 |
+
"quantize_inputs_num_bits": null,
|
| 37 |
+
"quantize_rematerialize_num_bits": null,
|
| 38 |
+
"quantize_scatter_num_bits": null,
|
| 39 |
+
"rms_norm_eps": 1e-05,
|
| 40 |
+
"rope_theta": 100000.0,
|
| 41 |
+
"router_aux_loss_coef": 0.05,
|
| 42 |
+
"tie_word_embeddings": false,
|
| 43 |
+
"torch_dtype": "bfloat16",
|
| 44 |
+
"transformers_version": "4.42.4",
|
| 45 |
+
"use_cache": true,
|
| 46 |
+
"vocab_size": 134
|
| 47 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.42.4"
|
| 7 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10aa34ce04ce8ef4da0c82ef05c6ba3e41d0b06c3e493fe712173581e1237b88
|
| 3 |
+
size 678511536
|