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", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "label_to_idx": { | |
| "dhumri": 0, | |
| "difficult": 1, | |
| "drathung": 2, | |
| "drudring": 3, | |
| "druring": 4, | |
| "druthung": 5, | |
| "khyuyig": 6, | |
| "multi_scripts": 7, | |
| "non_tibetan": 8, | |
| "peri": 9, | |
| "petsuk": 10, | |
| "trinyig": 11, | |
| "tsegdrig": 12, | |
| "tsugchung": 13, | |
| "tsumachug": 14, | |
| "uchen_sugdring": 15, | |
| "uchen_sugthung": 16, | |
| "yigchung": 17 | |
| }, | |
| "idx_to_label": { | |
| "0": "dhumri", | |
| "1": "difficult", | |
| "2": "drathung", | |
| "3": "drudring", | |
| "4": "druring", | |
| "5": "druthung", | |
| "6": "khyuyig", | |
| "7": "multi_scripts", | |
| "8": "non_tibetan", | |
| "9": "peri", | |
| "10": "petsuk", | |
| "11": "trinyig", | |
| "12": "tsegdrig", | |
| "13": "tsugchung", | |
| "14": "tsumachug", | |
| "15": "uchen_sugdring", | |
| "16": "uchen_sugthung", | |
| "17": "yigchung" | |
| }, | |
| "split_counts": { | |
| "train": { | |
| "dhumri": 363, | |
| "difficult": 410, | |
| "drathung": 458, | |
| "drudring": 451, | |
| "druring": 421, | |
| "druthung": 710, | |
| "khyuyig": 324, | |
| "multi_scripts": 824, | |
| "non_tibetan": 291, | |
| "peri": 2348, | |
| "petsuk": 5086, | |
| "trinyig": 165, | |
| "tsegdrig": 2766, | |
| "tsugchung": 293, | |
| "tsumachug": 604, | |
| "uchen_sugdring": 2705, | |
| "uchen_sugthung": 807, | |
| "yigchung": 598 | |
| }, | |
| "val": { | |
| "dhumri": 74, | |
| "difficult": 72, | |
| "drathung": 95, | |
| "drudring": 97, | |
| "druring": 89, | |
| "druthung": 169, | |
| "khyuyig": 70, | |
| "multi_scripts": 182, | |
| "non_tibetan": 52, | |
| "peri": 514, | |
| "petsuk": 1091, | |
| "trinyig": 33, | |
| "tsegdrig": 613, | |
| "tsugchung": 56, | |
| "tsumachug": 132, | |
| "uchen_sugdring": 601, | |
| "uchen_sugthung": 180, | |
| "yigchung": 113 | |
| }, | |
| "test": { | |
| "dhumri": 81, | |
| "difficult": 90, | |
| "drathung": 84, | |
| "drudring": 81, | |
| "druring": 81, | |
| "druthung": 153, | |
| "khyuyig": 73, | |
| "multi_scripts": 156, | |
| "non_tibetan": 57, | |
| "peri": 491, | |
| "petsuk": 1104, | |
| "trinyig": 32, | |
| "tsegdrig": 576, | |
| "tsugchung": 56, | |
| "tsumachug": 132, | |
| "uchen_sugdring": 551, | |
| "uchen_sugthung": 175, | |
| "yigchung": 111 | |
| } | |
| }, | |
| "exclude_manifest": "./benchmark_page_ids.json", | |
| "excluded_label_count": 18, | |
| "excluded_page_id_count": 88, | |
| "skipped_excluded_files_by_class": {} | |
| } |