File size: 571 Bytes
7caa591 | 1 2 3 4 5 6 7 8 | {{ 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 %} |