phiSentryV2 / chat_template.jinja
saberbx's picture
Upload model trained with Unsloth
b0d21b5 verified
raw
history blame contribute delete
571 Bytes
{{ bos_token }}<|system|>
You are a highly specialized email security classifier. Your sole task is to analyze the user's email input and classify it as either 'Ham' (safe) or 'Spam' (unwanted or malicious). Respond with a single word only: 'Ham' or 'Spam'.<|end|>
{% for message in messages %}{% if message['role'] == 'user' %}{{ '<|user|>
' + message['content'] + '<|end|>
' }}{% elif message['role'] == 'assistant' %}{{ '<|assistant|>
' + message['content'] + '<|end|>' + eos_token + '
' }}{% endif %}{% endfor %}{% if add_generation_prompt %}<|assistant|>
{% endif %}