Skip to content

Commit

Permalink
optimize prompt
Browse files Browse the repository at this point in the history
Signed-off-by: Sertac Ozercan <[email protected]>
  • Loading branch information
sozercan committed Apr 18, 2024
1 parent ee26754 commit 7877c21
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/aikitfile-llama.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ models:
- name: llama-3-8b-instruct
source: https://huggingface.co/NousResearch/Meta-Llama-3-8B-Instruct-GGUF/resolve/main/Meta-Llama-3-8B-Instruct-Q4_K_M.gguf
sha256: "170c177e91ca68a07c730ad49dce9f63e96a4e6ead86c11ad6cfbc6066af6242"
promptTemplates:
- name: instruct
template: |
<|start_header_id|>{{if eq .RoleName \"assistant\"}}assistant{{else if eq .RoleName \"system\"}}system{{else if eq .RoleName \"user\"}}user{{end}}<|end_header_id|>
{{if .Content}}{{.Content}}{{end}}
<|eot_id|>
config: |
- name: llama-3-8b-instruct
backend: llama
Expand All @@ -15,3 +21,10 @@ config: |
top_p: 0.7
model: Meta-Llama-3-8B-Instruct-Q4_K_M.gguf
context_size: 8192
template:
chat_message: \"instruct\"
stopwords:
- <|start_header_id|>
- <|end_header_id|>
- <|eot_id|>
- <|reserved_special_token

0 comments on commit 7877c21

Please sign in to comment.