From b7db92660b833982cfcb6878c5b58a096d587458 Mon Sep 17 00:00:00 2001 From: Gnurro Date: Tue, 30 Apr 2024 18:42:30 +0200 Subject: [PATCH] Change Emu2 template to contain 256 image tokens (again) --- backends/model_registry.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/model_registry.json b/backends/model_registry.json index e3818cb24f..5047b76ad1 100644 --- a/backends/model_registry.json +++ b/backends/model_registry.json @@ -449,6 +449,6 @@ "eos_to_cull": "[Assistant]:", "padding": false, "premade_chat_template": false, - "custom_chat_template": "{%- for message in messages -%}{% if message['role'] == 'user' %}[USER]: [IMG][/IMG] {{ message['content'] }}{% else %}[ASSISTANT]: {{ message['content'] }} {% endif %}{% endfor %}[ASSISTANT]:" + "custom_chat_template": "{%- for message in messages -%}{% if message['role'] == 'user' %}[USER]: [IMG][/IMG] {{ message['content'] }}{% else %}[ASSISTANT]: {{ message['content'] }} {% endif %}{% endfor %}[ASSISTANT]:" } ] \ No newline at end of file