Transformers How to use KevynKrancenblum/hebrew-offensive-detection with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="KevynKrancenblum/hebrew-offensive-detection") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("KevynKrancenblum/hebrew-offensive-detection", dtype="auto")