Downloads · 30 days
12
1% of all-time downloads
RJZauner/distilbert_rotten_tomatoes_sentiment_classifier
distilbert_rotten_tomatoes_sentiment_classifier is a text classification model from RJZauner. 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 rottentomatoes dataset. It achieves the following results on the evaluation set: - Loss: 0.7927 - Accuracy: 0.8386
Downloads · 30 days
12
1% of all-time downloads
All-time downloads
1.2K
Public
Parameters
67M
804 MB on disk
Likes
1
Public
Click a slice to open those files.
.bin268 MB · 50%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on the rotten_tomatoes dataset. It achieves the following results on the evaluation set:
The goal was to fine-tune a model on the rotten_tomatoes dataset to showcase an end-to-end workflow using the Hugging face library. As such, only the bare minimum of pre-processing was used.
The model will be used as part of a blog post to help others engineers better understand what natural language processing is and how to perform a text classification.
The model was evaluated using the accuracy metric that form part of the Hugging Face library.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 134 | 0.5940 | 0.8340 |
| No log | 2.0 | 268 | 0.7095 | 0.8227 |
| No log | 3.0 | 402 | 0.7276 | 0.8321 |
| 0.065 | 4.0 | 536 | 0.7693 | 0.8415 |
| 0.065 | 5.0 | 670 | 0.7927 | 0.8386 |