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