zeroshot/twitter-financial-news-sentiment
Viewer • Updated • 11.9k • 6.38k • 175
How to use Nonovogo/Deberta-V3-Base_Financial_News_Sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Nonovogo/Deberta-V3-Base_Financial_News_Sentiment") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Nonovogo/Deberta-V3-Base_Financial_News_Sentiment")
model = AutoModelForSequenceClassification.from_pretrained("Nonovogo/Deberta-V3-Base_Financial_News_Sentiment")Base model
microsoft/deberta-v3-base