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