aab20abdullah's picture
LearnPath GGUF, Modelfile and model card
c54dfc5 verified
Raw History Blame Contribute Delete
495 Bytes
FROM ./learnpath-gemma4-e4b.Q4_K_M.gguf
TEMPLATE """{{- range $i, $_ := .Messages }}{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if eq .Role "system" }}<|turn>system
{{ .Content }}<turn|>
{{ else if eq .Role "user" }}<|turn>user
{{ .Content }}<turn|>
{{ if $last }}<|turn>model
{{ end }}
{{- else if eq .Role "assistant" }}<|turn>model
{{ .Content }}{{ if not $last }}<turn|>
{{ end }}
{{- end }}
{{- end }}"""
PARAMETER stop "<turn|>"
PARAMETER temperature 0.3
PARAMETER num_ctx 8192