Downloads · 30 days
3
16% of all-time downloads
Yooooooqwert/bert-imdb-finetuned
bert-imdb-finetuned is a machine learning model from Yooooooqwert. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains a fine-tuned BERT-base-uncased model for binary sentiment classification (positive/negative) on the IMDb movie review dataset.
Downloads · 30 days
3
16% of all-time downloads
All-time downloads
19
Public
Parameters
109M
438 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-base-uncased model for binary sentiment classification (positive/negative) on the IMDb movie review dataset.
bert-base-uncased| Epoch | Training Loss | Validation Loss | Accuracy |
|---|---|---|---|
| 1 | 0.3524 | 0.3526 | 91.8% |
| 2 | 0.3233 | 0.3427 | 92.2% |
| 3 | 0.2998 | 0.3524 | 93.4% |
| 4 | 0.2821 | 0.3455 | 93.4% |
2e-516100.30.1from transformers import pipeline
classifier = pipeline("text-classification", model="your-username/your-model-name")
result = classifier("This movie was fantastic!")
print(result)
# [{'label': 'POSITIVE', 'score': 0.99}]