Downloads · 30 days
21
13% of all-time downloads
Harsha901/bert-sentiment-analysis-model
bert-sentiment-analysis-model is a text classification model from Harsha901. Use it when you need a label for a piece of text. The card lists the license as mit.
This repository contains a fine-tuned BERT model for binary sentiment classification using the IMDB movie reviews dataset. The model classifies reviews as positive or negative, and is built using Hugging Face Transfor…
Downloads · 30 days
21
13% of all-time downloads
All-time downloads
160
Public
Parameters
109M
876 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This repository contains a fine-tuned BERT model for binary sentiment classification using the IMDB movie reviews dataset. The model classifies reviews as positive or negative, and is built using Hugging Face Transformers and PyTorch.
| Metric | Value |
|---|---|
| Accuracy | 89.4% |
| Validation Loss | 0.375 |
| Epochs Trained | 3 |
| Inference Speed | ~434 samples/sec |
bert-base-uncasedfp16)from transformers import pipeline
classifier = pipeline("text-classification", model="Harsha901/tinybert-imdb-sentiment-analysis-model")
classifier("This movie was absolutely amazing!")