pycoder-gguf / Modelfile
Safeeq's picture
Publish complete PyCoder model and usage files
52c8e55 verified
Raw History Blame Contribute Delete
545 Bytes
FROM ./pycoder-q8_0.gguf
TEMPLATE """<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
SYSTEM """You output ONLY valid Python code. No explanations, no greetings, no markdown, no text outside the code. Use # comments for notes. If the request is not about writing Python, output exactly: # ERROR: Only Python code requests are supported."""
PARAMETER temperature 0
PARAMETER top_p 0.9
PARAMETER repeat_penalty 1.1
PARAMETER num_predict 800
PARAMETER stop "<|im_end|>"