alt.freeweights.granite / granite-timeseries-ttm-r2
From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject:

granite-timeseries-ttm-r2

Date: 2026-11-14Commit: d6a7957Signed: 2DC28CC7B26A283B ✓

Time series forecasting model with 1M parameters. Safetensors weights, 3.81 MB in all. Published by ibm-granite under Apache-2.0.

1M params3.81MBgranite-timeseries-ttm-r2safetensorspermissive
FactsParams1MSize3.81 MBFormatssafetensorsTasktime series forecastingLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-timeseries-ttm-r2
# manifest sha256 48cf27812035… · 3.81 MB · 8 files
$ fw verify ./granite-timeseries-ttm-r2 ibm-granite/granite-timeseries-ttm-r2
From sourceHosted (signed)ibm-granite/granite-timeseries-ttm-r2Last check: 2026-11-14 21:16 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
3.81 MB
Weights
3.24 MB (safetensors)
Parameters
1M
Formats
safetensors
Task
time series forecasting
License
Apache-2.0 (permissive)
Files
8, each with a sha256
Publisher
ibm-granite
Added
2026-11-14
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:16 UTCpassed

Model card

From the publisher at commit d6a7957. Shown as plain text with links; images open at the publisher.

Granite-TimeSeries-TTM-R2 Model Card#

Image: image

TinyTimeMixers (TTMs) are compact pre-trained models for Multivariate Time-Series Forecasting, open-sourced by IBM Research. With model sizes starting from 1M params, TTM introduces the notion of the first-ever “tiny” pre-trained models for Time-Series Forecasting. The paper describing TTM was accepted at NeurIPS 24.

TTM outperforms other models demanding billions of parameters in several popular zero-shot and few-shot forecasting benchmarks. TTMs are lightweight forecasters, pre-trained on publicly available time series data with various augmentations. TTM provides state-of-the-art zero-shot forecasts and can easily be fine-tuned for multi-variate forecasts with just 5% of the training data to be competitive. Note that zeroshot, fine-tuning and inference tasks using TTM can easily be executed on 1 GPU or on laptops.

TTM r2 comprises TTM variants pre-trained on larger pretraining datasets (\~700M samples). The TTM r2.1 release increases the pretraining dataset size to approximately (\~1B samples). The prior model releases, TTM r1, were trained on \~250M samples and can be accessed here. In general, TTM r2 models perform better than TTM r1 models as they are trained on a larger pretraining dataset. In standard benchmarks, TTM r2 outperform TTM r1 by over 15%. However, the choice of r1 vs. r2 depends on your target data distribution, and hence users should try both variants and pick the best model for your data. The TTM r2 releases support point forecasting use-cases specifically ranging from minutely to hourly resolutions (Ex. 10 min, 15 min, 1 hour.). With the TTM r2.1 release, we add support for daily and weekly resolutions.

Model Description#

TTM falls under the category of “focused pre-trained models”, wherein each pre-trained TTM is tailored for a particular forecasting setting (governed by the context length and forecast length). Instead of building one massive model supporting all forecasting settings, we opt for the approach of constructing smaller pre-trained models, each focusing on a specific forecasting setting, thereby yielding more accurate results. Furthermore, this approach ensures that our models remain extremely small and exceptionally fast, facilitating easy deployment without demanding a ton of resources.

Hence, in this model card, we release several pre-trained TTMs that can cater to many common forecasting settings in practice. Each pre-trained model will be released in a different branch name in this model card. Given the variety of models included, we recommend the use of get_model() utility to automatically select the required model based on your input context length, and forecast length, and other requirements. You can also directly access a specific model using our getting started notebook mentioning the branch name.

Model Releases#

There are several models available in different branches of this model card. The naming scheme follows the following format: <context length>-<prediction length>-<frequency prefix tuning indicator>-<pretraining metric>-<release number>

  • context length: The historical data used as input to the TTM model.
  • prediction length: The number of time points predicted by model (i.e., the forecast length)
  • frequency tuning indicator ("ft" or missing): "ft" is used to indicate use of frequency prefix tuning. When enabled an extra embedding vector indicating the frequency of the data is added to the input of the model. If missing, only the context window is used by the model.
  • pretraining metric ("mae" or missing): MAE indicates pertaining with mean absolute error loss, while missing indicates using mean squared error.
  • release number ("r2" or "r2.1"): Indicates the model release; the release indicates which data was used to train the model. See "training data" below for more details on the data included in the particular training datasets.
Example recipes and notebooks#

The scripts below can be used for any of the above TTM models. Please update the HF model URL and branch name in the from_pretrained call appropriately to pick the model of your choice. Please note that a few of the notebooks directly use the get_model() utility to select the model.

