stanfordnlp/imdb
Viewer • Updated • 100k • 177k • 370
How to use LeighMiller/sentiment-analysis-simple-demo-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="LeighMiller/sentiment-analysis-simple-demo-model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("LeighMiller/sentiment-analysis-simple-demo-model")
model = AutoModelForSequenceClassification.from_pretrained("LeighMiller/sentiment-analysis-simple-demo-model")This model is a fine-tuned version of distilbert-base-uncased on the imdb dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
distilbert/distilbert-base-uncased