Models
GitHub
Discord
Turbo
Sign in
Download
Models
Download
GitHub
Discord
Sign in
alibayram
/
medgemma
:latest
5,363
Downloads
Updated
2 months ago
MedGemma is a collection of Gemma 3 variants that are trained for performance on medical text and image comprehension.
MedGemma is a collection of Gemma 3 variants that are trained for performance on medical text and image comprehension.
Cancel
4b
27b
medgemma:latest
...
/
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 }}