Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
21
53
reference
stringlengths
7
25
volume
stringclasses
5 values
book
stringclasses
87 values
chapter
int32
1
150
verse
int32
1
176
verse_text
stringlengths
11
1.17k
chapter_context
stringlengths
294
742
contextual_text
stringlengths
380
1.91k
embedding
list
old-testament_1-chronicles_1_1
1 Chronicles 1:1
Old Testament
1 Chronicles
1
1
Adam, Sheth, Enosh,
The following passage is from **1 Chronicles 1:1** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s descendants thr...
**Context**: "The following passage is from **1 Chronicles 1:1** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s d...
[ 0.03246798366308212, -0.0656515583395958, -0.009001081809401512, -0.0022410086821764708, 0.023724250495433807, -0.021786926314234734, -0.0283062681555748, -0.010953542776405811, -0.04023648053407669, -0.04847114160656929, 0.028987448662519455, 0.031170928850769997, 0.007775858510285616, 0....
old-testament_1-chronicles_1_2
1 Chronicles 1:2
Old Testament
1 Chronicles
1
2
Kenan, Mahalaleel, Jered,
The following passage is from **1 Chronicles 1:2** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s descendants thr...
**Context**: "The following passage is from **1 Chronicles 1:2** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s d...
[ 0.05082445219159126, -0.01892787404358387, -0.004924236796796322, 0.011877045035362244, 0.02757718786597252, -0.03960557281970978, -0.018491579219698906, 0.01708829775452614, -0.06347017735242844, -0.008784293197095394, 0.0006494547124020755, 0.02958442084491253, -0.039139531552791595, -0....
old-testament_1-chronicles_1_3
1 Chronicles 1:3
Old Testament
1 Chronicles
1
3
Henoch, Methuselah, Lamech,
The following passage is from **1 Chronicles 1:3** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s descendants thr...
**Context**: "The following passage is from **1 Chronicles 1:3** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s d...
[ 0.008967348374426365, -0.03605521842837334, -0.007194031961262226, -0.014996406622231007, 0.007763982284814119, -0.04292014613747597, -0.023195840418338776, 0.031251177191734314, -0.028055500239133835, -0.05991898477077484, 0.024509308859705925, 0.009215985424816608, 0.006250775419175625, ...
old-testament_1-chronicles_1_4
1 Chronicles 1:4
Old Testament
1 Chronicles
1
4
Noah, Shem, Ham, and Japheth.
The following passage is from **1 Chronicles 1:4** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s descendants thr...
**Context**: "The following passage is from **1 Chronicles 1:4** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s d...
[ 0.0032314485870301723, -0.05274418741464615, 0.003673054976388812, 0.010648055002093315, 0.022224849089980125, -0.03044324740767479, -0.03370920196175575, 0.008371980860829353, -0.04546714201569557, -0.03133157640695572, -0.030582774430513382, 0.02539180777966976, -0.004366734996438026, -0...
old-testament_1-chronicles_1_5
1 Chronicles 1:5
Old Testament
1 Chronicles
1
5
The sons of Japheth; Gomer, and Magog, and Madai, and Javan, and Tubal, and Meshech, and Tiras.
The following passage is from **1 Chronicles 1:5** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s descendants thr...
**Context**: "The following passage is from **1 Chronicles 1:5** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s d...
[ 0.03115743212401867, -0.05278041586279869, -0.00005572455484070815, 0.014310747385025024, 0.029082991182804108, -0.019704114645719528, -0.019420571625232697, 0.01631043665111065, -0.02682589739561081, -0.031587474048137665, -0.019444312900304794, -0.010746507905423641, -0.024568995460867882,...
old-testament_1-chronicles_1_6
1 Chronicles 1:6
Old Testament
1 Chronicles
1
6
And the sons of Gomer; Ashchenaz, and Riphath, and Togarmah.
The following passage is from **1 Chronicles 1:6** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s descendants thr...
**Context**: "The following passage is from **1 Chronicles 1:6** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s d...
[ 0.02122863009572029, -0.004526270087808371, 0.0008352895965799689, -0.011153698898851871, 0.035908542573451996, -0.004515314474701881, 0.006200958974659443, -0.001215494703501463, 0.0005255979485809803, -0.028163621202111244, -0.027488237246870995, 0.010449505411088467, -0.02333451621234417,...
old-testament_1-chronicles_1_7
1 Chronicles 1:7
Old Testament
1 Chronicles
1
7
And the sons of Javan; Elishah, and Tarshish, Kittim, and Dodanim.
The following passage is from **1 Chronicles 1:7** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s descendants thr...
**Context**: "The following passage is from **1 Chronicles 1:7** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s d...
[ 0.05493399128317833, -0.03330094367265701, -0.0004456831084098667, 0.039944618940353394, 0.04359752684831619, 0.0008323161164298654, -0.03476409241557121, 0.02754398249089718, -0.04270431399345398, -0.026726143434643745, -0.04773787409067154, 0.016584448516368866, 0.008744523860514164, -0....
old-testament_1-chronicles_1_8
1 Chronicles 1:8
Old Testament
1 Chronicles
1
8
The sons of Ham; Cush, and Mizraim, Put, and Canaan.
The following passage is from **1 Chronicles 1:8** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s descendants thr...
**Context**: "The following passage is from **1 Chronicles 1:8** from the **Old Testament**. This chapter contains 54 verses and records genealogies from Adam through Noah’s sons and their descendants, listing the lines of Japheth, Ham (including Nimrod and Philistine origins), and Shem to Abraham. It names Abraham’s d...
[ 0.011838304810225964, -0.061597790569067, 0.013377588242292404, 0.035276226699352264, 0.04491652920842171, -0.0240059532225132, -0.05663762986660004, -0.03423384204506874, -0.02210305817425251, -0.03311585262417793, -0.033536434173583984, -0.006024635396897793, 0.0384899377822876, 0.008459...
old-testament_1-chronicles_1_9
1 Chronicles 1:9
Old Testament
1 Chronicles
1
9
"And the sons of Cush; Seba, and Havilah, and Sabta, and Raamah, and Sabtecha. And the sons of Raama(...TRUNCATED)
"The following passage is from **1 Chronicles 1:9** from the **Old Testament**. This chapter contain(...TRUNCATED)
"**Context**: \"The following passage is from **1 Chronicles 1:9** from the **Old Testament**. This (...TRUNCATED)
[0.027562376111745834,-0.06287812441587448,0.0023045234847813845,0.0009376593516208231,0.06626965850(...TRUNCATED)
old-testament_1-chronicles_1_10
1 Chronicles 1:10
Old Testament
1 Chronicles
1
10
And Cush begat Nimrod: he began to be mighty upon the earth.
"The following passage is from **1 Chronicles 1:10** from the **Old Testament**. This chapter contai(...TRUNCATED)
"**Context**: \"The following passage is from **1 Chronicles 1:10** from the **Old Testament**. This(...TRUNCATED)
[0.0011586493346840143,-0.0601775199174881,0.034686338156461716,0.015615959651768208,-0.006328179035(...TRUNCATED)
End of preview. Expand in Data Studio

ZaraEmbeddings

Standard Works contextual embeddings from ZaraEmbed. This dataset holds 41,995 verses from the Standard Works of The Church of Jesus Christ of Latter-day Saints. Each verse comes with a generated chapter-context block and a 1024-dimension ZaraEmbed embedding of the context and verse together. It is a ready-made index for semantic search and retrieval-augmented question answering over the Standard Works, with no embedding API needed.

Trained and prepared by Brigham Young University-Idaho on public-domain text. Chapter headings, footnotes and Church study aids were not used.

ZaraAI family

Part of ZaraAI, BYU-Idaho's scripture-native model collection:

Item Role
BYU-Idaho/ZaraBERTa Cased, scripture-native language model
BYU-Idaho/ZaraEmbed Verse embedder that produced this dataset's vectors
BYU-Idaho/ZaraRerank Cross-encoder reranker for ZaraEmbed's top 100

Purpose

These models and data are released for research on scripture and on domain-specific language models. They are also released as aids for personal scripture study. They are offered in the hope that they help readers find and understand the Book of Mormon, and come unto Christ.

What is in it

Column Type Description
id string Stable identifier, for example book-of-mormon_1-nephi_3_7
reference string Human-readable citation, for example 1 Nephi 3:7
volume string One of the five volumes (distribution below)
book string Book name, for example 1 Nephi, Isaiah, Doctrine and Covenants
chapter int32 Chapter or section number
verse int32 Verse number
verse_text string The verse alone, with no additions
chapter_context string Generated summary of the chapter this verse belongs to
contextual_text string The context and verse block that was embedded
embedding list[float32] (1024) ZaraEmbed over contextual_text, mean pooled and L2-normalised
Volume Verses
Old Testament 23,145
New Testament 7,957
Book of Mormon 6,604
Doctrine and Covenants 3,654
Pearl of Great Price 635
Total 41,995

Usage

Embed questions with ZaraEmbed the same way the verses were embedded: prefix a single space, mean-pool last_hidden_state over real tokens, then L2-normalise. Questions use up to 160 tokens. Because the vectors are normalised, cosine similarity is a dot product.

import numpy as np, torch, torch.nn.functional as F
from datasets import load_dataset
from transformers import AutoTokenizer, AutoModel

ds = load_dataset("BYU-Idaho/ZaraEmbeddings", split="train")
V = np.asarray(ds["embedding"], dtype=np.float32)            # (41995, 1024)

tok = AutoTokenizer.from_pretrained("BYU-Idaho/ZaraEmbed")
model = AutoModel.from_pretrained("BYU-Idaho/ZaraEmbed", add_pooling_layer=False).eval()

def embed(q):
    batch = tok([" " + q], truncation=True, max_length=160, return_tensors="pt")
    with torch.no_grad():
        h = model(**batch).last_hidden_state
    m = batch["attention_mask"].unsqueeze(-1).to(h.dtype)
    return F.normalize((h * m).sum(1) / m.sum(1), dim=-1)[0].numpy()

scores = V @ embed("Who were the people Mosiah found living in Zarahemla?")
for i in np.argsort(-scores)[:5]:
    print(ds[int(i)]["reference"], round(float(scores[i]), 3))

To rerank, pass the top 100 verses' verse_text to ZaraRerank. The reranker was trained on bare verse text, not on contextual_text.

How the contextual vectors compare

Right verse first (top-1). The no-names test holds 289 questions on 37 Book of Mormon, D&C and Pearl of Great Price chapters that no ZaraEmbed training pair touched, with no names or distinctive words from the verse. The human benchmark holds 152 human-written study questions across all five volumes.

Test ZaraEmbed, bare verses ZaraEmbed, contextual (this dataset) OpenAI, contextual
No-names (289) 191 203 94
Human benchmark (152) 92 94 120
Human benchmark, Restoration questions (63) 36 37 41

Context helps ZaraEmbed a little on both tests. On the human benchmark, OpenAI's contextual embeddings still lead, mostly on Bible questions. The story-style held-out test is left out of this table because its questions were written from the same chapter summaries that contextual_text contains, which would inflate the contextual scores.

Limitations and responsible use

  • These are study aids, not doctrinal authorities, and they are not an official publication of The Church of Jesus Christ of Latter-day Saints.
  • Retrieval scores measure textual relevance, not interpretation; read every verse in its context.
  • The chapter summaries are model-generated and interpretive. Do not quote them as scripture or as commentary.
  • Every verse in a chapter shares one summary, so verses within a chapter are harder to tell apart. ZaraRerank, which reads bare verse text, helps separate them.
  • Results come from a single training seed, and the held-out questions were written by a language model.

Provenance and license

  • Verse text comes from public-domain editions. Chapter headings, footnotes, cross-references and study aids were excluded.
  • chapter_context is generated summary text created for the source dataset, not taken from any published commentary.
  • Embeddings were produced with ZaraEmbed over contextual_text at up to 256 tokens. Four rows were re-embedded on CPU as a check and matched the stored vectors at cosine 0.9999 or higher.

Trained and evaluated by Brigham Young University-Idaho, 2026. Released under CC BY 4.0. Verse text is public domain; the license covers the chapter summaries, embeddings and dataset arrangement. ZaraEmbed itself is MIT licensed.

Citation

@misc{zaraembeddings_2026,
  title  = {ZaraEmbeddings: Standard Works contextual embeddings from ZaraEmbed},
  author = {Vallejo, Ron and Brigham Young University-Idaho},
  year   = {2026},
  url    = {https://huggingface.co/datasets/BYU-Idaho/ZaraEmbeddings}
}
Downloads last month
31

Collection including BYU-Idaho/ZaraEmbeddings