chore: import upstream snapshot with attribution
Lint / lint (push) Has been cancelled
Build Docs / Deploy Docs (push) Has been cancelled
Windows CI / Windows (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:23:58 +08:00
commit 770d92cb1f
694 changed files with 114634 additions and 0 deletions
@@ -0,0 +1,21 @@
"""Orion default templates"""
from mlc_llm.protocol.conversation_protocol import Conversation, MessagePlaceholders
from .registry import ConvTemplateRegistry
# Orion
ConvTemplateRegistry.register_conv_template(
Conversation(
name="orion",
system_template=f"{MessagePlaceholders.SYSTEM.value}",
system_message="",
roles={"user": "Human: ", "assistant": "Assistant: "},
seps=["\n\n", "</s>"],
role_content_sep="",
role_empty_sep="</s>",
stop_str=["</s>"],
stop_token_ids=[2],
system_prefix_token_ids=[1],
)
)