Views
No views yet
1from model.kronos import KronosTokenizer
2
3tokenizer = KronosTokenizer.from_pretrained("NeoQuasar/Kronos-Tokenizer-base")
4# Your tokenization code here1from model.kronos import Kronos, KronosTokenizer, KronosPredictor
2
3tokenizer = KronosTokenizer.from_pretrained("NeoQuasar/Kronos-Tokenizer-base")
4model = Kronos.from_pretrained("NeoQuasar/Kronos-Tokenizer-base")
5predictor = KronosPredictor(model, tokenizer, device="cuda")
6
7# Your prediction code here
8predictions = predictor.predict(...)1# Clone the Kronos repository
2git clone https://github.com/shiyu-coder/Kronos.git
3cd Kronos
4
5# Use the fine-tuned models
6python examples/use_finetuned_model.py \
7 --csv_data your_data.csv \
8 --lookback 400 \
9 --pred_len 1201@misc{shi2025kronos,
2 title={Kronos: A Foundation Model for the Language of Financial Markets},
3 author={Yu Shi and Zongliang Fu and Shuo Chen and Bohan Zhao and Wei Xu and Changshui Zhang and Jian Li},
4 year={2025},
5 eprint={2508.02739},
6 archivePrefix={arXiv},
7 primaryClass={q-fin.ST},
8 url={https://arxiv.org/abs/2508.02739},
9}