How to use IMSyPP/hate_speech_slo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="IMSyPP/hate_speech_slo")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("IMSyPP/hate_speech_slo") model = AutoModelForSequenceClassification.from_pretrained("IMSyPP/hate_speech_slo")
What is a pickle import?