What is Zero-Shot Forecasting?
Zero-shot forecasting allows you to make predictions on time-series data without fine-tuning the model on your specific dataset. Samay’s pre-trained foundation models (LPTM, MOMENT, Chronos, Moirai, etc.) can generate forecasts immediately using their learned representations from large-scale pre-training. This approach is ideal when:- You have limited training data
- You need quick predictions without training time
- You want to test a model’s capabilities before committing to fine-tuning
- Your data shares similar patterns with the pre-training corpus
Step-by-Step Workflow
Here’s how to perform zero-shot forecasting with any Samay model:Real Examples
LPTM Zero-Shot Forecasting
Fromlptm_zero.ipynb, LPTM achieves strong zero-shot performance on the ETTh1 dataset:
Chronos Zero-Shot Forecasting
Chronos provides probabilistic forecasts with quantile predictions:Tips for Best Results
Choose the right context length
Choose the right context length
Use longer context windows for capturing long-term patterns. Most models support 512-1024 timesteps.
Normalize your data
Normalize your data
Ensure your data is properly scaled. Most Samay datasets handle normalization automatically.
Match the frequency
Match the frequency
If using models like Moirai, specify the frequency parameter (
freq='h' for hourly, freq='d' for daily, etc.).Try multiple models
Try multiple models
Different architectures excel at different patterns. Test LPTM, MOMENT, Chronos, and Moirai to find the best fit.
Consider ensemble predictions
Consider ensemble predictions
For critical applications, combine predictions from multiple zero-shot models.
Next Steps
- Poor zero-shot results? Try fine-tuning on your specific dataset
- Need uncertainty estimates? Use probabilistic models like Chronos or Moirai
- Multivariate forecasting? LPTM and MOMENT support multiple time-series channels