KarthikeyanDev's picture
Initial commit with model and scripts
f08d3c9
raw
history blame
181 Bytes
from transformers import AutoModelForSequenceClassification
def load_model():
return AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased", num_labels=2)