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