This model is a fine-tuned version of ProsusAI/finbert for sentiment analysis on financial news related to major technology companies.
This model was fine-tuned on a filtered subset of the financial_phrasebank dataset. Specifically, it was trained on sentences from the Sentences_50Agree.txt file that contained keywords for major tech companies (Google, Apple, Microsoft, Amazon, Nvidia, etc.).
Due to the very small size of the filtered dataset (58 samples), this model is intended as a proof-of-concept and its performance is limited.
The model achieves the following results on the evaluation set:
You can use this model directly with the pipeline function from the transformers library.
from transformers import pipeline
sentiment_analyzer = pipeline(
"text-classification",
model="esix117/FinBERT-Tech-Sentiment"
)
# Example 1
result = sentiment_analyzer("Nvidia reported record earnings, beating all estimates.")
print(result)
# >> [{'label': 'positive', 'score': 0.8...}]
# Example 2
result = sentiment_analyzer("Apple shares fell after the new product announcement.")
print(result)
# >> [{'label': 'negative', 'score': 0.9...}]
model.safetensors 438 MBtraining_args.bin 5.9 kBProsusAI/finbert