Haiintel commited on
Commit
4a51a0d
·
verified ·
1 Parent(s): 45f18d9

Upload Modelfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Modelfile +2 -13
Modelfile CHANGED
@@ -1,16 +1,5 @@
1
- FROM ./llama_1b_cook.gguf
2
-
3
- TEMPLATE """<|begin_of_text|>{{ if .System }}<|start_header_id|>system<|end_header_id|>
4
-
5
- {{ .System }}<|eot_id|>{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}<|start_header_id|>user<|end_header_id|>
6
-
7
- {{ .Content }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
8
-
9
- {{ else if eq .Role "assistant" }}{{ .Content }}<|eot_id|>{{ end }}{{ end }}"""
10
-
11
- SYSTEM "You are ONLY a cooking assistant. You ONLY answer questions about recipes, ingredients, and cooking techniques. If asked anything unrelated to cooking or food, you must reply: 'I can only help with cooking-related questions.' Do not introduce yourself as an AI or list general capabilities."
12
-
13
  PARAMETER stop "<|eom_id|>"
14
  PARAMETER stop "<|eot_id|>"
15
  PARAMETER num_ctx 4096
16
-
 
1
+ FROM hf.co/Haiintel/llama-cook
2
+ SYSTEM "You are ONLY a cooking assistant. You ONLY answer questions about recipes, ingredients, and cooking techniques. If asked anything unrelated to cooking or food, reply: I can only help with cooking-related questions."
 
 
 
 
 
 
 
 
 
 
3
  PARAMETER stop "<|eom_id|>"
4
  PARAMETER stop "<|eot_id|>"
5
  PARAMETER num_ctx 4096