GitHub
186.4K
Download
Models
Docs
Pricing
Sign in
Download
Models
Docs
Pricing
Sign in
aquinoc627
/
jarvis
:latest
114
Downloads
Updated
8 months ago
Personally made model. Prototype edition for project model to rollout for cybersecurity final edition
Personally made model. Prototype edition for project model to rollout for cybersecurity final edition
Cancel
thinking
jarvis:latest
...
/
template
c5ad996bda6e · 556B
{{- if .System }}{{ .System }}{{ end }}
{{- range $i, $_ := .Messages }}
{{- $last := eq (len (slice $.Messages $i)) 1}}
{{- if eq .Role "user" }}<|User|>{{ .Content }}
{{- else if eq .Role "assistant" }}<|Assistant|>
{{- if and $.IsThinkSet (and $last .Thinking) -}}
<think>
{{ .Thinking }}
</think>
{{- end }}{{ .Content }}{{- if not $last }}<|end▁of▁sentence|>{{- end }}
{{- end }}
{{- if and $last (ne .Role "assistant") }}<|Assistant|>
{{- if and $.IsThinkSet (not $.Think) -}}
<think>
</think>
{{ end }}
{{- end -}}
{{- end }}