shisa-v2.1-unphi4-14b-MNN / llm_config.json
DeProgrammer's picture
Upload folder using huggingface_hub
b0e370f verified
{
"model_type": "llama",
"hidden_size": 5120,
"attention_mask": "float",
"attention_type": "full",
"jinja": {
"chat_template": "{% for message in messages %}{% if (message['role'] == 'system') %}{{'<|im_start|>system<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'user') %}{{'<|im_start|>user<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'assistant') %}{{'<|im_start|>assistant<|im_sep|>' + message['content'] + '<|im_end|>'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant<|im_sep|>' }}{% endif %}",
"bos": "<|endoftext|>",
"eos": "<|im_end|>"
}
}