detect chat template from KV

This commit is contained in:
Michael Yang
2024-06-03 11:06:29 -07:00
parent 1a29e9a879
commit 9b6c2e6eb6
26 changed files with 428 additions and 0 deletions

6
templates/zephyr.gotmpl Normal file
View File

@@ -0,0 +1,6 @@
{{ if .System }}<|system|>
{{ .System }}</s>
{{ end }}{{ if .Prompt }}<|user|>
{{ .Prompt }}</s>
{{ end }}<|assistant|>
{{ .Response }}</s>