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