stanfordnlp/imdb
Viewer โข Updated โข 100k โข 158k โข 985
How to use neuroapps/sentiments_classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="neuroapps/sentiments_classifier") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("neuroapps/sentiments_classifier")
model = AutoModelForSequenceClassification.from_pretrained("neuroapps/sentiments_classifier", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on the imdb dataset. It achieves the following results on the evaluation set:
This model outputs the sentiment value, either positive or negative from the sentence or phrase.
This model could be used for extracting sentiments from product reviews, product feedback, or general conversational text.
his model is a fine-tuned version of distilbert-base-uncased on the imdb dataset.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.2335 | 1.0 | 1563 | 0.1892 | 0.9277 |
| 0.1487 | 2.0 | 3126 | 0.2332 | 0.9319 |