Downloads · 30 days
5
6% of all-time downloads
vijayjadhavaug/vj-distilbert-imdb-sentiment
vj-distilbert-imdb-sentiment is a text classification model from vijayjadhavaug. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This is a fine-tuned DistilBERT model for sentiment analysis on the IMDB dataset. It classifies reviews into Positive or Negative sentiments.
Downloads · 30 days
5
6% of all-time downloads
All-time downloads
78
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
This is a fine-tuned DistilBERT model for sentiment analysis on the IMDB dataset.
It classifies reviews into Positive or Negative sentiments.
distilbert-base-uncasedfrom transformers import pipeline
classifier = pipeline("sentiment-analysis", model="vj/distilbert-imdb-sentiment")
result = classifier("The movie was absolutely fantastic!")
print(result) # [{'label': 'POSITIVE', 'score': 0.98}]