
timesfm
Foundation model for time-series forecasting
Replaces Google Bigquery

Who it's for
Use TimesFM to forecast product demand and optimize inventory levels.
If you require highly specialized models for niche products.
Use TimesFM to predict stock trends and market movements.
If you need real-time predictions with high-frequency data.
The problem
Traditional time-series forecasting methods require extensive training and validation cycles, making it difficult for users to quickly adapt models to new datasets.
How it works
Provides accurate forecasts on unseen time-series data without additional training.
Trained on 100 billion time-points, enhancing generalization across domains.
Utilizes only 200M parameters while achieving competitive performance.
Adapts to varying input lengths and can forecast long-term outcomes.
Available on HuggingFace and GitHub for community use.
Features
- Zero-shot Forecasting
- Large Pre-training Dataset
- Compact Model Size
- Flexible Context and Horizon
- Open Source Access
How to install
Install TimesFM in a Python environment when you want to run the open model locally or on your own CPU or GPU host. The current upstream README recommends cloning the repository and installing package extras with uv; choose torch, flax, or xreg based on your inference or fine-tuning path.
git clone https://github.com/google-research/timesfm.git
cd timesfm
uv venv
source .venv/bin/activate
uv pip install -e .[torch]
uv pip install -e .[xreg]Recommended for this setup
Strengths
- High Accuracy: Demonstrates superior performance compared to traditional statistical methods.
- Rapid Deployment: Enables quick integration into existing workflows without extensive retraining.
Trade-offs
- Limited Customization: May not perform as well on highly specialized datasets without fine-tuning.
- Smaller Model Size: While efficient, it may lack some capabilities of larger models in specific scenarios.
Tech stack
FAQ
TimesFM is a decoder-only foundation model for time-series forecasting developed by Google Research.
You can access TimesFM on HuggingFace and GitHub.
Industries such as retail, finance, healthcare, and manufacturing can benefit from its forecasting capabilities.