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