Mamba4Cast, a zero-shot time series forecasting model, achieves competitive performance and faster inference than transformer-based models by leveraging Mamba architecture and synthetic training data to generalize robustly without fine-tuning.
56
stars
4
commits
Jupyter Notebook
primary language
Oct 11, 2024
updated

This repository contains the code for Mamba4Cast, a zero-shot foundational model for time series forecasting built on the Mamba architecture. Mamba4Cast predicts the entire forecast horizon in a single pass, offering efficient and scalable forecasting for real-life datasets without the need for task-specific fine-tuning. This work is based on the Mamba architecture.
Mamba4Cast introduces a novel approach to time series forecasting by leveraging synthetic data for training. Built on the Mamba architecture, this model generalizes effectively across diverse time series tasks. Unlike autoregressive models, which predict one step at a time, Mamba4Cast makes a single prediction for the entire forecast horizon, significantly improving computational efficiency.
To install the necessary dependencies and set up the environment for Mamba4Cast, follow the steps below:
Clone the repository:
git clone https://github.com/automl/Mamba4Cast
cd Mamba4Cast
Create a virtual environment (optional but recommended) with python 3.10.13
Activate the environment and run the following bash script:
bash install_requirements.sh
Create a directory models in the main directory of the project, download our model weights, and place the file in models.
Other requirements:
You can refer to the Mamba4Cast_example.ipynb notebook to have results resembling the sine-wave figure in the paper.
Jupyter Notebook
94.9%
Python
5.1%
Mamba4Cast, a zero-shot time series forecasting model, achieves competitive performance and faster inference than transformer-based models by leveraging Mamba architecture and synthetic training data to generalize robustly without fine-tuning.
56
stars
4
commits
Jupyter Notebook
primary language
Oct 11, 2024
updated

This repository contains the code for Mamba4Cast, a zero-shot foundational model for time series forecasting built on the Mamba architecture. Mamba4Cast predicts the entire forecast horizon in a single pass, offering efficient and scalable forecasting for real-life datasets without the need for task-specific fine-tuning. This work is based on the Mamba architecture.
Mamba4Cast introduces a novel approach to time series forecasting by leveraging synthetic data for training. Built on the Mamba architecture, this model generalizes effectively across diverse time series tasks. Unlike autoregressive models, which predict one step at a time, Mamba4Cast makes a single prediction for the entire forecast horizon, significantly improving computational efficiency.
To install the necessary dependencies and set up the environment for Mamba4Cast, follow the steps below:
Clone the repository:
git clone https://github.com/automl/Mamba4Cast
cd Mamba4Cast
Create a virtual environment (optional but recommended) with python 3.10.13
Activate the environment and run the following bash script:
bash install_requirements.sh
Create a directory models in the main directory of the project, download our model weights, and place the file in models.
Other requirements:
You can refer to the Mamba4Cast_example.ipynb notebook to have results resembling the sine-wave figure in the paper.
Jupyter Notebook
94.9%
Python
5.1%