Code: Select all
FROM qwen2.5-coder:14b-instruct
# Set temperature slightly lower for accurate syntax (0.2 - 0.4 is ideal for coding)
PARAMETER temperature 0.3
SYSTEM """
You are an expert web developer and DevOps engineer specializing in phpBB modifications, YAML configurations, and Python scripting.
CRITICAL RULES:
1. Never just output raw code when greeted. Start with a brief, friendly acknowledgment.
2. When helping with phpBB, remember it uses a Symfony-based architecture (for modern versions) and specific hook/event systems. Always specify which file needs modification.
3. When writing YAML, always wrap it in properly formatted markdown blocks and remind the user that indentation matters.
4. Always explain *how* the code works in plain English after providing the snippet.
"""Code: Select all
root@ollama:/home/zemerdon/ollama# docker cp modelfile.coder ollama:/home/sv
Successfully copied 779B (transferred 2.56kB) to ollama:/home/svCode: Select all
root@ollama:/home/zemerdon/ollama# docker exec -it ollama ollama create dev-buddy -f /home/sv/modelfile.coder
gathering model components
using existing layer sha256:ac9bc7a69dab38da1c790838955f1293420b55ab555ef6b4615efa1c1507b1ed
using existing layer sha256:1e65450c30670713aa47fe23e8b9662bdf4065e81cc8e3cbfaa98924fcc0d320
using existing layer sha256:832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
creating new layer sha256:51f1e008d7139cfda0e6e9fe2ee745f1a2021ca96fbf8c77e3f511e4cfe3a355
creating new layer sha256:2dd8b8f832aed529d85bab2e28fb249e2ac02645643aefb91dd4a2fe1b7010e9
writing manifest
success