update model card README.md f257f04
Md Ibrahim Ibne Alam commited on
How to use Ibrahim-Alam/finetuning-roberta-base-on-tweet_sentiment_binary with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Ibrahim-Alam/finetuning-roberta-base-on-tweet_sentiment_binary") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Ibrahim-Alam/finetuning-roberta-base-on-tweet_sentiment_binary")
model = AutoModelForSequenceClassification.from_pretrained("Ibrahim-Alam/finetuning-roberta-base-on-tweet_sentiment_binary")