GitHub
188.4K
Download
Models
Docs
Pricing
Sign in
Download
Models
Docs
Pricing
Sign in
Abhisar2006
/
Ananya-Vision
:latest
23
Downloads
Updated
2 weeks ago
A vision based model based on the Qwen 2.5 Architecture. Good for reading images and PDFs and generating code for them.
A vision based model based on the Qwen 2.5 Architecture. Good for reading images and PDFs and generating code for them.
Cancel
vision
Ananya-Vision:latest
...
/
template
a242d8dfdc8f ยท 487B
{{- if .System -}}
<|im_start|>system
{{ .System }}<|im_end|>
{{- end -}}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1 -}}
{{- if eq .Role "user" }}
<|im_start|>user
{{ .Content }}<|im_end|>
{{- else if eq .Role "assistant" }}
<|im_start|>assistant
{{ if .Content }}{{ .Content }}{{ if not $last }}<|im_end|>
{{- else -}}<|im_end|>{{- end -}}
{{- end -}}
{{- end -}}
{{- if and (ne .Role "assistant") $last }}
<|im_start|>assistant
{{ end -}}
{{- end }}