chronos2-ashare-lora-48k
LoRA adapter for financial time-series forecasting
2 min readupdated
The model is a financial fine-tune of the amazon/chronos-2 architecture at a fixed step of 48,000 on Chinese A-share data from 2022 to 2024. It solves the task of forecasting future close price quantiles (including the median) using historical minute-level OHLCVA data and calendar features. The model uses PEFT (a library for efficient fine-tuning of large models) in LoRA format (a lightweight add-on to the base model) and comes with ready-to-use inference scripts for CPU or CUDA. Useful for quantitative researchers and algorithmic trading system developers.
Key features
- Base model: Built on amazon/chronos-2 using LoRA settings (r8, alpha16, dropout0).
- Financial protocol: Trained on 4,992 available stocks using rolling minute-level history, L256 context, and an H10 forecasting horizon.
- Optimization metrics: Minimization of MSE across all 10 cumulative log returns with close price quantile prediction.
- Execution flexibility: Supports running on CPU and CUDA with explicit loading of the unmerged adapter via
PeftModel.from_pretrained.
What you can do
- Series forecasting: Run a local prediction script with custom history and future timestamp CSV files.
- Financial analysis: Evaluate price movement direction and log returns for trading instruments based on minute-level data.
- Pipeline integration: Use the repository for research experiments with time series and financial timestamps.
Example
Example of running a prediction from the model directory via the command line:
hf download wfscut/chronos2-ashare-lora-48k --local-dir chronos2-ashare-lora-48k
cd chronos2-ashare-lora-48k
python -m pip install -r requirements.txt
python predict.py --model . --mode lora --device cpuRead more
DetailsGIFT-Eval (97 configurations, 7 domains): relative MASE change +3.12%, WQL +3.12%
Developer: wfscut
Limitations: Research artifact, not an official Amazon release
Requirements: Python 3.12, PyTorch, CPU or CUDA










Comments