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