Dual-AI Stock Sentiment Analyzer
One model asks smart questions about a company; another judges the mood of the news it finds.
Overview
An automated financial-intelligence system that combines two AI models to evaluate market sentiment from real-time news.
Flan-T5 generates context-aware search terms for a company; FinBERT then classifies the sentiment of the resulting articles on a finance-trained three-way scale.
Enchantments 3
- IDynamic query generation instead of static keyword lists.
- IIGoogle News RSS aggregation with deduplication.
- IIIGPU-accelerated FinBERT inference; AWS EC2 / SageMaker compatible.
Field notes
Two models, two jobs
Splitting 'what to search for' (Flan-T5) from 'how does this read' (FinBERT) means each model does what it's good at. The query model keeps the search relevant as news shifts; the sentiment model brings finance-specific language understanding a general model lacks.
Recipe 5 ingredients
ModelsFlan-T5ModelsFinBERTRuntimePyTorchRuntimeCUDARuntimeAWS
Dual-AI Stock Sentiment Analyzer