--- title: PII Masking Demo emoji: 🔒 colorFrom: blue colorTo: purple sdk: docker app_port: 7860 pinned: false license: mit --- # 🔒 PII Masking Demo A comprehensive demo for Personal Identifiable Information (PII) masking using multiple approaches: - **BERT Token Classification** - Fast local inference - **Mistral Prompting** - High accuracy via API - **Mistral Fine-tuned** - Best performance via API ## Features - **Multiple Methods** - Compare different PII masking approaches - **Real-time Processing** - Instant text masking - **Performance Metrics** - Processing time and entity counts - **User-friendly Interface** - Simple copy-paste workflow ## Technology Stack - **Backend:** FastAPI - **Frontend:** HTML/CSS/JavaScript - **Models:** DistilBERT, Mistral 7B - **Deployment:** Docker on HuggingFace Spaces