Downloads · 30 days
12
14% of all-time downloads
hibbariz/movieReview_analysis_model
movieReview_analysis_model is a text classification model from hibbariz. Use it when you need a label for a piece of text. The card lists the license as mit.
This model analyzes movie reviews and classify them as "Negative", "Positive", or "Neutral". It is fine-tuned from "cardiffnlp/twitter-roberta-base-sentiment-latest". Scraped 742 custom movie reviews from Rotten Tomat…
Downloads · 30 days
12
14% of all-time downloads
All-time downloads
88
Public
Parameters
125M
499 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
This model analyzes movie reviews and classify them as "Negative", "Positive", or "Neutral".
It is fine-tuned from "cardiffnlp/twitter-roberta-base-sentiment-latest".
Scraped 742 custom movie reviews from Rotten Tomatoes, augmented the data to 974 reviews to resolve class imbalance, and fine-tuned the final dataset on "cardiffnlp/twitter-roberta-base-sentiment-latest".
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="hibbariz/movieReview_analysis_model"
)
result = classifier("This movie was absolutely amazing!")
print(result)
Accuracy : 84%
F1 score : Negative: 81%, Neutral: 68%, Positive: 90%
