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