CoolFace
Modelpublic

RiosWesley/gemma-3-270M-Model-Router

sourceHugging Facegemmaupdated 10mo agoView on Hugging Face
1likes64downloads
Modelfile22 linesDownload Raw Back to root
1 2FROM gemma-3-270m-it.Q8_0.gguf3TEMPLATE """{{- $systemPromptAdded := false }}4{{- range $i, $_ := .Messages }}5{{- $last := eq (len (slice $.Messages $i)) 1 }}6{{- if eq .Role "user" }}<start_of_turn>user7{{- if (and (not $systemPromptAdded) $.System) }}8{{- $systemPromptAdded = true }}9{{ $.System }}10{{ end }}11{{ .Content }}<end_of_turn>12{{ if $last }}<start_of_turn>model13{{ end }}14{{- else if eq .Role "assistant" }}<start_of_turn>model15{{ .Content }}{{ if not $last }}<end_of_turn>16{{ end }}17{{- end }}18{{- end }}19"""20PARAMETER stop "<end_of_turn>"21PARAMETER top_k 6422PARAMETER top_p 0.95