Token Classification
Transformers
Safetensors
English
bert
PII
NER
Bert
Token Classification
Eval Results (legacy)
Instructions to use ankitcodes/pii_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ankitcodes/pii_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ankitcodes/pii_model")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ankitcodes/pii_model") model = AutoModelForTokenClassification.from_pretrained("ankitcodes/pii_model") - Notebooks
- Google Colab
- Kaggle
| { | |
| "cls_token": "[CLS]", | |
| "mask_token": "[MASK]", | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "unk_token": "[UNK]" | |
| } | |