NLP β Sentiment & Text Classification
Collection
NLP β Sentiment & Text Classification by Harsha901
β’
2 items
β’
Updated
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!")
Base model
google-bert/bert-base-uncased