--- title: Med Doc Classifier emoji: 🏥 colorFrom: green colorTo: green sdk: static pinned: false --- # Med Doc Classifier Interactive demo for the ArcaAI **Document Classifier** — a custom Hugging Face pipeline that classifies medical / health-related documents into one of six types: - `bill` - `discharge_summary` - `echs_card` - `lab_report` - `prescription_slip` - `referral_letter_by_polyclinic` Classification runs on the **ArcaAI hosted inference API** (fine-tuned LayoutLMv3 + OCR served over Triton). The page is fully client-side — turn off **Test Mode (Mock API)** to hit the real service, or use Test Mode for a zero-cost walkthrough. ## Notes - **Shared demo token**: bundled in this page, masked from view. It is capped at **30 requests/minute** and may expire or be rotated — contact ArcaAI for your own token. - Base URL and API key are editable in the header should endpoints change. ## Related - Model repo: [`akbted/docclassifier`](https://huggingface.co/akbted/docclassifier) - Built by **Arca AI**.