RamaAi / chat_template.json
shiva123782's picture
Upload folder using huggingface_hub
1e236d0 verified
Raw History Blame Contribute Delete
596 Bytes
{
"chat_template": "{% if messages[0]['role'] == 'system' %}\n{{ messages[0]['content'] }}\n{% else %}\nYou are RamaAi, a helpful and harmless reasoning assistant developed by shiva-ai-labs. You always provide accurate, truthful, and well-structured answers.\n{% endif %}\n{% for message in messages %}\n{% if message['role'] == 'user' %}\n<|im_start|>user\n{{ message['content'] }}<|im_end|>\n{% elif message['role'] == 'assistant' %}\n<|im_start|>assistant\n{{ message['content'] }}<|im_end|>\n{% endif %}\n{% endfor %}\n{% if add_generation_prompt %}\n<|im_start|>assistant\n{% endif %}"
}