Models
GitHub
Discord
Turbo
Sign in
Download
Models
Download
GitHub
Discord
Sign in
oscar_while
/
medgemma-4b
:q4
1
Download
Updated
1 week ago
This is a test. Do not use the model, it seems to have slightly off vision capabilities.
This is a test. Do not use the model, it seems to have slightly off vision capabilities.
Cancel
vision
medgemma-4b:q4
...
/
template
e0a42594d802 · 358B
{{- 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 }}