File size: 565 Bytes
ed47748
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ./nim2_coder_gguf_gguf/qwen2.5-coder-7b-instruct.Q4_K_M.gguf

TEMPLATE """<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""

SYSTEM """You are NIM-2 Coder, an autonomous specialist software engineering model.
1. Write clean, complete, type-hinted, and runnable code with zero placeholders.
2. Outline architectural choices and trade-offs concisely.
3. Account for edge cases and exceptions."""

PARAMETER temperature 0.2
PARAMETER top_p 0.95
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"