Datasets:
Benchmark: test split
Browse files- README.md +69 -0
- data/test-00000-of-00001.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pretty_name: Bo-Title-Benchmark
|
| 4 |
+
language:
|
| 5 |
+
- bo
|
| 6 |
+
task_categories:
|
| 7 |
+
- token-classification
|
| 8 |
+
tags:
|
| 9 |
+
- tibetan
|
| 10 |
+
- title
|
| 11 |
+
- bio
|
| 12 |
+
- mmbert
|
| 13 |
+
- benchmark
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: default
|
| 16 |
+
data_files:
|
| 17 |
+
- split: test
|
| 18 |
+
path: data/test-*
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Bo-Title-Benchmark
|
| 22 |
+
|
| 23 |
+
The public test set for finding the **title** of a Tibetan work: 2,384 works, each cropped to its first and last 3,000 characters. Score a model on it and compare with others on the same works. The training and validation data are not published.
|
| 24 |
+
|
| 25 |
+
It is the title version of the joint title/author test data: the same works, with only the title labelled and the other one counted as "other" (`O`). The author version is `BDRC/Bo-Author-Benchmark`.
|
| 26 |
+
|
| 27 |
+
## Format
|
| 28 |
+
|
| 29 |
+
Tokenized with `jhu-clsp/mmBERT-base`. Labels (`label_map.json`): `O` = 0, `B-TITLE` = 1, `I-TITLE` = 2. Special tokens and padding are -100. A token gets B if a span starts in it, I for the following tokens of the span.
|
| 30 |
+
|
| 31 |
+
Each work is cropped to its first and last ~3,000 characters (edges moved to a line break; the whole work if 6,000 characters or fewer; a span is never cut). One sequence per work is `[CLS] head [SEP] tail [SEP]`; the label at the SEP is -100. Windows are up to 8,192 tokens (about 2,000 in practice).
|
| 32 |
+
|
| 33 |
+
Columns: `input_ids`, `attention_mask`, `labels`, `token_start`, `token_end`, `char_start`, `char_end`, `work_id`, `cid` (collection id), `source`, `region` (full/head/tail), `region_start`, `window_index`, `n_tokens_region`.
|
| 34 |
+
|
| 35 |
+
## The test set
|
| 36 |
+
|
| 37 |
+
One split, `test`. One row per work, so rows and works are the same. Copies of the same work were removed before the split, and no work in the test set is a copy of a training work. Every span is from a human annotator.
|
| 38 |
+
|
| 39 |
+
Label counts (tokens): `B-TITLE` 2,384 and `I-TITLE` 85,505.
|
| 40 |
+
|
| 41 |
+
| source | works | text origin |
|
| 42 |
+
|---|---|---|
|
| 43 |
+
| tei | 484 | BDRC e-text (TEI), human-typed |
|
| 44 |
+
| google_books | 349 | Google Books text |
|
| 45 |
+
| google_vision | 225 | Google Vision OCR |
|
| 46 |
+
| paddleocr_v2 | 640 | PaddleOCR |
|
| 47 |
+
| ocr_qwen_v1 | 341 | OCR (`ocr_qwen_v1` pipeline) |
|
| 48 |
+
| ocrv1-ws-ldv1 | 226 | OCR (`ocrv1-ws-ldv1` pipeline) |
|
| 49 |
+
| paddleocr_v1 | 119 | PaddleOCR (first version) |
|
| 50 |
+
| **all** | **2,384** | |
|
| 51 |
+
|
| 52 |
+
## Scoring
|
| 53 |
+
|
| 54 |
+
Span precision, recall and F1 at IoU >= 0.5, with Viterbi decoding. Overlapping title and author spans: the title wins. The scoring code is in the [GitHub repository](https://github.com/tenzinyonten/tibetan-layer-detection/tree/main/title_author). Score the test set once, after you have chosen your model on your own validation data.
|
| 55 |
+
|
| 56 |
+
## Citation
|
| 57 |
+
|
| 58 |
+
```bibtex
|
| 59 |
+
@misc{bo_title_benchmark,
|
| 60 |
+
title = {Bo-Title-Benchmark: Tibetan title test set},
|
| 61 |
+
author = {Yontenn},
|
| 62 |
+
year = {2026},
|
| 63 |
+
url = {https://huggingface.co/datasets/BDRC/Bo-Title-Benchmark}
|
| 64 |
+
}
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
## Acknowledgements
|
| 68 |
+
|
| 69 |
+
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/).
|
data/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6257595c19f8a7b8f40e92edd9652772b6f266c493753e83d9c1046de918110
|
| 3 |
+
size 6209245
|