Token Classification
Transformers
Safetensors
English
roberta
pii
pii-detection
invoices
ner
de-identification
redaction
Synthetic
Instructions to use aitrainingdatabroker/invoice-pii-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aitrainingdatabroker/invoice-pii-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="aitrainingdatabroker/invoice-pii-detector")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("aitrainingdatabroker/invoice-pii-detector") model = AutoModelForTokenClassification.from_pretrained("aitrainingdatabroker/invoice-pii-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K