orpheus-finetuned-3b-mlx-8Bit / chat_template.jinja
bobig's picture
Upload chat_template.jinja with huggingface_hub
223eda4 verified
{%- if not voice is defined %}{%- set voice = 'zoe' %}{%- endif %}{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|begin_of_text|><custom_token_3>' + voice + ': ' + message['content'].strip() + '<|eot_id|><custom_token_4><custom_token_5><custom_token_1>'}}{% endif %}{% endfor %}