Models
GitHub
Discord
Turbo
Sign in
Download
Models
Download
GitHub
Discord
Sign in
huihui_ai
/
kimi-k2
:latest
1,535
Downloads
Updated
1 month ago
This is not the ablation version. Kimi-K2-Instruct is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters.
This is not the ablation version. Kimi-K2-Instruct is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters.
Cancel
tools
1026b
kimi-k2:latest
...
/
template
25445adecbdc · 728B
{{ if .Tools }}<|im_system|>tool_declare<|im_middle|>{{ .Tools }}<|im_end|>{{ end }}
{{ range $index, $message := .Messages }}
{{ if and (eq $index 0) (ne $message.Role "system") }}<|im_system|>system<|im_middle|>You are a helpful assistant<|im_end|>{{ end }}
{{ if eq $message.Role "system" }}<|im_system|>system<|im_middle|>{{ else if eq $message.Role "user" }}<|im_user|>user<|im_middle|>{{ else if eq $message.Role "assistant" }}<|im_assistant|>assistant<|im_middle|>{{ else if eq $message.Role "tool" }}<|im_system|>tool<|im_middle|>{{ end }}
{{ range $message.Images }}<|media_start|>image<|media_content|><|media_pad|><|media_end|>{{ end }}{{ $message.Content }}<|im_end|>
{{ end }}
<|im_assistant|>assistant<|im_middle|>