diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-02-12 20:57:17 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-02-12 20:57:17 +0100 |
| commit | b333b06772c89d96aacb5490d6a219fba7c09cc6 (patch) | |
| tree | 211df60083a5946baa2ed61d33d8121b7e251b06 /llama.cpp/models/templates/microsoft-Phi-3.5-mini-instruct.jinja | |
| download | llmnpc-b333b06772c89d96aacb5490d6a219fba7c09cc6.tar.gz | |
Engage!
Diffstat (limited to 'llama.cpp/models/templates/microsoft-Phi-3.5-mini-instruct.jinja')
| -rw-r--r-- | llama.cpp/models/templates/microsoft-Phi-3.5-mini-instruct.jinja | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llama.cpp/models/templates/microsoft-Phi-3.5-mini-instruct.jinja b/llama.cpp/models/templates/microsoft-Phi-3.5-mini-instruct.jinja new file mode 100644 index 0000000..d1533d1 --- /dev/null +++ b/llama.cpp/models/templates/microsoft-Phi-3.5-mini-instruct.jinja @@ -0,0 +1,8 @@ +{% for message in messages %}{% if message['role'] == 'system' and message['content'] %}{{'<|system|> +' + message['content'] + '<|end|> +'}}{% elif message['role'] == 'user' %}{{'<|user|> +' + message['content'] + '<|end|> +'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|> +' + message['content'] + '<|end|> +'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|> +' }}{% else %}{{ eos_token }}{% endif %}
\ No newline at end of file |
