stanfordnlp/imdb
Viewer • Updated • 100k • 269k • 379
How to use Timothy1337/finetuning-sentiment-imdb with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Timothy1337/finetuning-sentiment-imdb") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Timothy1337/finetuning-sentiment-imdb")
model = AutoModelForSequenceClassification.from_pretrained("Timothy1337/finetuning-sentiment-imdb")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Timothy1337/finetuning-sentiment-imdb")
model = AutoModelForSequenceClassification.from_pretrained("Timothy1337/finetuning-sentiment-imdb")This model is a fine-tuned version of distilbert-base-multilingual-cased 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="Timothy1337/finetuning-sentiment-imdb")