monika-p's picture
Add Ollama Modelfile with the training prompt format
a46764d verified
Raw History Blame Contribute Delete
524 Bytes
FROM student-performance-slm.f16.gguf
# Prompt format used during training. Keep it identical or answers degrade.
TEMPLATE """### Question and answer
Question: {{ .Prompt }}
Answer:"""
SYSTEM """You are a Student Performance assistant. Answer using the recorded student
fields: weekly self study hours, attendance percentage, class participation,
total score and grade."""
PARAMETER temperature 0.2
PARAMETER top_k 40
PARAMETER repeat_penalty 1.1
PARAMETER num_predict 128
PARAMETER stop "### End"
PARAMETER stop "\n###"