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