Transformers How to use fblgit/haremb-privacy-filter-opennemo with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="fblgit/haremb-privacy-filter-opennemo", trust_remote_code=True) # Load model directly
from transformers import AutoModelForTokenClassification
model = AutoModelForTokenClassification.from_pretrained("fblgit/haremb-privacy-filter-opennemo", trust_remote_code=True, dtype="auto")