bobig commited on
Commit
223eda4
·
verified ·
1 Parent(s): f1c0c70

Upload chat_template.jinja with huggingface_hub

Browse files
Files changed (1) hide show
  1. chat_template.jinja +1 -0
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {%- 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 %}