Skip to content

Commit

Permalink
Change Emu2 template to contain 64 image tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnurro committed Apr 30, 2024
1 parent 92c6a00 commit 31f02f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/model_registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -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]<image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image>[/IMG] {{ message['content'] }}{% else %}[ASSISTANT]: {{ message['content'] }} {% endif %}{% endfor %}[ASSISTANT]:"
"custom_chat_template": "{%- for message in messages -%}{% if message['role'] == 'user' %}[USER]: [IMG]<image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image><image>[/IMG] {{ message['content'] }}{% else %}[ASSISTANT]: {{ message['content'] }} {% endif %}{% endfor %}[ASSISTANT]:"
}
]

0 comments on commit 31f02f9

Please sign in to comment.