Downloads · 30 days
2
3% of all-time downloads
uncleMehrzad/distilbert-base-uncased-imdb-sentiment
distilbert-base-uncased-imdb-sentiment is a text classification model from uncleMehrzad. Use it when you need a label for a piece of text. It is set up for transformers.
tags: - text-classification - sentiment-analysis - distilbert - imdb datasets: - imdb metrics: - accuracy ---
Downloads · 30 days
2
3% of all-time downloads
All-time downloads
66
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
tags:
This is a DistilBERT model fine-tuned on the IMDB movie review dataset for sentiment analysis (binary classification). The model classifies movie reviews as either positive (1) or negative (0).
You can use this model directly with the Hugging Face pipeline:
from transformers import pipeline
classifier = pipeline("text-classification", model="uncleMehrzad/distilbert-base-uncased-imdb-sentiment")
result = classifier("This movie was absolutely fantastic! The acting was superb.")
print(result) # [{'label': 'POSITIVE', 'score': 0.999...}]
<!-- Provide a longer summary of what this model is. -->
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
[accuracy]
[89.6 on 1000 subsample of imdb dataset]