cardiffnlp/tweet_eval
Viewer • Updated • 201k • 41.3k • 144
How to use Priyanka-Balivada/bert-3-epoch-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Priyanka-Balivada/bert-3-epoch-sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Priyanka-Balivada/bert-3-epoch-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("Priyanka-Balivada/bert-3-epoch-sentiment")Base model
google-bert/bert-base-uncased