Views
No views yet
| Version | Description | Location |
|---|---|---|
| v1 | First full training on ~500k synthetic OpenPII-style samples. | full-openpii-500k/final/ |
| v2 | Phase-two retrained model with augmented + real-world data. | repo root (model.safetensors) |
| Split | Metric | v1 | v2 (current) | Improvement |
|---|---|---|---|---|
| Template-disjoint | F1 | 0.8930 | 0.8417 | -0.0513 |
| Template-disjoint | Accuracy | 0.9725 | 0.9437 | -0.0288 |
| Real-world | F1 | 0.8937 | 0.8868 | -0.0069 |
| Real-world | Accuracy | 0.9504 | 0.9423 | -0.0081 |
phase2_metrics.json and retrain_metrics.json for per-label details.| Attribute | Value |
|---|---|
| Architecture | BertForTokenClassification |
| Base architecture | BERT-base-uncased |
| Hidden size | 768 |
| Layers / Heads | 12 / 12 |
| Max position embeddings | 512 |
| Parameters | 108,918,563 |
| Vocab size | 30,522 |
| Labels | 35 BIO labels + O |
1from transformers import pipeline
2
3ner = pipeline(
4 "ner",
5 model="somukandula/maskara",
6 aggregation_strategy="simple"
7)
8
9ner("My email is john.doe@example.com and phone is +91-98765-43210.")CREDIT_CARD and PASSWORD show low or zero real-world F1; consider post-processing rules for production.