freyavoice / pii-ner-model

huggingface.co
Total runs: 187
24-hour runs: 0
7-day runs: 54
30-day runs: 66
Model's Last Updated: June 19 2026
token-classification

Introduction of pii-ner-model

Model Details of pii-ner-model

pii-ner-model

Dynamic-INT8 ONNX export of akdeniz27/bert-base-turkish-cased-ner (BERTurk, MIT). It detects free-text PII — names and addresses — that a deterministic regex masker can't catch, and runs in-process via onnxruntime (no torch) .

Freya's voice agent loads it for freeform-PII redaction ( src/privacy/ner.py , LocalPiiDetector ); the agent image fetches this repo at build into PII_NER_MODEL_DIR . NER is optional + fail-open and gated per-agent by privacy_config.mask_pii .

Files
file what
model.int8.onnx dynamic-INT8-quantized BERTurk token-classification model (~106 MB)
tokenizer.json Rust-tokenizer config for the onnxruntime path
config.json id2label map for decode
export_model.py the offline recipe that produced the artifacts (not used at runtime)
Labels

7-class BIO: O , B-PER / I-PER , B-ORG / I-ORG , B-LOC / I-LOC . Downstream mapping: PER -> NAME , LOC -> ADDRESS ; ORG is dropped.

Quality

Validated on Turkish: names F1 ~1.00 (cased) / ~0.93–0.95 (ASR-style lowercase). INT8 is effectively lossless vs fp32 on cased text. Addresses ( LOC ) are weaker on lowercase ASR text.

Regenerating

Needs torch + optimum[onnxruntime] (not runtime deps):

pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install "optimum[onnxruntime]" transformers
python export_model.py --model akdeniz27/bert-base-turkish-cased-ner --out /tmp/pii-ner
# then copy model_quantized.onnx -> model.int8.onnx, plus tokenizer.json + config.json
License

MIT — same as the base model. See LICENSE . Base model: akdeniz27/bert-base-turkish-cased-ner .

Runs of freyavoice pii-ner-model on huggingface.co

187
Total runs
0
24-hour runs
21
3-day runs
54
7-day runs
66
30-day runs

More Information About pii-ner-model huggingface.co Model

More pii-ner-model license Visit here:

https://choosealicense.com/licenses/mit

pii-ner-model huggingface.co

pii-ner-model huggingface.co is an AI model on huggingface.co that provides pii-ner-model's model effect (), which can be used instantly with this freyavoice pii-ner-model model. huggingface.co supports a free trial of the pii-ner-model model, and also provides paid use of the pii-ner-model. Support call pii-ner-model model through api, including Node.js, Python, http.

freyavoice pii-ner-model online free

pii-ner-model huggingface.co is an online trial and call api platform, which integrates pii-ner-model's modeling effects, including api services, and provides a free online trial of pii-ner-model, you can try pii-ner-model online for free by clicking the link below.

freyavoice pii-ner-model online free url in huggingface.co:

https://huggingface.co/freyavoice/pii-ner-model

pii-ner-model install

pii-ner-model is an open source model from GitHub that offers a free installation service, and any user can find pii-ner-model on GitHub to install. At the same time, huggingface.co provides the effect of pii-ner-model install, users can directly use pii-ner-model installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

pii-ner-model install url in huggingface.co:

https://huggingface.co/freyavoice/pii-ner-model

Url of pii-ner-model

pii-ner-model huggingface.co Url

Provider of pii-ner-model huggingface.co

freyavoice
ORGANIZATIONS

Other API from freyavoice

huggingface.co

Total runs: 5.6K
Run Growth: 360
Growth Rate: 6.48%
Updated:July 28 2026
huggingface.co

Total runs: 1
Run Growth: 1
Growth Rate: 100.00%
Updated:January 30 2026