Downloads · 30 days
15
12% of all-time downloads
vinD27/stock_sentiment_analysis
stock_sentiment_analysis is a text classification model from vinD27. Use it when you need a label for a piece of text. The card lists the license as apache-2.0.
This model is a fine-tuned version of microsoft/deberta-v3-base for stock sentiment analysis.
Downloads · 30 days
15
12% of all-time downloads
All-time downloads
126
Public
Repo size
739 MB
Likes
0
Public
Click a slice to open those files.
.onnx1.5 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of microsoft/deberta-v3-base for stock sentiment analysis.
training_args.bin for details.from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("vinD27/stock_sentiment_analysis")
model = AutoModelForSequenceClassification.from_pretrained("vinD27/stock_sentiment_analysis")
text = "The stock market is performing well today."
inputs = tokenizer(text, return_tensors="pt")
outputs = model(**inputs)
print(outputs.logits)