Image Classification
Transformers
Tibetan
dinov3
tibetan
script-classification
paleography
fine-tuned
document-analysis
Eval Results (legacy)
Instructions to use openpecha/tibetan-script-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openpecha/tibetan-script-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="openpecha/tibetan-script-classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("openpecha/tibetan-script-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "experiment": "patches_color", | |
| "data_dir": "./Data/output/patches_color", | |
| "exclude_manifest": "./benchmark_page_ids.json", | |
| "num_classes": 18, | |
| "checkpoint_results": { | |
| "best_stage_a_head_only.pt": { | |
| "patch_metrics": { | |
| "loss": 1.2655372293292018, | |
| "accuracy": 0.548971596474045, | |
| "macro_f1": 0.48338756435970365, | |
| "weighted_f1": 0.5595663273001261 | |
| }, | |
| "page_metrics": { | |
| "accuracy": 0.5817535545023697, | |
| "macro_f1": 0.5042916757569069, | |
| "weighted_f1": 0.5865342057784698, | |
| "num_pages": 844, | |
| "num_samples": 4084 | |
| }, | |
| "val_macro_f1_at_save": 0.5201207198529141, | |
| "epoch_at_save": 20 | |
| }, | |
| "best_stage_b_last_2_blocks.pt": { | |
| "patch_metrics": { | |
| "loss": 1.2968507967196061, | |
| "accuracy": 0.5572967678746327, | |
| "macro_f1": 0.48656564769193644, | |
| "weighted_f1": 0.563328932982191 | |
| }, | |
| "page_metrics": { | |
| "accuracy": 0.5853080568720379, | |
| "macro_f1": 0.4969784132736875, | |
| "weighted_f1": 0.5889015907282624, | |
| "num_pages": 844, | |
| "num_samples": 4084 | |
| }, | |
| "val_macro_f1_at_save": 0.5246287483695703, | |
| "epoch_at_save": 7 | |
| }, | |
| "best_stage_c_last_4_blocks.pt": { | |
| "patch_metrics": { | |
| "loss": 1.2944221436160084, | |
| "accuracy": 0.5604799216454457, | |
| "macro_f1": 0.48988450083500523, | |
| "weighted_f1": 0.5677717007365548 | |
| }, | |
| "page_metrics": { | |
| "accuracy": 0.5924170616113744, | |
| "macro_f1": 0.5017240427906837, | |
| "weighted_f1": 0.5960050045768394, | |
| "num_pages": 844, | |
| "num_samples": 4084 | |
| }, | |
| "val_macro_f1_at_save": 0.5268057868156721, | |
| "epoch_at_save": 10 | |
| }, | |
| "final_model.pt": { | |
| "patch_metrics": { | |
| "loss": 1.2944221436160084, | |
| "accuracy": 0.5604799216454457, | |
| "macro_f1": 0.48988450083500523, | |
| "weighted_f1": 0.5677717007365548 | |
| }, | |
| "page_metrics": { | |
| "accuracy": 0.5924170616113744, | |
| "macro_f1": 0.5017240427906837, | |
| "weighted_f1": 0.5960050045768394, | |
| "num_pages": 844, | |
| "num_samples": 4084 | |
| }, | |
| "val_macro_f1_at_save": -1.0, | |
| "epoch_at_save": null | |
| } | |
| } | |
| } |