Skip to content

Instantly share code, notes, and snippets.

@AIAnytime
Created August 25, 2024 06:19
Show Gist options
  • Save AIAnytime/4522672c5c0ccd75e315b9b699e8d7c3 to your computer and use it in GitHub Desktop.
Save AIAnytime/4522672c5c0ccd75e315b9b699e8d7c3 to your computer and use it in GitHub Desktop.
Modelfile ollama
FROM ./Llama-3-ELYZA-JP-8B-q4_k_m.gguf
TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
{{ .Response }}<|eot_id|>"""
PARAMETER stop "<|start_header_id|>"
PARAMETER stop "<|end_header_id|>"
PARAMETER stop "<|eot_id|>"
PARAMETER stop "<|reserved_special_token"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment