stanfordnlp/imdb
Viewer • Updated • 100k • 269k • 380
How to use Sarathkumar1304ai/new-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Sarathkumar1304ai/new-model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Sarathkumar1304ai/new-model")
model = AutoModelForSequenceClassification.from_pretrained("Sarathkumar1304ai/new-model")Base model
distilbert/distilbert-base-uncased