How to use PuxAI/PII-Token-Filter-Hard-gretel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="PuxAI/PII-Token-Filter-Hard-gretel")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("PuxAI/PII-Token-Filter-Hard-gretel") model = AutoModelForTokenClassification.from_pretrained("PuxAI/PII-Token-Filter-Hard-gretel")
The community tab is the place to discuss and collaborate with the HF community!