From eda8a32a0936c1aec120b3c544e402cbba7b7eb7 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Tue, 13 Aug 2024 23:39:18 +0000 Subject: [PATCH] update chatml template format to latest in docs (#6344) --- docs/template.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/template.md b/docs/template.md index f6ce06ba..1d7104de 100644 --- a/docs/template.md +++ b/docs/template.md @@ -112,15 +112,9 @@ Keep the following tips and best practices in mind when working with Go template ChatML is a popular template format. It can be used for models such as Databrick's DBRX, Intel's Neural Chat, and Microsoft's Orca 2. ```gotmpl -{{- if .System }}<|im_start|>system -{{ .System }}<|im_end|> -{{ end }} {{- range .Messages }}<|im_start|>{{ .Role }} {{ .Content }}<|im_end|> {{ end }}<|im_start|>assistant -{{ else }} -{{ if .System }}<|im_start|>system -{{ .System }}<|im_end|> ``` ### Example Tools