CoolFace
Datasetpublic

BDRC/danyig-pedri-binary-script-classifier

Danyig vs Pedri Binary Script Classification Dataset Stage-2 binary classifier for distinguishing Danyig (5 subscripts: DraDring, DraRing, Drathung, Gongshabma, Tsegdrig) from Pedri (2 subscripts: Peri, Petsuk). Real-only, all images human-reviewed. Images per class Class train val test All Danyig 480 60 60 600 Pedri 480 60 60 600 Total 960 120 120 1,200 Splits Manuscript-stratified split — each manuscript work appears in exactly… See the full description on the dataset page: https://huggingface.co/datasets/BDRC/danyig-pedri-binary-script-classifier.

sourceHugging Facemitupdated 3mo agoView on Hugging Face
0likes79downloads
Dataset Card

Danyig vs Pedri Binary Script Classification Dataset

Stage-2 binary classifier for distinguishing Danyig (5 subscripts: DraDring, DraRing, Drathung, Gongshabma, Tsegdrig) from Pedri (2 subscripts: Peri, Petsuk). Real-only, all images human-reviewed.

Images per class

Classtrainvaltest**All**
Danyig4806060600
Pedri4806060600
Total9601201201,200

Splits

Manuscript-stratified split — each manuscript work appears in exactly one of train / val / test (no data leakage across splits).

SplitImagesWorks
train960555
validation12012
test120116
Total1,200

Page-level split manifest: `splits/pedri-danyig_combined.json`.

Parquet schema

ColumnTypeDescription
idstringBDRC page id (e.g. W3CN502-I3CN212840005)
image_bytesbinaryJPEG/PNG/TIF page image
scriptstringDanyig or Pedri
script_typestringSubscript name (e.g. Tsegdrig, Petsuk)

See `split_stats.json` and `split_stats.md` for row-level counts.

Load in Python

python
from datasets import load_dataset

ds = load_dataset("BDRC/danyig-pedri-binary-script-classifier")
train = ds["train"]       # 960
val   = ds["validation"]  # 120
test  = ds["test"]        # 120
python
from io import BytesIO
from PIL import Image

row = train[0]
img = Image.open(BytesIO(row["image_bytes"])).convert("RGB")
print(row["id"], row["script"])

Citation

bibtex
@misc{bdrc_danyig_pedri_binary,
  title  = {Danyig vs Pedri Binary Script Classification Dataset},
  author = {Buddhist Digital Resource Center and OpenPecha},
  year   = {2026},
  url    = {https://huggingface.co/datasets/BDRC/danyig-pedri-binary-script-classifier},
  note   = {Images from BDRC}
}

License

Images taken from the open access collection of the Buddhist Digital Resource Center. Not all images are in the public domain, some are from recent publications possibly under copyright. We provide the images under the Fair Use copyright exception, but any reuse of this dataset will have to be based on a copyright analysis. We provide the classification data under the CC0 1.0 Universal (Public Domain Dedication).

Acknowledgements

All images are provided by the Buddhist Digital Resource Center (BDRC). This dataset was developed by Dharmaduta from specifications provided by BDRC for the project "The BDRC Etext Corpus", with funding from the Khyentse Foundation. [Buddhist Digital Resource Center](https://www.bdrc.io) (BDRC). Developed by Dharmaduta / OpenPecha.