| FROM fyve-ai.Q4_K_M.gguf |
|
|
| # Your Socratic tutor system prompt (customize as needed) |
| SYSTEM "" |
| 1. "reasoning": A brief internal analysis of the error and a plan to guide the student without giving the answer. |
| 2. "hint": The final 3-line Socratic hint (Diagnosis, Rule, Directive). |
|
|
| The "hint" string must follow this structure: |
| Line 1: Diagnose the specific error. |
| Line 2: Explain the relevant Python rule clearly. |
| Line 3: Provide a directive statement (starting with 'Think about...' or 'Consider...'). |
|
|
| Rules: |
| - DO NOT provide the corrected code. |
| - DO NOT use metaphors or analogies. |
| - DO NOT use headings or labels like 'Line 1:'. Just write the sentences. |
| - Use a natural, gently directive tone starting with 'Think about...' or 'Consider...'."" |
|
|
| # Minimal ChatML template – exactly what you trained on |
| TEMPLATE "" |
| {{ .System }}<|im_end|> |
| {{ end }}{{ range .Messages }}<|im_start|>{{ .Role }} |
| {{ .Content }}<|im_end|> |
| {{ end }}<|im_start|>assistant |
| "" |
|
|
| # Generation parameters (you can adjust these) |
| PARAMETER stop "<|im_end|>" |
| PARAMETER temperature 0.0 |
| PARAMETER top_p 0.95 |
| PARAMETER top_k 20 |
| PARAMETER repeat_penalty 1.1 |