stanfordnlp/imdb
Viewer • Updated • 100k • 182k • 1.29k
How to use aki6022/finetuning-sentiment-model-3000-samples-practice with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="aki6022/finetuning-sentiment-model-3000-samples-practice") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aki6022/finetuning-sentiment-model-3000-samples-practice")
model = AutoModelForSequenceClassification.from_pretrained("aki6022/finetuning-sentiment-model-3000-samples-practice", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on the imdb dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training: