Token Classification
Transformers
ONNX
Safetensors
xlm-roberta
ner
on-device
privacy
flowx
openner
cross
de-identification
Instructions to use flowxai/piiguard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flowxai/piiguard with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="flowxai/piiguard")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("flowxai/piiguard") model = AutoModelForTokenClassification.from_pretrained("flowxai/piiguard", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "test_loss": 1.168364815384848e-05, | |
| "test_precision": 1.0, | |
| "test_recall": 1.0, | |
| "test_f1": 1.0, | |
| "test_accuracy": 1.0, | |
| "test_runtime": 4.9532, | |
| "test_samples_per_second": 1211.339, | |
| "test_steps_per_second": 37.955, | |
| "epoch": 3.0 | |
| } |