stanfordnlp/imdb
Viewer • Updated • 100k • 160k • 472
How to use Roshan777/finetuning-sentiment-model-300-samples with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Roshan777/finetuning-sentiment-model-300-samples") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Roshan777/finetuning-sentiment-model-300-samples")
model = AutoModelForSequenceClassification.from_pretrained("Roshan777/finetuning-sentiment-model-300-samples", 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:
More information needed
More information needed
More information needed
The following hyperparameters were used during training: