Spaces:
Sleeping
Sleeping
File size: 1,175 Bytes
92f284c 5c311f8 92f284c 5c311f8 92f284c 5c311f8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
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. |