Instructions to use serialhex/gemma4-26b-biblical-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use serialhex/gemma4-26b-biblical-qlora with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("serialhex/gemma4-26b-biblical-qlora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
An AI that reads the whole passage before it talks
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 26B-A4B (a mixture-of-experts model — 26B total parameters, ~4B active per token) 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 model, 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 billed, 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 and lower
inference cost, full stop. Same questions, same answers, same sources as this
model — only the think field in training changed. If you're running this
anywhere latency or token cost matters (which is basically everywhere), use
the Grug-Think version.
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
from transformers import pipeline
question = "Did Paul mean 'all have sinned' literally, or is Romans 3 making a narrower argument?"
generator = pipeline("text-generation", model="serialhex/gemma4-26b-biblical-qlora", device_map="auto")
output = generator([{"role": "user", "content": question}], max_new_tokens=512, return_full_text=False)[0]
print(output["generated_text"])
The family
| Model | What it is |
|---|---|
| gemma4-12b-biblical-qlora | Smaller base model (Gemma 4 12B) |
| gemma4-12b-biblical-gguf | 12B, quantized |
| gemma4-12b-biblical-qlora-gt | 12B, Grug-Think reasoning |
| gemma4-12b-biblical-gguf-gt | 12B, Grug-Think, quantized |
| gemma4-26b-biblical-qlora | This model — Gemma 4 26B-A4B (MoE) fine-tune |
| 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.
Training procedure
QLoRA SFT on serialhex/Open-Biblical-Dataset, trained with Unsloth + TRL. Unsloth was used specifically because this model's MoE architecture needs its memory optimizations to fit QLoRA training on a single consumer-class GPU.
Framework versions
- TRL: 1.14.2
- Transformers: 5.19.0.dev0
- Unsloth: 2026.10.6
- Datasets: 5.1.0
- Tokenizers: 0.23.2