Web user interface for Conductor financial prediction model, providing intuitive graphical operation interface.
- Multi-format data support: Supports CSV, Feather and other financial data formats
- Smart time window: Fixed 400+120 data point time window slider selection
- Real model prediction: Integrated real Conductor model, supports multiple model sizes
- Prediction quality control: Adjustable temperature, nucleus sampling, sample count and other parameters
- Multi-device support: Supports CPU, CUDA, MPS and other computing devices
- Comparison analysis: Detailed comparison between prediction results and actual data
- K-line chart display: Professional financial K-line chart display
cd webui
python run.pycd webui
chmod +x start.sh
./start.shcd webui
python app.pyAfter successful startup, visit http://localhost:7070
- Load data: Select financial data file from data directory
- Load model: Select Conductor model and computing device
- Set parameters: Adjust prediction quality parameters
- Select time window: Use slider to select 400+120 data point time range
- Start prediction: Click prediction button to generate results
- View results: View prediction results in charts and tables
- Range: 0.1 - 2.0
- Effect: Controls prediction randomness
- Recommendation: 1.2-1.5 for better prediction quality
- Range: 0.1 - 1.0
- Effect: Controls prediction diversity
- Recommendation: 0.95-1.0 to consider more possibilities
- Range: 1 - 5
- Effect: Generate multiple prediction samples
- Recommendation: 2-3 samples to improve quality
open: Opening pricehigh: Highest pricelow: Lowest priceclose: Closing price
volume: Trading volumeamount: Trading amount (not used for prediction)timestamps/timestamp/date: Timestamp
- Conductor-mini: 4.1M parameters, lightweight fast prediction
- Conductor-small: 24.7M parameters, balanced performance and speed
- Conductor-base: 102.3M parameters, high quality prediction
- CPU: General computing, best compatibility
- CUDA: NVIDIA GPU acceleration, best performance
- MPS: Apple Silicon GPU acceleration, recommended for Mac users
amountcolumn is not used for prediction, only for display- Time window is fixed at 400+120=520 data points
- Ensure data file contains sufficient historical data
- First model loading may require download, please be patient
The system automatically provides comparison analysis between prediction results and actual data, including:
- Price difference statistics
- Error analysis
- Prediction quality assessment
- Backend: Flask + Python
- Frontend: HTML + CSS + JavaScript
- Charts: Plotly.js
- Data processing: Pandas + NumPy
- Model: Hugging Face Transformers
- Port occupied: Modify port number in app.py
- Missing dependencies: Run
pip install -r requirements.txt - Model loading failed: Check network connection and model ID
- Data format error: Ensure data column names and format are correct
Detailed runtime information will be displayed in the console at startup, including model status and error messages.
This project follows the license terms of the original Conductor project.
Welcome to submit Issues and Pull Requests to improve this Web UI!
If you have questions, please check:
- Project documentation
- GitHub Issues
- Console error messages