Bible LLM models
Small GPT models (10M and 30M parameters) trained from scratch on the Berean Standard Bible (BSB) only, which is public domain. The aim is to see how far a model trained only on the Bible gets toward a chatbot that can reason about theology.
- Code: https://github.com/youversion/biblelab-bible-llm
- Results summary:
docs/SUMMARY.md(architecture, data, benchmarks, conclusions)
Demo models
| Name in the demo | Run | Checkpoint | What it does |
|---|---|---|---|
| Quotes a verse (12 epochs) | gpt30m-sft-bsb-20261124-0444 |
best.pt |
Answers with a reference and the verse text. Exact quote on unseen chapters 38%; fitting verse on the theology test 25%. |
| Explains, then quotes (option A) | gpt30m-sft-bsbexpfull-20261123-2112 |
last.pt |
A 1β2 sentence explanation, then the reference and verse. Learns the format, but most explanations are wrong. |
Run the demo
git clone git@github.com:youversion/biblelab-bible-llm.git
cd biblelab-bible-llm
uv sync
uv run python -c "import huggingface_hub; huggingface_hub.login()" # once, with your HF token
uv run python scripts/hub.py pull gpt30m-sft-bsb-20261124-0444 gpt30m-sft-bsbexpfull-20261123-2112
uv run python scripts/chat_server.py # then open http://127.0.0.1:8000
uv run python scripts/hub.py pull with no run IDs downloads every run. Each reply on the chat page shows the model's
quote next to the real BSB text, marking any difference; explanations are shown as the model's unchecked words.
What is in this repo
models/<run>/: the checkpoint (best.pt, pluslast.ptfor the option A demo model) and itsconfig.yaml.results/<run>/: training log, metrics and evaluation results.data/tokenizer/bsb-bpe-4096/: the 4,096-token tokenizer, trained on the training chapters only.data/structured/bsb/verses.jsonl: the BSB verses the chat page checks quotes against.
Files sit at the same paths as in the code repo, so the scripts find them after a pull. Run names say the size
(gpt10m/gpt30m), the stage (base = Bible text only, sft = chat fine-tune), the data (bsb, bsbexp* =
explained replies) and the start time.
Limits
Research models. They quote well but understand little: facts from unseen chapters are at chance, and the theology test's verse lists still need a human review. Do not use them as a source of Scripture or teaching.