Datasets:
input_ids listlengths 8.19k 8.19k | attention_mask listlengths 8.19k 8.19k | labels listlengths 8.19k 8.19k | token_start int32 0 460k | token_end int32 4.49k 469k | char_start int32 0 705k | char_end int32 6.5k 717k | pecha_id stringclasses 36
values | source_batch stringclasses 2
values | window_index int32 0 90 | n_tokens_doc int32 4.49k 469k | coverage_pct float64 0.01 2.01 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
2,
149239,
244727,
122663,
237937,
164570,
238277,
71710,
237304,
240789,
239791,
238277,
152582,
193387,
241211,
238458,
103158,
196829,
35773,
237831,
237819,
214374,
238321,
80716,
241295,
238627,
238034,
122663,
237937,
237304,
240789,
239791,
2377... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
1,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 0 | 8,190 | 0 | 11,905 | I0FCFA88F | new | 0 | 162,071 | 0.1537 |
[
2,
80716,
237819,
238451,
55610,
237831,
237819,
238277,
238679,
65616,
238627,
96625,
196829,
93673,
238547,
241027,
214374,
164570,
238277,
71710,
237819,
190316,
237819,
239791,
237780,
238679,
65616,
96625,
238451,
55610,
238321,
80716,
238134,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
-100,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | 5,120 | 13,310 | 7,312 | 19,719 | I0FCFA88F | new | 1 | 162,071 | 0.1537 |
[2,238627,175596,238134,241796,237937,35773,237937,237304,241796,238277,65616,236215,238451,219468,2(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | [-100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED) | 10,240 | 18,430 | 15,014 | 27,489 | I0FCFA88F | new | 2 | 162,071 | 0.1537 |
[2,241027,49513,164570,65616,96625,240594,237780,49513,238134,242610,103158,238808,83979,237819,8071(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | [-100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED) | 15,360 | 23,550 | 22,845 | 35,130 | I0FCFA88F | new | 3 | 162,071 | 0.1537 |
[2,238451,241211,238034,49513,238808,35773,237304,243472,239791,224669,118089,185434,237937,239791,2(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | [-100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED) | 20,480 | 28,670 | 30,580 | 42,693 | I0FCFA88F | new | 4 | 162,071 | 0.1537 |
[2,238277,71710,237831,240594,55610,237819,111066,237304,242610,49513,237937,96625,238679,242896,966(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | [-100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED) | 25,600 | 33,790 | 38,219 | 50,289 | I0FCFA88F | new | 5 | 162,071 | 0.1537 |
[2,238547,169526,241905,238458,83979,238547,241295,239791,224669,241198,111088,240767,214374,237831,(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | [-100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED) | 30,720 | 38,910 | 45,782 | 57,839 | I0FCFA88F | new | 6 | 162,071 | 0.1537 |
[2,237831,238627,238277,83979,118089,238451,224669,93673,240268,48790,237819,103158,237304,243947,12(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | [-100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED) | 35,840 | 44,030 | 53,296 | 65,429 | I0FCFA88F | new | 7 | 162,071 | 0.1537 |
[2,103158,238679,65616,238034,122663,196829,238627,219468,238451,48790,238547,214310,238277,238321,2(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | [-100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED) | 40,960 | 49,150 | 60,890 | 73,065 | I0FCFA88F | new | 8 | 162,071 | 0.1537 |
[2,242610,103158,238134,240980,238034,80716,237831,48790,238134,243259,238034,238679,65616,35773,237(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | [-100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(...TRUNCATED) | 46,080 | 54,270 | 68,442 | 80,554 | I0FCFA88F | new | 9 | 162,071 | 0.1537 |
Bo-Chapter-Benchmark
The public test set for the Chapter layer (ལེའུ་, chapter and section headings) of Tibetan Buddhist books: 36 books, 940 windows, 258 Chapter spans. Score a model on it and compare with others on the same books. The training and validation data are not published.
Format
| item | value |
|---|---|
| tokenizer | jhu-clsp/mmBERT-base (fast, with offsets) |
| labels | O = 0, B-CHAPTER = 1, I-CHAPTER = 2; CLS, SEP and padding = -100 |
| columns | input_ids, attention_mask, labels, token_start, token_end, char_start, char_end, pecha_id, source_batch, window_index, n_tokens_doc, coverage_pct |
A window holds 8,192 tokens (8,190 content tokens plus CLS and SEP) and starts every 5,120 tokens, so consecutive windows overlap by 3,070 content tokens. Tokens in the overlap are labelled in both windows. token_start and token_end give the window's token range in the book, and char_start and char_end its character range. source_batch is old or new (the two annotation batches).
The test set
One split, test, made of whole books (a book is never split across train and test).
| split | books | old / new books | windows | Chapter spans | spans per window |
|---|---|---|---|---|---|
| test | 36 | 16 / 20 | 940 | 258 | 0.274 |
Books config (plain text)
The default config holds token ids for jhu-clsp/mmBERT-base. To score a model with a different tokenizer, or an LLM, use the books config: one row per book with the exact text and the gold spans.
| Column | Meaning |
|---|---|
pecha_id |
the book |
source_batch |
old or new (the two annotation batches) |
text |
the full text of the book |
doc_chars |
length of the text in characters |
spans |
the gold spans: a list of {id, start, end} |
start is the first character of the span and end is one past its last character, so the span is text[start:end]. These are the same offsets as char_start and char_end in the window rows. Tokenizing text with jhu-clsp/mmBERT-base and labelling it with the spans gives back the window rows exactly (token ids and labels).
from datasets import load_dataset
books = load_dataset("BDRC/Bo-Chapter-Benchmark", "books", split="test")
Scoring
Span precision, recall and F1 at IoU >= 0.5, greedy one-to-one matching, with character offsets and an inclusive end. The scoring code is in the GitHub repository. Score the test set once, after you have chosen your model on your own validation data.
Data source
Source texts are BDRC books in OpenPecha .opf format; the Chapter spans come from the Chapter layer of those books, after the span cleaning described in the GitHub repository.
Citation
@misc{bo_chapter_benchmark,
title = {Bo-Chapter-Benchmark: Tibetan chapter-heading test set},
author = {Yonten, Tenzin},
year = {2026},
url = {https://huggingface.co/datasets/BDRC/Bo-Chapter-Benchmark}
}
Acknowledgements
Source texts were digitized and made available by the Buddhist Digital Resource Center (BDRC). We gratefully acknowledge BDRC. Annotations were prepared through OpenPecha with support from the Tsadra Foundation.
- Downloads last month
- 52