Initial upload: BERT+GAT PII redactor bfcecff verified
Manikrishneshwar Sasidhar commited on
How to use manikrishneshwar/pii-redactor-bert-gat with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="manikrishneshwar/pii-redactor-bert-gat", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("manikrishneshwar/pii-redactor-bert-gat", trust_remote_code=True, dtype="auto")