How to use classla/roberta-base-frenk-hate with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="classla/roberta-base-frenk-hate")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("classla/roberta-base-frenk-hate") model = AutoModelForSequenceClassification.from_pretrained("classla/roberta-base-frenk-hate")
How to fix it?