Spaces:
Sleeping
Sleeping
| title: StockMatch | |
| emoji: π | |
| colorFrom: indigo | |
| colorTo: yellow | |
| sdk: gradio | |
| sdk_version: 5.49.1 | |
| python_version: '3.12' | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| # StockMatch AI | |
| Matching everyday savers to stocks that help protect against inflation. | |
| Answer six questions, or click one of three preset investor profiles, and the app | |
| retrieves matching stocks and writes a personalised explanation. | |
| **How it works** | |
| 1. **Dataset** β 12,500 synthetic stock records generated with `Qwen2.5-1.5B-Instruct`, | |
| hosted at [Kogann/stockmatch-synthetic](https://huggingface.co/datasets/Kogann/stockmatch-synthetic) | |
| 2. **Retrieval** β numeric features are verbalised into text, embedded with | |
| `BAAI/bge-small-en-v1.5`, and searched with FAISS | |
| 3. **Filtering** β risk, budget, sector and market are enforced as hard constraints; | |
| semantic similarity ranks what remains | |
| 4. **Generation** β `SmolLM2-1.7B-Instruct` writes one explanatory sentence per stock | |
| All figures shown are printed directly from the dataset, so the language model | |
| cannot fabricate them. | |
| β οΈ All data is synthetic and generated for an educational project. This is not | |
| investment advice. |