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
File size: 2,287 Bytes
a1d2f62 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | {
"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": {}
} |