Usage guidelines#
  1. Users have to externally standard scale their data independently for every channel before feeding it to the model (refer to TimeSeriesPreprocessor, our data processing utility for data scaling).
  2. The current open-source version supports only minutely and hourly resolutions(Ex. 10 min, 15 min, 1 hour.). Other lower resolutions (say monthly or yearly) are currently not supported in this version, as the model needs a minimum context length of 512 or 1024. With the r2.1 release, we now also support daily and weekly resolution.
  3. Enabling any upsampling or prepending zeros to virtually increase the context length for shorter-length datasets is not recommended and will impact the model performance.
Automatic model selection#

Automatic model selection based on context length, prediction length, and other requirements can be done through use of the get_model() function. For reference, the signature of the function is provided below:

def get_model(
    model_path: str,
    model_name: str = "ttm",
    context_length: Optional[int] = None,
    prediction_length: Optional[int] = None,
    freq_prefix_tuning: bool = False,
    freq: Optional[str] = None,
    prefer_l1_loss: bool = False,
    prefer_longer_context: bool = True,
    force_return: Optional[str] = None,
    return_model_key: bool = False,
    **kwargs,
) -> Union[str, PreTrainedModel]:
    """TTM Model card offers a suite of models with varying `context_length` and `prediction_length` combinations.
    This wrapper automatically selects the right model based on the given input `context_length` and
    `prediction_length` abstracting away the internal complexity.

    Args:
        model_path (str): HuggingFace model card path or local model path (Ex. ibm-granite/granite-timeseries-ttm-r2)
        model_name (str, optional): Model name to use. Current allowed values: [ttm]. Defaults to "ttm".
        context_length (int, optional): Input Context length or history. Defaults to None.
        prediction_length (int, optional): Length of the forecast horizon. Defaults to None.
        freq_prefix_tuning (bool, optional): If true, it will prefer TTM models that are trained with frequency prefix
            tuning configuration. Defaults to None.
        freq (str, optional): Resolution or frequency of the data. Defaults to None. Allowed values are as
            per the `DEFAULT_FREQUENCY_MAPPING`.
        prefer_l1_loss (bool, optional): If True, it will prefer choosing models that were trained with L1 loss or
            mean absolute error loss. Defaults to False.
        prefer_longer_context (bool, optional): If True, it will prefer selecting model with longer context/history
            Defaults to True.
        force_return (str, optional): This is used to force the get_model() to return a TTM model even when the provided
            configurations don't match with the existing TTMs. It gets the closest TTM possible. Allowed values are
            ["zeropad"/"rolling"/"random_init_small"/"random_init_medium"/"random_init_large"/`None`].
            "zeropad" = Returns a pre-trained TTM that has a context length higher than the input context length, hence,
            the user must apply zero-padding to use the returned model.
            "rolling" = Returns a pre-trained TTM that has a prediction length lower than the requested prediction length,
            hence, the user must apply rolling technique to use the returned model to forecast to the desired length.
            The `RecursivePredictor` class can be utilized in this scenario.
            "random_init_small" = Returns a randomly initialized small TTM which must be trained before performing inference.
            "random_init_medium" = Returns a randomly initialized medium TTM which must be trained before performing inference.
            "random_init_large" = Returns a randomly initialized large TTM which must be trained before performing inference.
            `None` = `force_return` is disable. Raises an error if no suitable model is found.
            Defaults to None.
        return_model_key (bool, optional): If True, only the TTM model name will be returned, instead of the actual model.
            This does not downlaod the model, and only returns the name of the suitable model. Defaults to False.

    Returns:
        Union[str, PreTrainedModel]: Returns the Model, or the model name.
    """

Benchmarks#

Image: image

TTM outperforms popular benchmarks such as TimesFM, Moirai, Chronos, Lag-Llama, Moment, GPT4TS, TimeLLM, LLMTime in zero/fewshot forecasting while reducing computational requirements significantly. Moreover, TTMs are lightweight and can be executed even on CPU-only machines, enhancing usability and fostering wider adoption in resource-constrained environments. For more details, refer to our paper.

  • TTM-B referred in the paper maps to the 512 context models.
  • TTM-E referred in the paper maps to the 1024 context models.
  • TTM-A referred in the paper maps to the 1536 context models.

The pre-training dataset used in this release differs slightly from the one used in the research paper, which may lead to minor variations in model performance as compared to the published results. Please refer to our paper for more details. Benchmarking scripts can be found here.

Model Details#

For more details on TTM architecture and benchmarks, refer to our paper.

TTM currently supports two modes:

  • Zeroshot forecasting: Directly apply the pre-trained model on your target data to get an initial forecast (with no training).
  • Finetuned forecasting: Finetune the pre-trained model with a subset of your target data to further improve the forecast.

