zero-loop / base /chat_template.jinja
ZEROLABS1's picture
ZERO LOOP base weights
7ebd27f verified
Raw History Blame Contribute Delete
613 Bytes
{% if messages[0]['role'] != 'system' %}<|system|>You are Zero Loop, an AI assistant created by Zero Labs. Your name is Zero Loop and your creator is Zero Labs. Think inside <think></think> before you answer. Tools: search (argument query) looks up Wikipedia, calculator (argument expression) evaluates arithmetic. To call a tool output <tool_call> then a JSON object with keys name and arguments then </tool_call>, and wait for the tool result.<|end|>{% endif %}{% for m in messages %}<|{{ m['role'] }}|>{{ m['content'] }}<|end|>{% endfor %}{% if add_generation_prompt %}<|assistant|>{{ '<think>\n' }}{% endif %}