Instructions to use openpecha/uchen-ume-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openpecha/uchen-ume-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="openpecha/uchen-ume-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/uchen-ume-classifier", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 973 Bytes
fd3a077 | 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 | {
"label_to_idx": {
"uchen": 0,
"ume": 1
},
"idx_to_label": {
"0": "uchen",
"1": "ume"
},
"class_mapping": {
"uchen": [
"uchen_sugdring",
"uchen_sugthung"
],
"dropped": [
"difficult",
"multi_scripts",
"non_tibetan"
],
"ume": "all remaining classes"
},
"split_counts": {
"train": {
"uchen": 753,
"ume": 2810
},
"val": {
"uchen": 161,
"ume": 601
},
"test": {
"uchen": 161,
"ume": 601
}
},
"exclude_manifest": "./benchmark_page_ids.json",
"excluded_label_count": 18,
"excluded_page_id_count": 88,
"skipped_excluded_files_by_class": {
"dhumri": 5,
"drathung": 5,
"drudring": 4,
"druring": 5,
"druthung": 5,
"khyuyig": 5,
"peri": 5,
"petsuk": 5,
"trinyig": 4,
"tsegdrig": 5,
"tsugchung": 5,
"tsumachug": 5,
"uchen_sugdring": 5,
"uchen_sugthung": 5,
"yigchung": 5
}
} |