glimpse-v1 / Modelfile
valentinfrlch's picture
Upload Modelfile
ba9fad1 verified
raw
history blame contribute delete
591 Bytes
FROM ./glimpse-v1.Q8_0.gguf
FROM ./glimpse-v1.BF16-mmproj.gguf
PARAMETER num_ctx 4096
PARAMETER temperature 0.3
PARAMETER top_p 0.95
PARAMETER top_k 64
PARAMETER stop "<start_of_turn>user"
PARAMETER stop "<eos>"
TEMPLATE """
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if or (eq .Role "user") (eq .Role "system") }}<start_of_turn>user
{{ .Content }}<end_of_turn>
{{ if $last }}<start_of_turn>model
{{ end }}
{{- else if eq .Role "assistant" }}<start_of_turn>model
{{ .Content }}{{ if not $last }}<end_of_turn>
{{ end }}
{{- end }}
{{- end }}
"""