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