Downloads · 30 days
40
39% of all-time downloads
saiffff/distilbert-imdb-sentiment
distilbert-imdb-sentiment is a text classification model from saiffff. Use it when you need a label for a piece of text. It is set up for transformers.
This DistilBERT model has been fine-tuned for sentiment analysis on the IMDb dataset. It is designed to be lightweight and efficient, making it suitable for deployment on low-end PCs and machines. The model can accura…
Downloads · 30 days
40
39% of all-time downloads
All-time downloads
103
Public
Parameters
67M
268 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This DistilBERT model has been fine-tuned for sentiment analysis on the IMDb dataset. It is designed to be lightweight and efficient, making it suitable for deployment on low-end PCs and machines. The model can accurately classify movie reviews as positive or negative.
This model can be used directly for sentiment analysis on English text data, particularly movie reviews.
The model can be fine-tuned further for other sentiment analysis tasks or integrated into larger applications requiring sentiment classification.
This model is not suitable for non-English text or tasks unrelated to sentiment analysis.
While the model performs well on the IMDb dataset, it may have biases related to the data it was trained on. It might not generalize well to other domains or nuanced sentiment contexts.
Users should be aware of the model's limitations and biases. Testing the model on a variety of inputs is recommended to understand its behavior and performance across different scenarios.
Use the code below to get started with the model:
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="saiffff/distilbert-imdb-sentiment")
result = classifier("This movie was fantastic! I loved every moment of it.")
print(result)