Dataset Viewer
Auto-converted to Parquet Duplicate
book_id
stringlengths
7
9
title
stringlengths
20
120
text
stringlengths
54.3k
751k
doc_chars
int64
54.3k
751k
batch
stringclasses
2 values
source_layer
stringclasses
2 values
density
float64
2.48
26.2
density_bucket
stringclasses
4 values
spans
listlengths
36
235
I0B81CD66
"ཟབ་མོ་ནང་དོན་གྱི་རྣམ་བཤད་སྙིང་པོ་(...TRUNCATED)
"བློ་གྲོས་མཐའ་ཡས་པའི་མཛོད།\nདེབ་ཕྲེ(...TRUNCATED)
347,591
new
Citation
3.14
3-8%
[{"start":6610,"end":6759,"cls":"TEXT","closed":true,"seen_in_train":false},{"start":7099,"end":7154(...TRUNCATED)
I1DCBD5CC
"༄༅། །ཕྱག་རྒྱ་ཆེན་པོའི་སྨོན་ལམ་གྱི(...TRUNCATED)
"༄༅། །ཕྱག་རྒྱ་ཆེན་པོའི་སྨོན་ལམ་གྱི(...TRUNCATED)
151,607
new
Citation
8.88
8-15%
[{"start":3874,"end":3901,"cls":"MISC","closed":true,"seen_in_train":false},{"start":4052,"end":4378(...TRUNCATED)
I27E347E9
བདེ་མཆོག་གི་རྣམ་བཤད།
"དྭགས་བརྒྱུད་སྒྲུབ་པའི་ཐེམ་སྐས་གདམ(...TRUNCATED)
402,984
new
Citation
6.6
3-8%
[{"start":3821,"end":3934,"cls":"TEXT","closed":true,"seen_in_train":true},{"start":4593,"end":4855,(...TRUNCATED)
I44B84506
༄༅། །འབྲི་གུང་ཚོགས་ཆོས་ཆེན་མོ།
"༄༅། །འབྲི་གུང་ཚོགས་ཆོས་ཆེན་མོ།\n༼ཚོ(...TRUNCATED)
209,052
new
Citation
8.73
8-15%
[{"start":4839,"end":4951,"cls":"MISC","closed":true,"seen_in_train":false},{"start":5247,"end":5372(...TRUNCATED)
I88977D82
"དཀོན་མཆོག་སྤྱི་འདུས་འགྲེལ་བ་གཅེས་(...TRUNCATED)
"1) དཀོན་མཆོག་སྤྱི་འདུས་ཀྱི་ཁྲིད་ཡིག(...TRUNCATED)
244,713
new
Citation
6.03
3-8%
[{"start":7482,"end":7967,"cls":"MISC","closed":false,"seen_in_train":false},{"start":49704,"end":50(...TRUNCATED)
I97B90DC0
བདེ་མཆོག་གི་ཟིན་བྲིས་གཅེས་བཏུས།
"དྭགས་བརྒྱུད་སྒྲུབ་པའི་ཐེམ་སྐས་གདམ(...TRUNCATED)
301,570
new
Citation
7.37
3-8%
[{"start":3676,"end":3789,"cls":"TEXT","closed":true,"seen_in_train":true},{"start":4447,"end":4709,(...TRUNCATED)
IA736981A
"༈ དབུ་རྫོགས་ཕྱག་གསུམ་གྱི་ལྟ་སྒོམ་(...TRUNCATED)
"\n\n༈ དབུ་རྫོགས་ཕྱག་གསུམ་གྱི་ལྟ་སྒོམ(...TRUNCATED)
58,044
new
Citation
12.66
8-15%
[{"start":7881,"end":7965,"cls":"TEXT","closed":true,"seen_in_train":false},{"start":8561,"end":8638(...TRUNCATED)
IB8D599AA
"ལམ་མཆོག་རིན་ཆེན་ཕྲེང་བའི་འགྲེལ་བ།(...TRUNCATED)
"ལམ་མཆོག་རིན་ཆེན་ཕྲེང་བའི་འགྲེལ་པ་(...TRUNCATED)
388,143
new
Citation
4.03
3-8%
[{"start":31214,"end":31252,"cls":"TEXT","closed":true,"seen_in_train":false},{"start":31286,"end":3(...TRUNCATED)
IC05A6BE0
"༄༅། །དགོངས་གཅིག་གསལ་བྱེད་ལུང་རིགས(...TRUNCATED)
"༄༅། །དགོངས་གཅིག་གསལ་བྱེད་ལུང་རིགས(...TRUNCATED)
126,988
new
Citation
26.21
>=15%
[{"start":144,"end":646,"cls":"PERSON","closed":false,"seen_in_train":false},{"start":2234,"end":235(...TRUNCATED)
IE3ACE254
"ཤེས་རབ་ཀྱི་ཕ་རོལ་ཏུ་ཕྱིན་པའི་མན་ང(...TRUNCATED)
"༄༅། །ཤེས་རབ་ཀྱི་ཕ་རོལ་ཏུ་ཕྱིན་པའི(...TRUNCATED)
751,000
new
Citation
2.48
1-3%
[{"start":9041,"end":9114,"cls":"TEXT","closed":true,"seen_in_train":false},{"start":9920,"end":1005(...TRUNCATED)
End of preview. Expand in Data Studio

Bo-Quotation-Benchmark

The public test set for finding quotation spans in classical Tibetan commentaries: 19 books, 2,337 human-reviewed quotation spans (2,398 after a second, span-by-span review). Score a model on it and compare with others on the same books. The training and validation data are not published.

Character offsets are inclusive on both ends: the span is text[start:end+1].

Configs

All configs have one split, test, made of the same 19 books.

Config What it holds
default one row per book: text and the original gold spans (2,337)
reviewed_test the same books with the reviewed gold spans (2,398), see "Reviewed gold"
windowed_w8192_s4579_bioe 657 windows of 8,192 tokens, BIOE labels, original gold
windowed_w8192_s4579_bioe_reviewed the same windows, labels from the reviewed gold

Book-level rows (test.jsonl, reviewed/test.jsonl):

Column Meaning
book_id the book
title the book's title
text the full text
doc_chars length of the text in characters
batch source batch: old or new
source_layer the OpenPecha layer the spans came from: Quotation or Citation
density, density_bucket share of the text inside quotations, and its band
spans the quotation spans (below)

Each span has start and end (inclusive), cls (the quote type: TEXT, PERSON, MISC, FORMULA or CHAINED), closed (whether the span ends with an explicit closing marker) and seen_in_train (whether the same text also occurs in the training books).

Windowed rows: book_id, window_index, input_ids, attention_mask, labels and offset_mapping. Labels are O=0, B-QUOTE=1, I-QUOTE=2, E-QUOTE=3. All quote types collapse to one QUOTE label. Tokenizer jhu-clsp/mmBERT-base, window 8,192 tokens, step 4,579. Each overlapped token is labelled in only one window (the first); elsewhere it is -100. Joining each book's owned tokens in window_index order rebuilds the book exactly, so stitching for inference or scoring is safe.

The test set

Books Spans TEXT PERSON MISC Density Old batch
19 2,337 57.1% 15.4% 18.8% 7.50% 38.9%

The books were chosen at random by book, stratified by quote type, density band and source batch. The quote type of each span is not hand-labelled: it is set by rule from the words that introduce the span.

The same quotation can appear in different books, because commentaries quote the same scriptures. Every span carries a seen_in_train flag. Report two scores: overall, and seen_in_train == false only. The gap shows how much a model relies on memorised quotes.

Reviewed gold

All 19 books were checked by human reviewers, span by span. Each original span was accepted as is, had its edges corrected, or was removed, and reviewers added quotations the first annotators missed.

count
spans accepted unchanged 2281
spans with corrected edges 106
spans added 82
spans removed 27
quotations before review (merged) 2337
quotations after review (merged) 2398
identical before and after 2211

Same conventions as the original set. Each reviewed span also has review (accepted / edited / added) and cls_source (where its marker class came from; added spans have no original class). In the two windowed configs, input ids, offsets and the ownership mask are identical; only labels differ, so a score on the two shows how much the gold change moved it. Per-book changes: reviewed/review_report.md; raw numbers: reviewed/stats.json.

Loading

from datasets import load_dataset
books = load_dataset("BDRC/Bo-Quotation-Benchmark", split="test")
reviewed = load_dataset("BDRC/Bo-Quotation-Benchmark", "reviewed_test", split="test")

For the windowed configs load the parquet files directly:

windows = load_dataset("parquet", data_files={
    "test": "hf://datasets/BDRC/Bo-Quotation-Benchmark/windowed_w8192_s4579_bioe/test/*.parquet"})["test"]

Scoring

Span precision, recall and F1 at IoU >= 0.5. Score the test set once, after you have chosen your model on your own validation data. The scoring code is in the GitHub repository.

Citation

@misc{tibetan_quotation_benchmark,
  title  = {Bo-Quotation-Benchmark: Tibetan quotation test set},
  author = {karma689},
  year   = {2026},
  url    = {https://huggingface.co/datasets/BDRC/Bo-Quotation-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
-