Datasets:
File size: 2,860 Bytes
3e52551 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | ---
license: mit
pretty_name: Bo-Sabche-Benchmark
language:
- bo
task_categories:
- token-classification
tags:
- tibetan
- sabche
- bio
- mmbert
- openpecha
- benchmark
configs:
- config_name: default
data_files:
- split: test
path: data/test-*
---
# Bo-Sabche-Benchmark
The public test set for finding **Sabche** (ས་བཅད་, outline heading) spans in Tibetan Buddhist texts: 29 books, 963 windows, 4,079 spans. Score a model on it and compare with others on the same books. The training and validation data are not published.
A Sabche span is the heading phrase itself (for example a numbered outline line), stopping just before the closing shad, not the section under it.
## Format
| item | value |
|---|---|
| Tokenizer | `jhu-clsp/mmBERT-base` (fast, offsets) |
| Window / stride | 8,192 tokens (8,190 content + CLS/SEP) / 5,120 between window starts |
| Labels | `O`=0, `B-SABCHE`=1, `I-SABCHE`=2; CLS/SEP/pad = -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` |
| Offsets | `char_start`/`char_end` are start-inclusive, end-exclusive (`text[start:end]`). The scoring code in the GitHub repository uses an inclusive end instead, so convert with `end - 1`. |
Consecutive windows overlap by 3,070 content tokens; tokens in the overlap are labelled in both windows.
## The test set
One split, `test`, made of whole books. Books are grouped before the split, so that no book sharing a long heading verbatim with another book, or belonging to the same source outline group, crosses a split.
| Books | Windows | Spans |
|---:|---:|---:|
| 29 | 963 | 4,079 |
## Scoring
Span precision, recall and F1 at IoU >= 0.5, greedy one-to-one matching, with Viterbi decoding and inclusive offsets. The scoring code is in the [GitHub repository](https://github.com/tenzinyonten/tibetan-layer-detection/tree/main/sabche). Score the test set once, after you have chosen your model on your own validation data.
## Data source
Headings were annotated through OpenPecha over two annotation batches, told apart by `pecha_id` prefix and carried as `source_batch`. The spans are the annotators' spans after the cleaning described in the GitHub repository.
## Citation
```bibtex
@misc{bo_sabche_benchmark,
title = {Bo-Sabche-Benchmark: Tibetan outline-heading (sabche) test set},
author = {Yontenn},
year = {2026},
url = {https://huggingface.co/datasets/BDRC/Bo-Sabche-Benchmark}
}
```
## Acknowledgements
Source texts were digitized and made available by the [Buddhist Digital Resource Center (BDRC)](https://www.bdrc.io/). We gratefully acknowledge BDRC. Annotations were prepared through [OpenPecha](https://openpecha.org/) with support from the [Tsadra Foundation](https://www.tsadra.org/).
|