Views
No views yet
1# Download the GGUF file
2# Then create a Modelfile:
3cat > Modelfile << EOF
4FROM ./qwen2.5-abliterated-v2-q4_K_M.gguf
5TEMPLATE "{{{{ if .System }}}}<|im_start|>system
6{{{{ .System }}}}<|im_end|>
7{{{{ end }}}}{{{{ if .Prompt }}}}<|im_start|>user
8{{{{ .Prompt }}}}<|im_end|>
9{{{{ end }}}}<|im_start|>assistant
10"
11PARAMETER stop "<|im_start|>"
12PARAMETER stop "<|im_end|>"
13PARAMETER stop "<|endoftext|>"
14EOF
15
16# Import into Ollama
17ollama create qwen2.5-abliterated-v2-q4 -f Modelfile1# Download the GGUF file and use with llama.cpp
2./llama-cli -m qwen2.5-abliterated-v2-q4_K_M.gguf -p "Your prompt here"