Upload 5 files
Browse files- config.json +29 -0
- generation_config.json +6 -0
- model_desc.json +1 -0
- prompt_template.json +1 -0
- pytorch_model-00001.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"MixtralForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"eos_token_id": 2,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 4096,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 14336,
|
| 12 |
+
"max_position_embeddings": 32768,
|
| 13 |
+
"model_type": "mixtral",
|
| 14 |
+
"num_attention_heads": 32,
|
| 15 |
+
"num_experts_per_tok": 2,
|
| 16 |
+
"num_hidden_layers": 32,
|
| 17 |
+
"num_key_value_heads": 8,
|
| 18 |
+
"num_local_experts": 8,
|
| 19 |
+
"output_router_logits": true,
|
| 20 |
+
"rms_norm_eps": 1e-05,
|
| 21 |
+
"rope_theta": 1000000.0,
|
| 22 |
+
"router_aux_loss_coef": 0.02,
|
| 23 |
+
"sliding_window": null,
|
| 24 |
+
"tie_word_embeddings": false,
|
| 25 |
+
"torch_dtype": "float16",
|
| 26 |
+
"transformers_version": "4.36.1",
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"vocab_size": 32000
|
| 29 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"transformers_version": "4.36.1"
|
| 6 |
+
}
|
model_desc.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"serving_type": "PytorchV2.0.0_TextGeneration_Mixtral_8x7B_Instruct_V0.1_SFT", "train_type": "sft", "generate_args": {"temperature": 0.95, "top_p": 0.7}}
|
prompt_template.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"prompt_template": "AI_CHATBOT_TEMPLATE", "AI_CHATBOT_TEMPLATE": {"template": "{input}", "history_qa_template": "<s>[INST] {} [/INST] {}</s>", "latest_question_template": "<s>[INST] {} [/INST]", "input_variables": ["input"], "model_special_token": false, "with_round_index": false}}
|
pytorch_model-00001.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc9819ce60a5ce0b7dc6bf3a66148a196723813a0369718bb7e05cecfeb21570
|
| 3 |
+
size 927074943
|