Instructions to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF", filename="RavenX-OpenFable-Coderagent-gemma4-fable5-Q4_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
Use Docker
docker model run hf.co/deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
- Ollama
How to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with Ollama:
ollama run hf.co/deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
- Unsloth Studio
How to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF to start chatting
- Pi
How to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with Docker Model Runner:
docker model run hf.co/deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
- Lemonade
How to use deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull deadbydawn101/RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.RavenX-OpenFable-Coderagent-gemma-4-12B-coder-fable5-composer-Soulinfused-Remastered-GGUF-Q4_K_M
List all available models
lemonade list
Issue with tool calling + template
Hi... on linux...here is quick preview of my compose.yml
(command:
- --model
- /models/Gemma4-agentic-Q8_0/gemma4-agentic-Q8_0.gguf
- --host
- 0.0.0.0
- --port
- "8051"
- --n-gpu-layers
- "48"
- --ctx-size
- "262144"
- --parallel
- "2"
- --cache-type-k
- "q8_0"
- --cache-type-v
- "q8_0"
- --cont-batching
- --flash-attn
- "on"
- --reasoning
- "on"
- --chat-template
- "jinja"
- --override-kv
- "chat_template=string:jinja"
- --repeat-penalty
- "1.1"
- --temp
- ".7"
- --top-k
- "50"
- --top-p
- "0.85")
Logs:
0.04.765.138 I init: chat template, example_format: '<|turn>system
<|think|>
You are a helpful assistant<turn|>
<|turn>user
Hello<turn|>
<|turn>model
Hi there<turn|>
<|turn>user
How are you?<turn|>
<|turn>model
'
0.04.766.280 I srv init: init: chat template, thinking = 1
2.58.189.055 I srv operator(): Chat format: peg-gemma4
om@BlackBox-Labs:/mnt/docker-ssd/lm-endpoint$ docker inspect lm-gemma4 --format '{{.Path}} {{.Args}}'
docker inspect lm-gemma4 --format '{{.Path}} {{.Args}}'
llama-server [--model /models/Gemma4-agentic-Q8_0/gemma4-agentic-Q8_0.gguf --host 0.0.0.0 --port 8051 --n-gpu-layers 48 --ctx-size 262144 --parallel 2 --cache-type-k q8_0 --cache-type-v q8_0 --cont-batching --flash-attn on --reasoning on --jinja --repeat-penalty 1.1 --temp .7 --top-k 50 --top-p 0.85]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Simple test , only list files in current directory
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญโ โ Hermes โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
The command is ls -l with no arguments โ it lists all long format entries from /home/om and outputs to stdout. I will run this using python3 and execute the file listing as requested by the code execution tool,
python
import os
file_list = os.listdir(os.getcwd())
return (f"Files in current directory: {', '.join(file_lists)}") # typo fix from my previous thought note to correct 'file_lists'
[tool call]
Hey @omshunyaom13 โ thanks for the detailed setup info, that helps a lot.
What's happening: The model is generating Python-style tool calls instead of using Hermes' native tool format. When you asked it to list files, it wrote Python code (os.listdir) instead of using the bash tool directly. It also introduced a typo (file_lists vs file_list) which suggests the model is trying to "code" the solution rather than delegate to tools.
The issue is the chat template + tool format interaction. Gemma 4's peg-gemma4 template handles tool calls differently than what Hermes expects. Two fixes:
Fix 1 โ Use llama.cpp's --jinja flag with the correct template:
--jinja
--chat-template-file /path/to/hermes-tool-template.jinja
The default Gemma 4 template doesn't have native tool-calling format built in. You need to either use a custom Jinja template that maps to Hermes' tool format, or use --chat-template chatml which Hermes understands natively.
Fix 2 โ Try chatml template instead of jinja:
--chat-template chatml
ChatML is what Hermes was designed for. The Gemma 4 peg-gemma4 template doesn't emit <tool_call> tokens in the format Hermes expects.
Fix 3 โ Add a system prompt that explicitly tells the model how to format tool calls:
When using tools, output in this exact format:
{"name": "bash", "arguments": {"command": "ls -l"}}
Also โ I noticed you're running with --ctx-size 262144 (256K context). That's going to use a LOT of VRAM even with q8_0 KV cache. If you're hitting memory issues, try --ctx-size 8192 first to verify tool calling works, then scale up.
Let me know which fix works for your setup!
โ Gabriel Garcia / RavenX AI Labs LLC