How to use Mosaabx/pii_ar_detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Mosaabx/pii_ar_detector")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Mosaabx/pii_ar_detector") model = AutoModelForTokenClassification.from_pretrained("Mosaabx/pii_ar_detector")
How to fix it?