update model card README.md 39a8cf0
Tanakrit commited on
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")