Dataset (HF): BDRC/tibetan-page-orientation-classifier-dataset
Experiment: dinov3_binary_flip_center_cropped
Checkpoint: final_model.pt (best validation macro-F1 across stages A + B + C)
1import torch
2ckpt = torch.load("final_model.pt", map_location="cpu", weights_only=False)
3print(ckpt["test_metrics"])
4print(ckpt["idx_to_label"])
1pip install -r requirements-inference.txt
2python inference_classifier.py --checkpoint final_model.pt --image page.jpg
1python inference_classifier.py \
2 --checkpoint final_model.pt \
3 --image page.jpg \
4 --preprocess center_crop \
5 --preprocess-size 448
1@misc{bdrcpageorientationmodel,
2 title = {Tibetan Page Orientation Classifier (DINOv3)},
3 author = {Buddhist Digital Resource Center and OpenPecha},
4 year = {2026},
5 url = {https://huggingface.co/BDRC/tibetan-page-orieantation-classifier},
6 dataset = {https://hunggingface.co/BDRC/tibetan-page-orientation-classifier-dataset},
7 experiment = {center-cropped}
8 note = {Trained on BDRC manuscript images}
9}
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 (BDRC). Developed by Dharmaduta / OpenPecha.