AI Models
Collection
1 item • Updated
Fine-tuned DistilBERT classifier for financial headline sentiment.
negativeneutralpositiveThis model is a lightweight assessment artifact for classifying short financial news headlines. It was trained on the sample data included in the assessment repository and should not be treated as a production trading signal.
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="Hamjeth/financial-sentiment-distilbert",
)
print(classifier("Shares fell after the company cut its revenue forecast."))
Base model
distilbert/distilbert-base-uncased