BibleVerse

BibleVerse was created to increase the accessibility of the Bible and equip the expansion of Christianity with a modern interface.

It is entirely free and asks for nothing in return. If you are motivated to donate, please give to your local church instead.

Currently in beta. Actively under development.

BibleVerse — The Modern Bible Interface

Efficient exploration of humanity's most consequential text

verses · books · cross-references
BibleVerse (Beta)— The Modern Bible Interface
Chat History
BibleVerse Chat
What would you like to explore?

BibleVerse — The Modern Bible Interface

Efficient exploration of humanity's most consequential text

Loading search model
Loading model
Loading your own personal model locally — which takes a few seconds — so that your conversation is secure.

About the sphere

Sphere visualization

The 3D sphere displays 31,102 vertices (one per verse) and cross-reference edges.

Vertices: ◆ Old Testament (39 books) · ✚ New Testament (27 books). Color encodes canonical book order along a gradient from blue (Genesis) through red to gold (Revelation).

Edges: Intra-testament (OT↔OT, NT↔NT) — · Inter-testament (OT↔NT) — . Cross-references sourced from openbible.info.

Sentence embedding

Let \(\mathcal{V} = \{v_1, \ldots, v_{31102}\}\) denote the KJV verse corpus. Each verse is encoded via a sentence transformer fine-tuned specifically on biblical text (odunola/sentence-transformers-bible-reference-final, 109M parameters, 12 transformer layers, MPNet architecture). The model was contrastively trained on 929K biblical sentence pairs using cosine similarity loss, learning to place theologically related passages close together in the embedding space:

$$\phi : \mathcal{V} \to \mathbb{R}^{768}, \qquad \phi(v_i) = \mathrm{MeanPool}\!\bigl(\mathrm{MPNet}(\mathrm{tokenize}(v_i))\bigr)$$

Unlike general-purpose encoders trained on web text, this model's latent space separates verses by biblical meaning — prophecy, typology, thematic parallel, and doctrinal correspondence — rather than surface vocabulary overlap.

Dimensionality reduction

The embedding matrix \(\Phi \in \mathbb{R}^{31102 \times 768}\) is reduced to 3 dimensions via UMAP, which minimizes the fuzzy set cross-entropy between high-dimensional affinities \(w_{ij}\) and low-dimensional affinities \(q_{ij}\):

$$\mathcal{L}_{\text{UMAP}} = \sum_{i \neq j} \left[ w_{ij} \ln \frac{w_{ij}}{q_{ij}} + (1 - w_{ij}) \ln \frac{1 - w_{ij}}{1 - q_{ij}} \right]$$

where \(w_{ij} = \exp\!\bigl(-({d(\phi_i, \phi_j) - \rho_i})/{\sigma_i}\bigr)\) captures local metric structure in the ambient space, with \(\texttt{n\_neighbors}=15\), \(\texttt{min\_dist}=0.1\), \(\texttt{metric}=\text{cosine}\).

Spherical projection

The 3D UMAP coordinates \(\mathbf{x}_i \in \mathbb{R}^3\) are centered and normalized onto the unit 2-sphere:

$$\hat{\mathbf{x}}_i = \frac{\mathbf{x}_i - \bar{\mathbf{x}}}{\|\mathbf{x}_i - \bar{\mathbf{x}}\|_2} \;\in\; S^2$$

This preserves angular relationships: semantically similar verses cluster into regions on the sphere, while distant passages occupy opposite hemispheres.

Cross-references

Arcs represent scholarly cross-references from the openbible.info dataset (Christoph Römhild, public domain). Each entry connects two verses identified by biblical scholars as linked via quotation, allusion, typological parallel, or prophecy–fulfillment, weighted by community vote count \(n_{\text{votes}}\). The homepage slider filters arcs by \(n_{\text{votes}} \geq \tau\), where \(\tau\) is user-selected.

Arc geometry

For two sphere points \(\hat{\mathbf{x}}_i, \hat{\mathbf{x}}_j \in S^2\), the arc midpoint is computed via normalized averaging and bowed outward by a height proportional to angular separation:

$$\mathbf{m}_{ij} = \frac{\hat{\mathbf{x}}_i + \hat{\mathbf{x}}_j}{\|\hat{\mathbf{x}}_i + \hat{\mathbf{x}}_j\|} \cdot (1 + h), \qquad h = h_{\min} + (h_{\max} - h_{\min}) \cdot \frac{\theta_{ij}}{\pi}$$

where \(\theta_{ij} = \arccos(\hat{\mathbf{x}}_i \cdot \hat{\mathbf{x}}_j)\) is the geodesic angular distance. This ensures short-range references hug the surface while long-range references arc prominently outward.

About search

The search bar performs real-time semantic retrieval using the same Bible-trained MPNet transformer that generates the sphere layout. The user's query \(q\) is encoded to a 768-dimensional embedding \(\phi(q)\) via ONNX Runtime Web, running the full 109M-parameter model directly in the browser (WASM backend).

Verse rankings are determined by cosine similarity in the embedding space:

$$\text{sim}(q, v_i) = \frac{\phi(q) \cdot \phi(v_i)}{\|\phi(q)\| \, \|\phi(v_i)\|} = \phi(q)^{\!\top} \hat\phi(v_i)$$

where \(\hat\phi(v_i)\) denotes the L2-normalised verse embedding (pre-computed and shipped as a 23.9 MB uint8-quantised binary). Since both query and verse vectors are normalised, the dot product is equivalent to cosine similarity. This is not keyword matching — it captures theological and semantic proximity: a query like "I feel lost" surfaces verses about wandering, despair, and seeking guidance, even when no query terms appear verbatim.

About Logos AI

How it works

Logos AI is powered by GPT-oss 120B, a 120-billion parameter open-source language model. All inference is routed through a private server. No conversation data is stored or logged.

Voices

Each voice shapes how the AI engages with Scripture and your questions:

  • C.S. Lewis — Clear and imaginative Christian apologetics that makes doctrine intellectually accessible and morally compelling.
  • Thomas Aquinas — Classical theological reasoning grounded in metaphysics, natural law, and the harmony of faith and reason.
  • Søren Kierkegaard — Existential Christian reflection that confronts complacency and calls for inward, lived commitment before God.

Privacy

Your conversations are not stored, logged, or used for training. All inference runs through a private endpoint with no data retention.

Holy Bible
Holy Bible
Translation
English translation
v.1 to
Loading model
Loading your own personal model locally — which takes a few seconds — so that your conversation is secure.
Choose your voice

Add Note

Filter by book
About Logos AI
All voices are based on GPT-oss 120B, a 120-billion parameter open-source language model. All inference is routed through a private server. No data is stored or logged. C.S. Lewis — Clear and imaginative Christian apologetics that makes doctrine intellectually accessible and morally compelling.
Thomas Aquinas — Classical theological reasoning grounded in metaphysics, natural law, and the harmony of faith and reason.
Søren Kierkegaard — Existential Christian reflection that confronts complacency and calls for inward, lived commitment before God.