stanfordnlp/imdb
Viewer • Updated • 100k • 180k • 938
How to use zwmc/finetuning-sentiment-model-25000-samples with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="zwmc/finetuning-sentiment-model-25000-samples") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("zwmc/finetuning-sentiment-model-25000-samples")
model = AutoModelForSequenceClassification.from_pretrained("zwmc/finetuning-sentiment-model-25000-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: