How to use Etelis/Sentiment140_BERT_5E with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Etelis/Sentiment140_BERT_5E")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Etelis/Sentiment140_BERT_5E") model = AutoModelForSequenceClassification.from_pretrained("Etelis/Sentiment140_BERT_5E")
What is a pickle import?
How to fix it?