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": 70, | |
| "difficult": 120, | |
| "drathung": 91, | |
| "drudring": 94, | |
| "druring": 85, | |
| "druthung": 145, | |
| "khyuyig": 81, | |
| "multi_scripts": 165, | |
| "non_tibetan": 136, | |
| "peri": 430, | |
| "petsuk": 972, | |
| "trinyig": 30, | |
| "tsegdrig": 525, | |
| "tsugchung": 55, | |
| "tsumachug": 126, | |
| "uchen_sugdring": 585, | |
| "uchen_sugthung": 168, | |
| "yigchung": 118 | |
| }, | |
| "val": { | |
| "dhumri": 14, | |
| "difficult": 25, | |
| "drathung": 19, | |
| "drudring": 19, | |
| "druring": 17, | |
| "druthung": 31, | |
| "khyuyig": 16, | |
| "multi_scripts": 35, | |
| "non_tibetan": 28, | |
| "peri": 92, | |
| "petsuk": 208, | |
| "trinyig": 6, | |
| "tsegdrig": 112, | |
| "tsugchung": 11, | |
| "tsumachug": 26, | |
| "uchen_sugdring": 125, | |
| "uchen_sugthung": 36, | |
| "yigchung": 24 | |
| }, | |
| "test": { | |
| "dhumri": 14, | |
| "difficult": 25, | |
| "drathung": 19, | |
| "drudring": 19, | |
| "druring": 17, | |
| "druthung": 31, | |
| "khyuyig": 16, | |
| "multi_scripts": 35, | |
| "non_tibetan": 28, | |
| "peri": 92, | |
| "petsuk": 208, | |
| "trinyig": 6, | |
| "tsegdrig": 112, | |
| "tsugchung": 11, | |
| "tsumachug": 26, | |
| "uchen_sugdring": 125, | |
| "uchen_sugthung": 36, | |
| "yigchung": 24 | |
| } | |
| }, | |
| "exclude_manifest": "./benchmark_page_ids.json", | |
| "excluded_label_count": 18, | |
| "excluded_page_id_count": 88, | |
| "skipped_excluded_files_by_class": {} | |
| } |