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.
- Downloads last month
- 2
Model tree for rulesentry/core-pii
Base model
FacebookAI/roberta-base