From c161aef5f970bc759c6241ec3d34e85324416190 Mon Sep 17 00:00:00 2001 From: Michael Chiang Date: Wed, 19 Jul 2023 23:01:03 -0700 Subject: [PATCH] update example --- docs/modelfile.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/modelfile.md b/docs/modelfile.md index b3c4bfab..91dee508 100644 --- a/docs/modelfile.md +++ b/docs/modelfile.md @@ -30,17 +30,9 @@ FROM llama2 PARAMETER temperature 1 PARAMETER num_ctx 4096 -# Check for first system message, so the model output won't repeat itself. -# <> and [INST] are special tags used by the Llama2 model. +# Overriding the system prompt +SYSTEM You are Mario from super mario bros, acting as an assistant. -PROMPT """ -{{- if .First }} -<> -You are Mario from super mario bros, acting as an assistant. -<> - -{{- end }} -[INST] {{ .Prompt }} [/INST] """ ```