stanfordnlp/imdb
Viewer • Updated • 100k • 271k • 380
How to use geniusguy777/finetuning-sentiment-model-3000-samples with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="geniusguy777/finetuning-sentiment-model-3000-samples") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("geniusguy777/finetuning-sentiment-model-3000-samples")
model = AutoModelForSequenceClassification.from_pretrained("geniusguy777/finetuning-sentiment-model-3000-samples")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("geniusguy777/finetuning-sentiment-model-3000-samples")
model = AutoModelForSequenceClassification.from_pretrained("geniusguy777/finetuning-sentiment-model-3000-samples")This model is a fine-tuned version of distilbert-base-uncased on the imdb dataset. It achieves the following results on the evaluation set:
LABEL_0 corresponds to negative review. LABEL_1 corresponds to positive review.
More information needed
More information needed
The following hyperparameters were used during training:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="geniusguy777/finetuning-sentiment-model-3000-samples")