Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,26 +1,20 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
| 2 |
license: mit
|
| 3 |
task_categories:
|
| 4 |
- image-classification
|
| 5 |
-
language:
|
| 6 |
-
- bo
|
| 7 |
tags:
|
| 8 |
- tibetan
|
| 9 |
- manuscript
|
| 10 |
- script-classification
|
| 11 |
-
- bdrc
|
| 12 |
- benchmark
|
|
|
|
|
|
|
| 13 |
size_categories:
|
| 14 |
- n<1K
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
data_files:
|
| 18 |
-
- split: test
|
| 19 |
-
path: "test-*.parquet"
|
| 20 |
-
splits:
|
| 21 |
-
- name: test
|
| 22 |
-
num_examples: 360
|
| 23 |
-
features:
|
| 24 |
- name: id
|
| 25 |
dtype: string
|
| 26 |
- name: image_bytes
|
|
@@ -35,46 +29,74 @@ configs:
|
|
| 35 |
'3': Pedri
|
| 36 |
'4': Tsugdri
|
| 37 |
'5': Uchen
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
---
|
| 41 |
|
| 42 |
-
#
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
[Buddhist Digital Resource Center](https://www.bdrc.io) (BDRC).
|
| 47 |
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
-
|
| 51 |
|
| 52 |
-
|
| 53 |
-
|-------|-------:|------:|-------------------|
|
| 54 |
-
| Danyig | 60 | 57 | DraDring: 26 / DraRing: 8 / Drathung: 17 / Gongshabma: 3 / Tsegdrig: 6 |
|
| 55 |
-
| Druma | 60 | 54 | Dhumri: 22 / DruDring: 20 / DruRing: 10 / Druchen: 2 / Druthung: 6 |
|
| 56 |
-
| Gyuyig | 60 | 57 | Khyuyig: 31 / Tsumachug: 15 / Yigchung: 14 |
|
| 57 |
-
| Pedri | 60 | 60 | Peri: 44 / Petsuk: 16 |
|
| 58 |
-
| Tsugdri | 60 | 55 | Trinyig: 36 / Tsugchung: 14 / Tsugthung: 10 |
|
| 59 |
-
| Uchen | 60 | 57 | Uchen SugDring: 53 / Uchen SugRing: 3 / Uchen Sugthung: 4 |
|
| 60 |
-
| **Total** | **360** | | |
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
-
##
|
| 66 |
|
| 67 |
```python
|
| 68 |
from datasets import load_dataset
|
| 69 |
|
| 70 |
ds = load_dataset("BDRC/tibetan-script-classification-benchmark", split="test")
|
| 71 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
```
|
| 73 |
|
| 74 |
-
##
|
| 75 |
|
| 76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
## Acknowledgements
|
| 79 |
|
| 80 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- bo
|
| 4 |
license: mit
|
| 5 |
task_categories:
|
| 6 |
- image-classification
|
|
|
|
|
|
|
| 7 |
tags:
|
| 8 |
- tibetan
|
| 9 |
- manuscript
|
| 10 |
- script-classification
|
|
|
|
| 11 |
- benchmark
|
| 12 |
+
- bdrc
|
| 13 |
+
pretty_name: Tibetan Script Classification Benchmark
|
| 14 |
size_categories:
|
| 15 |
- n<1K
|
| 16 |
+
dataset_info:
|
| 17 |
+
features:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
- name: id
|
| 19 |
dtype: string
|
| 20 |
- name: image_bytes
|
|
|
|
| 29 |
'3': Pedri
|
| 30 |
'4': Tsugdri
|
| 31 |
'5': Uchen
|
| 32 |
+
splits:
|
| 33 |
+
- name: test
|
| 34 |
+
num_bytes: 0
|
| 35 |
+
num_examples: 360
|
| 36 |
+
download_size: 0
|
| 37 |
+
dataset_size: 0
|
| 38 |
+
configs:
|
| 39 |
+
- config_name: default
|
| 40 |
+
data_files:
|
| 41 |
+
- split: test
|
| 42 |
+
path: "test.parquet"
|
| 43 |
---
|
| 44 |
|
| 45 |
+
# Tibetan Script Classification Benchmark
|
| 46 |
|
| 47 |
+
Holdout benchmark for 6-class Tibetan script classification. **Test split only** — not used during training.
|
| 48 |
+
All images are BDRC manuscript page scans, balanced by subclass.
|
|
|
|
| 49 |
|
| 50 |
+
| Class | Images | Subclasses |
|
| 51 |
+
|-------|-------:|-----------|
|
| 52 |
+
| **Danyig** | 60 | DraDring: 25, DraRing: 9, Drathung: 17, Gongshabma: 3, Tsegdrig: 6 |
|
| 53 |
+
| **Druma** | 60 | Dhumri: 22, DruDring: 20, DruRing: 10, Druchen: 2, Druthung: 6 |
|
| 54 |
+
| **Gyuyig** | 60 | Khyuyig: 31, Tsumachug: 15, Yigchung: 14 |
|
| 55 |
+
| **Pedri** | 60 | Peri: 44, Petsuk: 16 |
|
| 56 |
+
| **Tsugdri** | 60 | Trinyig: 36, Tsugchung: 14, Tsugthung: 10 |
|
| 57 |
+
| **Uchen** | 60 | Uchen SugDring: 53, Uchen SugRing: 3, Uchen Sugthung: 4 |
|
| 58 |
|
| 59 |
+
**Total: 360 images** across 6 classes.
|
| 60 |
|
| 61 |
+
## Parquet schema
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
+
| Column | Type | Description |
|
| 64 |
+
|--------|------|-------------|
|
| 65 |
+
| `id` | string | BDRC page id (e.g. `W00KG09391-I00KG093950005`) |
|
| 66 |
+
| `image_bytes` | binary | JPEG/PNG page image |
|
| 67 |
+
| `script` | string | One of: `Danyig`, `Druma`, `Gyuyig`, `Pedri`, `Tsugdri`, `Uchen` |
|
| 68 |
|
| 69 |
+
## Load in Python
|
| 70 |
|
| 71 |
```python
|
| 72 |
from datasets import load_dataset
|
| 73 |
|
| 74 |
ds = load_dataset("BDRC/tibetan-script-classification-benchmark", split="test")
|
| 75 |
+
print(len(ds)) # 360
|
| 76 |
+
|
| 77 |
+
row = ds[0]
|
| 78 |
+
# row["id"], row["image_bytes"], row["script"]
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
## Evaluate a model
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
from experiments.benchmark_eval.eval import run_benchmark
|
| 85 |
+
run_benchmark(model, repo_id="BDRC/tibetan-script-classification-benchmark")
|
| 86 |
```
|
| 87 |
|
| 88 |
+
## Citation
|
| 89 |
|
| 90 |
+
```bibtex
|
| 91 |
+
@misc{bdrcscriptbenchmark,
|
| 92 |
+
title = {Tibetan Script Classification Benchmark},
|
| 93 |
+
author = {Buddhist Digital Resource Center and OpenPecha},
|
| 94 |
+
year = {2026},
|
| 95 |
+
url = {https://huggingface.co/datasets/BDRC/tibetan-script-classification-benchmark},
|
| 96 |
+
note = {Images from BDRC. MIT.}
|
| 97 |
+
}
|
| 98 |
+
```
|
| 99 |
|
| 100 |
## Acknowledgements
|
| 101 |
|
| 102 |
+
Images from the **[Buddhist Digital Resource Center](https://www.bdrc.io)** (BDRC). Developed by **Dharmaduta** / **OpenPecha**.
|