Skip to content

Commit

Permalink
add template config
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhaode committed May 9, 2024
1 parent 0a6c344 commit 72b7209
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions resource/template_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"model_type": "qwen-1.8b-chat",
"tokenizer_type": "tiktoken",
"llm_model": "qwen-1.8b-int4.mnn",
"llm_weight": "qwen-1.8b-int4.mnn.weight",
"embedding_file": "embeddings_bf16.bin",
"tokenizer_file": "tokenizer.txt",
"hidden_size": 2048,
"key_value_shape": [2, 1, 0, 16, 128],
"stop_ids": [151643, 151645],
"prompt_template": "\n<|im_start|>user\n{}<|im_end|>\n<|im_start|>assistant\n",

"backend_type": "cpu",
"thread_num": 4,
"precision": "low",
"memory": "low"
}

0 comments on commit 72b7209

Please sign in to comment.