From b333b06772c89d96aacb5490d6a219fba7c09cc6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 12 Feb 2026 20:57:17 +0100 Subject: Engage! --- llama.cpp/models/templates/microsoft-Phi-3.5-mini-instruct.jinja | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 llama.cpp/models/templates/microsoft-Phi-3.5-mini-instruct.jinja (limited to 'llama.cpp/models/templates/microsoft-Phi-3.5-mini-instruct.jinja') 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 -- cgit v1.2.3