How to use galthran/twitter-roberta-base-sentiment-amazon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="galthran/twitter-roberta-base-sentiment-amazon")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("galthran/twitter-roberta-base-sentiment-amazon") model = AutoModelForSequenceClassification.from_pretrained("galthran/twitter-roberta-base-sentiment-amazon")