Since, TTM models are extremely small and fast, it is practically very easy to finetune the model with your available target data in few minutes to get more accurate forecasts.

The current release supports multivariate forecasting via both channel independence and channel-mixing approaches. Decoder Channel-Mixing can be enabled during fine-tuning for capturing strong channel-correlation patterns across time-series variates, a critical capability lacking in existing counterparts. In addition, TTM also supports exogenous infusion and static categorical data infusion.

The r2.1 release builds upon the above, adding improved accuracy for shorter context length, daily/weekly resolution, combined with a larger pre-training dataset.

Training Data#

The r2 TTM models were trained on a collection of datasets as follows:

The r2.1 TTM models (denoted by branches with suffix r2.1) were trained on the above collection, in addition to the following datasets:

Citation#

Please cite the following paper if you intend to use our model or its associated architectures/approaches in your work.

BibTeX:

@inproceedings{ekambaram2024tinytimemixersttms,
      title={Tiny Time Mixers (TTMs): Fast Pre-trained Models for Enhanced Zero/Few-Shot Forecasting of Multivariate Time Series},
      author={Vijay Ekambaram and Arindam Jati and Pankaj Dayama and Sumanta Mukherjee and Nam H. Nguyen and Wesley M. Gifford and Chandra Reddy and Jayant Kalagnanam},
      booktitle={Advances in Neural Information Processing Systems (NeurIPS 2024)},
      year={2024},
}

Model Card Authors#

Vijay Ekambaram, Arindam Jati, Pankaj Dayama, Wesley M. Gifford, Tomoya Sakai, Sumanta Mukherjee, Chandra Reddy and Jayant Kalagnanam

IBM Public Repository Disclosure#

All content in this repository including code has been provided by IBM under the associated open source software license and IBM is under no obligation to provide enhancements, updates, or support. IBM developers produced this code as an open source project (not as an IBM product), and IBM makes no assertions as to the level of quality nor security, and will not be maintaining this code going forward.

Files

8 files · 3.81 MBWeights 3.24 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 8 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md18.2 KBe20234ff1a9eec054fd643d5ef7a4683857c8b24c7b00b466a9f55b6e22728ff
benchmarks.webp170 KBfd5c0cc8e071e42bd0513fc53cfbe1d49043e798fb54d14887715614069ea479
config.json1.56 KB5e2367547c103e92cb8ebc63cbd5ad4d7bf83facad5a2a2ec261fa770ed659d5
generation_config.json69 B69d76e6b0a3b31f0de871f8f5b968957e0532fd9b17214aabf151da4bdbe1804
model.safetensors3.24 MBa706726a7eb01bbcb42994b7dcb3c06ea9557898dbae8d480eb04fe8ccb89710
training_args.bin4.92 KB0cefcfb5a52810ab0e1103fe206c6d5b00a4c86159a4a957681031122ec23ee7
ttm_image.webp377 KBec63340da31707b78e94252177bc57e1c7d27713734f8e4aa393ca826375d5d9
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d6a79570ca pinned now manifest updated, same commit2026-11-14 21:16 UTC8 files · 3.81 MB
d6a79570ca2026-11-14 21:16 UTC8 files · 3.81 MB

Use it

$ fw get ibm-granite/granite-timeseries-ttm-r2
# manifest sha256 48cf27812035… · 3.81 MB · 8 files
$ fw verify ./granite-timeseries-ttm-r2 ibm-granite/granite-timeseries-ttm-r2
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ibm-granite/granite-timeseries-ttm-r2.json --dir ./granite-timeseries-ttm-r2 $ python3 fw.py verify ./granite-timeseries-ttm-r2 ./ibm-granite__granite-timeseries-ttm-r2.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-timeseries-ttm-r2 --revision d6a79570cac0f33d526601cd3a0fc7c80a8f9a2f --local-dir ./granite-timeseries-ttm-r2

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
e20234ff1a9eec054fd643d5ef7a4683857c8b24c7b00b466a9f55b6e22728ff
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject: granite-timeseries-ttm-r2Date: 2026-11-14Commit: d6a7957Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-timeseries-ttm-r2
Pinned commit
d6a79570cac0f33d526601cd3a0fc7c80a8f9a2f
Manifest
granite-timeseries-ttm-r2.json · .minisig
Manifest sha256
48cf278120358b99e0ae0ee159976a8605ca6e89086dc8f929938fb54e5d38ab
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:16 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-timeseries-ttm-r2.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-timeseries-ttm-r2.json.minisig $ minisign -Vm granite-timeseries-ttm-r2.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-timeseries-ttm-r2
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. granite-timeseries-ttm-r2.json. Provenance. Takedown history: none.
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed3
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed3