rulesentry/core-pii
By rulesentry · ↓ 0 · ♥ 0 · Updated 2025-12-30
What's in this repo
This page lists the files in rulesentry/core-pii, including model.onnx.
- 1 ONNX models (.onnx files)
- 10 files, including 6 .json, 1 .md, 1 .txt, 1 .onnx
- Last updated 2025-12-30
ONNX files
| File | Size | Download |
|---|---|---|
| model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
license: mit base_model: tanaos/tanaos-text-anonymizer-v1 tags:
- ner
- pii
- onnx
- token-classification
- named-entity-recognition language:
- en library_name: onnx
RuleSentry Core PII
ONNX export of tanaos/tanaos-text-anonymizer-v1 for local PII detection in RuleSentry Desktop.
Attribution
This model is an ONNX conversion of tanaos-text-anonymizer-v1 by tanaos. We converted it to ONNX format for efficient CPU/GPU inference without Python dependencies.
Original model: https://huggingface.co/tanaos/tanaos-text-anonymizer-v1
Supported Entity Types
| Entity | Example |
|---|---|
| PERSON | "John Douglas" |
| LOCATION | "New York" |
| DATE | "January 15, 2024" |
| ADDRESS | "123 Main St, Suite 400" |
| PHONE_NUMBER | "(555) 123-4567" |
Model Files
model.onnx- ONNX model (~496 MB)tokenizer.json- Tokenizer configurationconfig.json- Model configurationlabels.json- NER label mappingsvocab.json- Vocabularymerges.txt- BPE merges
Usage
This model is designed for use with RuleSentry Desktop for local, privacy-preserving document anonymization.
With ONNX Runtime (Rust)
use ort::{Session, SessionBuilder};
let session = SessionBuilder::new()?
.with_model_from_file("model.onnx")?;
With ONNX Runtime (Python)
import onnxruntime as ort
session = ort.InferenceSession("model.onnx")
License
MIT License - Same as the original model.
Copyright (c) 2024 tanaos (original model) Copyright (c) 2024 RuleSentry (ONNX conversion)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Model info
Created: 2025-12-30
Updated: 2025-12-30
View on Hugging FaceFiles (10)
Related models
More from rulesentry
No other models by this author.