Instructions to use krishBSSPL/lipiocr-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use krishBSSPL/lipiocr-classifier with timm:
import timm model = timm.create_model("hf-hub:krishBSSPL/lipiocr-classifier", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Download config.json from krishBSSPL/lipiocr-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/krishBSSPL/lipiocr-classifier/resolve/main/config.json
- Command line
-
hf download hf://krishBSSPL/lipiocr-classifier/config.json
-
curl -L -o config.json https://huggingface.co/krishBSSPL/lipiocr-classifier/resolve/main/config.json
1.13 kB
| { | |
| "architecture": "efficientnet_b0", | |
| "framework": "timm", | |
| "num_classes": 42, | |
| "labels": [ | |
| "aadhaar_card", | |
| "airway_bill", | |
| "bank_cheque", | |
| "bank_statement", | |
| "birth_certificate", | |
| "boarding_pass", | |
| "business_card", | |
| "certificate", | |
| "cid", | |
| "courier_waybill", | |
| "credit_card", | |
| "driving_license", | |
| "employment_offer_letter", | |
| "general_letter", | |
| "income_tax_return", | |
| "insurance_policy", | |
| "invoice", | |
| "marksheet", | |
| "marriage_certificate", | |
| "medical_certificate", | |
| "medical_prescription", | |
| "menu_card", | |
| "nic", | |
| "noc", | |
| "pan_card", | |
| "passport", | |
| "payment_voucher", | |
| "pos_payment_slip", | |
| "product_catalog", | |
| "purchase_order", | |
| "quotation", | |
| "receipt", | |
| "reference_letter", | |
| "rental_agreement", | |
| "resume", | |
| "salary_slip", | |
| "telegraphic_transfer", | |
| "utility_bill", | |
| "vaccination_certificate", | |
| "vehicle_registration", | |
| "visa", | |
| "voter_id" | |
| ], | |
| "input_size": [ | |
| 224, | |
| 224 | |
| ], | |
| "normalize_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "normalize_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ] | |
| } |