Follow these steps to set up and run inference using Tiny Time Mixers:
- Set up the environment and initialize submodules.
- Run the inference script with the following commands:
MODEL='tinytimemixer'
for DATASET in 'etth1' 'etth2' 'ettm1' 'ettm2' 'weather_ltsf'; do
for CTX_LEN in 5000 96; do
for PRED_LEN in 24 48 96 192 336 720; do
python run.py --config config/tsfm/${MODEL}.yaml --seed_everything 0 \
--data.data_manager.init_args.path ${DATA_DIR} \
--trainer.default_root_dir ${LOG_DIR} \
--data.data_manager.init_args.split_val true \
--data.data_manager.init_args.dataset ${DATASET} \
--data.data_manager.init_args.context_length ${CTX_LEN} \
--data.data_manager.init_args.prediction_length ${PRED_LEN} \
--data.test_batch_size 1
done
done
done