Transformers How to use hreyulog/weibo-opinion-dynamic-sentiment-bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="hreyulog/weibo-opinion-dynamic-sentiment-bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("hreyulog/weibo-opinion-dynamic-sentiment-bert")
model = AutoModelForSequenceClassification.from_pretrained("hreyulog/weibo-opinion-dynamic-sentiment-bert")