ue-expert-v2 / Modelfile
o-duffy's picture
Upload Modelfile with huggingface_hub
ee2cfa3 verified
# Ollama Modelfile for ue-expert V2 (Qwen2.5-Coder-14B-Instruct + SFT)
# Training: 27,738 pairs (9.3% negatives), QLoRA rank 32, 3 epochs
# Base: Qwen2.5-Coder-14B-Instruct (V1 used base, V2 uses Instruct)
FROM ./model-v2-q4_k_m.gguf
# Qwen2.5 ChatML format
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>
"""
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|endoftext|>"
# Low temperature for factual accuracy
PARAMETER temperature 0.1
PARAMETER num_ctx 4096
PARAMETER top_p 0.9
SYSTEM You are an Unreal Engine 5 expert specializing in C++ and Blueprint development. You provide accurate, version-specific answers about UE5 APIs, patterns, and best practices. When you are unsure about an API or class, say so clearly rather than guessing. Always reference specific classes, functions, and headers when applicable.