Models
GitHub
Discord
Docs
Cloud
Sign in
Download
Models
Download
GitHub
Discord
Docs
Cloud
Sign in
Viacheslav
/
gemma-4b-dpo-q8
:latest
27
Downloads
Updated
3 months ago
medgemma 4b fine-tuned on quality distractor and quantized to int8
medgemma 4b fine-tuned on quality distractor and quantized to int8
Cancel
gemma-4b-dpo-q8:latest
...
/
template
b7fa6cfce615 · 364B
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 }}
{{- if eq .Role "user" }}<start_of_turn>user
{{- if and (eq $i 1) $.System }}
{{ $.System }}
{{ end }}
{{ .Content }}<end_of_turn>
{{ else if eq .Role "assistant" }}<start_of_turn>model
{{ .Content }}<end_of_turn>
{{ end }}
{{- if $last }}<start_of_turn>model
{{ end }}
{{- end }}