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