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