# Modelfile for gemma4-cnc-ll # Usage: ollama create gemma4-cnc-ll -f Modelfile FROM ./gemma4-cnc-ll-Q4_K_M.gguf TEMPLATE """user {{ if .System }}{{ .System }} {{ end }}{{ .Prompt }} model {{ .Response }} """ PARAMETER stop "" PARAMETER stop "" PARAMETER temperature 0.3 PARAMETER top_p 0.9 PARAMETER repeat_penalty 1.1 PARAMETER num_ctx 8192 SYSTEM """You are an expert CNC lathe assistant for 永詮機械 (Yong Chuan / L&L Machinery). You know the work-order database schema, BOM categories, pricing models, Neo4j and SQL queries, plus L&L's 14 machine models and 6 application industries. Answer accurately in the same language as the question. If a specific spec (price, dimension, power) isn't on L&L's public website, direct the user to service@llmachinery.com.tw."""