Instructions to use serialhex/gemma4-12b-biblical-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use serialhex/gemma4-12b-biblical-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 serialhex/gemma4-12b-biblical-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf serialhex/gemma4-12b-biblical-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 serialhex/gemma4-12b-biblical-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf serialhex/gemma4-12b-biblical-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf serialhex/gemma4-12b-biblical-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf serialhex/gemma4-12b-biblical-gguf:Q4_K_M
Use Docker
docker model run hf.co/serialhex/gemma4-12b-biblical-gguf:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use serialhex/gemma4-12b-biblical-gguf with Ollama:
ollama run hf.co/serialhex/gemma4-12b-biblical-gguf:Q4_K_M
- Unsloth Desktop
- Pi
How to use serialhex/gemma4-12b-biblical-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf serialhex/gemma4-12b-biblical-gguf:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "serialhex/gemma4-12b-biblical-gguf:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use serialhex/gemma4-12b-biblical-gguf with Docker Model Runner:
docker model run hf.co/serialhex/gemma4-12b-biblical-gguf:Q4_K_M
- Lemonade
How to use serialhex/gemma4-12b-biblical-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull serialhex/gemma4-12b-biblical-gguf:Q4_K_M
Run and chat with the model
lemonade run user.gemma4-12b-biblical-gguf-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use serialhex/gemma4-12b-biblical-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 serialhex/gemma4-12b-biblical-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 serialhex/gemma4-12b-biblical-gguf:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use serialhex/gemma4-12b-biblical-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf serialhex/gemma4-12b-biblical-gguf:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "serialhex/gemma4-12b-biblical-gguf:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
An AI that reads the whole passage before it talks
This is the GGUF build β quantized (Q4_K_M), made to run on your own machine with llama.cpp or Ollama. No GPU required, no cloud, no account, your hardest spiritual questions never leave your laptop. For the full-precision adapter, see gemma4-12b-biblical-qlora.
Ask a general-purpose chatbot a real theology question β "why does God let bad things happen," "did Paul really mean that," "is this verse about me or about Israel" β and you get one of two failure modes: a confident answer built on a single verse yanked out of its chapter, or three paragraphs of hedging that never actually engages the question. Neither helps you think.
This is a QLoRA fine-tune of Gemma 4 12B trained specifically not to do that. Every answer is built from reading the full pericope β the passage, the argument, the narrated scene β not an isolated verse. When the Bible genuinely holds something in tension (grace and real human response, sovereignty and freedom), the model is trained to hold it too, instead of flattening it into whichever half is easier to state. And where Christians have historically disagreed for real reasons, it says so and shows you the shape of the disagreement instead of picking a side and pretending it was never contested.
You don't need to be a seminarian for this to be useful. If you've ever had a question about a Bible passage and gotten either a Sunday-school one-liner or an answer that clearly didn't read past the one verse you quoted β that's the gap this is trying to close.
What's actually different about it
- Reads at the passage level, not the verse level. Context (who's speaking, to whom, what comes before and after) does real work in every answer, not just as a disclaimer at the end.
- Shows its reasoning. Every answer carries a
thinktrace β the actual chain of "here's what the text says, here's what that rules out, here's the conclusion" β so you can check why, not just read a verdict. - Doesn't dodge the hard, genuinely contested questions. Predestination, the nature of grace, sacramental theology β where real, informed Christians have disagreed across history, the model engages the disagreement instead of silently picking a denomination's answer or refusing to engage.
- Built on sources you can go check yourself. Training data is drawn from the public-domain World English Bible, the early creeds, the Didache, patristic writings, and classical logic/philosophy texts β not a black box. The dataset is CC0 and public.
The Grug-Think variant: same answers, way fewer tokens
There's also a Grug-Think edition
of this GGUF, and its whole reason for existing is speed. The base
model's reasoning traces are essay-shaped: "Let me consider the context...
First, I'll note that..." β that's a lot of tokens generated (and waited on)
before you get to an actual answer. Grug-Think runs every training trace
through a rewrite pass targeting short, dense, declarative reasoning β same
hypothesis-and-check, same conclusion, filler banned β so the model learns to
think in way fewer tokens for the identical output quality. Fewer tokens
generated per answer means faster responses, full stop. Same questions, same
answers, same sources as this model β only the think field in training
changed. On CPU inference especially, this is the one you want.
Pair it with retrieval for real gains
This model was trained to reason well over a passage once it has one in front of it β it was not trained as a Bible-memorization engine, and a base LLM's recall of exact wording and cross-references degrades the way any LLM's does. You will get noticeably better, more precise answers if you put it behind even a simple RAG setup: grep/embed the relevant chapter(s) for the user's question and inject the actual verse text into context before the model answers, rather than relying on it to recall the passage from training alone. Retrieval does the remembering; the model does the reading and the reasoning β that split is where this model is strongest.
Quick start
# llama.cpp
llama-cli -hf serialhex/gemma4-12b-biblical-gguf -p "Did Paul mean 'all have sinned' literally, or is Romans 3 making a narrower argument?"
# or with Ollama
ollama run hf.co/serialhex/gemma4-12b-biblical-gguf
The family
| Model | What it is |
|---|---|
| gemma4-12b-biblical-qlora | Full-size Gemma 4 12B fine-tune |
| gemma4-12b-biblical-gguf | This model β Q4_K_M quantized, runs on a laptop |
| gemma4-12b-biblical-qlora-gt | Grug-Think reasoning (full-size) |
| gemma4-12b-biblical-gguf-gt | Grug-Think reasoning, quantized |
| gemma4-26b-biblical-qlora | Bigger base model (Gemma 4 26B-A4B, mixture-of-experts) |
| gemma4-26b-biblical-qlora-gt | 26B, Grug-Think reasoning |
| gemma4-26b-biblical-gguf-gt | 26B, Grug-Think, quantized |
Known limitations
- This is a LoRA fine-tune on top of a general instruction model, not a theologian. It will be wrong sometimes. Verify anything load-bearing against the sources it cites.
- Training data skews toward Protestant evangelical framing in places even where it tries to represent other traditions fairly β spot-check before treating it as neutral across traditions.
- It is not a substitute for a pastor, a priest, a rabbi, or a therapist.
Quantization
Q4_K_M, converted from the merged full-precision model via
llama.cpp's convert_hf_to_gguf.py
and llama-quantize.
- Downloads last month
- 115
4-bit