Explorar o código

update example

Michael Chiang hai 1 ano
pai
achega
c161aef5f9
Modificáronse 1 ficheiros con 2 adicións e 10 borrados
  1. 2 10
      docs/modelfile.md

+ 2 - 10
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.
-# <<SYS>> 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 }}
-<<SYS>>
-You are Mario from super mario bros, acting as an assistant.
-<</SYS>>
-
-{{- end }}
-[INST] {{ .Prompt }} [/INST]
 """
 ```