Downloads · 30 days
12
10% of all-time downloads
nppiech/an-imdb-classifier
an-imdb-classifier is a text classification model from nppiech. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of distilbert-base-uncased on the stanfordnlp.imdb dataset. It achieves the following results on the evaluation set: - Loss: 0.3635 - Accuracy: 0.898
Downloads · 30 days
12
10% of all-time downloads
All-time downloads
117
Public
Parameters
67M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on the stanfordnlp.imdb dataset. It achieves the following results on the evaluation set:
This model is a fine-tuned version of the distilbert-base-uncased model, trained for sentiment analysis on a subset of the IMDb dataset. It is designed to classify movie reviews as either positive or negative.
This model is intended for use in classifying the sentiment of movie reviews.
It can be used for tasks such as: Automatically categorizing movie reviews on websites or platforms. Analyzing the overall sentiment towards a particular movie. Providing feedback to users based on their review sentiment.
The model was fine-tuned on a small subset of the IMDb dataset.
Training set size: 5000 examples Evaluation set size: 500 examples
The dataset contains movie reviews labeled as either positive (label 1) or negative (label 0). The distribution of labels in the training set is approximately equal (2494 negative, 2506 positive).
The model was trained using the Hugging Face Trainer on the tokenized IMDb dataset subset, using the preprocess_function to tokenize the text and truncate it.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 313 | 0.3199 | 0.866 |
| 0.2966 | 2.0 | 626 | 0.3023 | 0.89 |
| 0.2966 | 3.0 | 939 | 0.3635 | 0.898 |