|
Download README.md from Ramosh99/codemix: direct link, hf CLI and curl.
- Browser
- Download file 771 Bytes
-
https://huggingface.co/spaces/Ramosh99/codemix/resolve/main/README.md
- Command line
-
hf download hf://spaces/Ramosh99/codemix/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Ramosh99/codemix/resolve/main/README.md
771 Bytes
metadata
title: Codemix PII Detector
emoji: 🔒
colorFrom: green
colorTo: blue
sdk: docker
app_port: 7860
Sinhala-English Codemix PII Detector API
NER model for detecting PII in Sinhala-English code-mixed text. Also used as fallback for pure Sinhala script inputs.
Model: Ramosh99/mixcode_pii_detector
API
POST /predict
{"text": "Mage name Kamal, man wada karanne MAS Holdings eke, phone 071-1234567"}
Response
{
"entities": [
{"span": "Kamal", "start": 10, "end": 15, "entity_group": "PERSON", "confidence": 0.99},
{"span": "MAS Holdings", "start": 35, "end": 47, "entity_group": "ORG", "confidence": 0.99},
{"span": "071-1234567", "start": 54, "end": 65, "entity_group": "PHONE", "confidence": 0.98}
]
}