Yontenn commited on
Commit
6b97955
·
verified ·
1 Parent(s): ec4c410

Benchmark: test split

Browse files
Files changed (2) hide show
  1. README.md +66 -0
  2. data/test-00000-of-00001.parquet +3 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pretty_name: Bo-Chapter-Benchmark
4
+ language:
5
+ - bo
6
+ task_categories:
7
+ - token-classification
8
+ tags:
9
+ - tibetan
10
+ - chapter
11
+ - layer-detection
12
+ - bio
13
+ - mmbert
14
+ - openpecha
15
+ - benchmark
16
+ configs:
17
+ - config_name: default
18
+ data_files:
19
+ - split: test
20
+ path: data/test-*
21
+ ---
22
+
23
+ # Bo-Chapter-Benchmark
24
+
25
+ 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.
26
+
27
+ ## Format
28
+
29
+ | item | value |
30
+ |---|---|
31
+ | tokenizer | `jhu-clsp/mmBERT-base` (fast, with offsets) |
32
+ | labels | `O` = 0, `B-CHAPTER` = 1, `I-CHAPTER` = 2; CLS, SEP and padding = -100 |
33
+ | 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` |
34
+
35
+ 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).
36
+
37
+ ## The test set
38
+
39
+ One split, `test`, made of whole books (a book is never split across train and test).
40
+
41
+ | split | books | old / new books | windows | Chapter spans | spans per window |
42
+ |---|---|---|---|---|---|
43
+ | test | 36 | 16 / 20 | 940 | 258 | 0.274 |
44
+
45
+ ## Scoring
46
+
47
+ 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](https://github.com/tenzinyonten/tibetan-layer-detection/tree/main/chapter). Score the test set once, after you have chosen your model on your own validation data.
48
+
49
+ ## Data source
50
+
51
+ 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.
52
+
53
+ ## Citation
54
+
55
+ ```bibtex
56
+ @misc{bo_chapter_benchmark,
57
+ title = {Bo-Chapter-Benchmark: Tibetan chapter-heading test set},
58
+ author = {Yonten, Tenzin},
59
+ year = {2026},
60
+ url = {https://huggingface.co/datasets/BDRC/Bo-Chapter-Benchmark}
61
+ }
62
+ ```
63
+
64
+ ## Acknowledgements
65
+
66
+ 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:88775a2ab496f8bb927c1361bef2ab5574d0ac104cc67baf4773f9d409a4d47b
3
+ size 3831435