Initial commit

This commit is contained in:
2026-01-26 12:40:24 +00:00
commit 5d94e292b8
9 changed files with 860 additions and 0 deletions

18
templates.py Normal file
View File

@@ -0,0 +1,18 @@
class TemplateQwen():
# --- Prompt Template Configuration (ChatML) ---
IM_START = "<|im_start|>"
IM_END = "<|im_end|>"
ROLE_SYSTEM = "system"
ROLE_USER = "user"
ROLE_ASSISTANT = "assistant"
class TemplateGemma():
# --- Prompt Template Configuration (Gemma3) ---
IM_START = "<start_of_turn>"
IM_END = "<end_of_turn>"
ROLE_SYSTEM = "user" # Gemma has no system role
ROLE_USER = "user"
ROLE_ASSISTANT = "model"
agent_template = TemplateQwen()
repl_template = TemplateGemma()