alt.freeweights.vision / timesfm-2.0-500m-pytorch
From: google <huggingface.co/google>Newsgroups: alt.freeweights.visionSubject:

timesfm-2.0-500m-pytorch

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

Time series forecasting model with 499M parameters. Safetensors weights, 3.99 GB in all. Published by google under Apache-2.0.

499M params3.99GBtimesfm-2.0-500m-pytorchsafetensorspermissive
FactsParams499MSize3.99 GBFormatssafetensorsTasktime series forecastingLicenseApache-2.0From sourcepermissive
$ fw get google/timesfm-2.0-500m-pytorch
# manifest sha256 70fd91525344… · 3.99 GB · 5 files
$ fw verify ./timesfm-2.0-500m-pytorch google/timesfm-2.0-500m-pytorch
From sourceHosted (signed)google/timesfm-2.0-500m-pytorchLast check: 2026-11-14 21:37 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.99 GB
Weights
2.00 GB (safetensors)
Parameters
499M
Formats
safetensors
Task
time series forecasting
License
Apache-2.0 (permissive)
Files
5, each with a sha256
Publisher
google
Added
2026-11-14
Section
alt.freeweights.vision
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:37 UTCpassed

Model card

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

TimesFM#

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

Resources and Technical Documentation:

Authors: Google Research

This is not an officially supported Google product.

Checkpoint timesfm-2.0-500m#

timesfm-2.0-500m is the second open model checkpoint:

  • It performs univariate time series forecasting for context lengths up to 2048 time points and any horizon lengths, with an optional frequency indicator. Note that it can go even beyond 2048 context even though it was trained with that as the maximum context.
  • It focuses on point forecasts. We experimentally offer 10 quantile heads but they have not been calibrated after pretraining.
  • It ideally requires the context to be contiguous (i.e. no "holes"), and the context and the horizon to be of the same frequency. In case there are nans we fill in the missing values with linear interpolation before calling the model.

Installation#

This HuggingFace repo hosts TimesFm checkpoints. Please visit our GitHub repo and follow the instructions for the torch version to install the timesfm library for model inference.

Usage#

Initialize the model and load a checkpoint.#

Then the base class can be loaded as,

import timesfm

# For PyTorch
tfm = timesfm.TimesFm(
      hparams=timesfm.TimesFmHparams(
          backend=<backend>,
          per_core_batch_size=32,
          horizon_len=128,
          input_patch_len=32,
          output_patch_len=128,
          num_layers=50,
          model_dims=1280,
          use_positional_embedding=False,
      ),
      checkpoint=timesfm.TimesFmCheckpoint(
          huggingface_repo_id="google/timesfm-2.0-500m-pytorch"),
  )

Note that the five parameters are fixed to load the 500m model

input_patch_len=32,
output_patch_len=128,
num_layers=50,
model_dims=1280,
use_positional_embedding=False,
  1. The context_len here can be set as the max context length of the model. You can provide a shorter series to the tfm.forecast() function and the model will handle it. Currently, the model handles a max context length of 2048, which can be increased in later releases. The input time series can have any context length. Padding / truncation will be handled by the inference code if needed.
  2. The horizon length can be set to anything. We recommend setting it to the largest horizon length you would need in the forecasting tasks for your application. We generally recommend horizon length <= context length but it is not a requirement in the function call.
Perform inference#

We provide APIs to forecast from either array inputs or pandas dataframe. Both forecast methods expect (1) the input time series contexts, (2) along with their frequencies. Please look at the documentation of the functions tfm.forecast() and tfm.forecast_on_df() for detailed instructions.

In particular, regarding the frequency, TimesFM expects a categorical indicator valued in {0, 1, 2}:

  • 0 (default): high frequency, long horizon time series. We recommend using this for time series up to daily granularity.
  • 1: medium frequency time series. We recommend using this for weekly and monthly data.
  • 2: low frequency, short horizon time series. We recommend using this for anything beyond monthly, e.g. quarterly or yearly.

This categorical value should be directly provided with the array inputs. For dataframe inputs, we convert the conventional letter coding of frequencies to our expected categories, that

  • 0: T, MIN, H, D, B, U
  • 1: W, M
  • 2: Q, Y

Notice you do NOT have to strictly follow our recommendation here. Although this is our setup during model training and we expect it to offer the best forecast result, you can also view the frequency input as a free parameter and modify it per your specific use case.

Examples:

Array inputs, with the frequencies set to low, medium, and high respectively.

import numpy as np
forecast_input = [
    np.sin(np.linspace(0, 20, 100))
    np.sin(np.linspace(0, 20, 200)),
    np.sin(np.linspace(0, 20, 400)),
]
frequency_input = [0, 1, 2]

point_forecast, experimental_quantile_forecast = tfm.forecast(
    forecast_input,
    freq=frequency_input,
)

pandas dataframe, with the frequency set to "M" monthly.

import pandas as pd

# e.g. input_df is
#       unique_id  ds          y
# 0     T1         1975-12-31  697458.0
# 1     T1         1976-01-31  1187650.0
# 2     T1         1976-02-29  1069690.0
# 3     T1         1976-03-31  1078430.0
# 4     T1         1976-04-30  1059910.0
# ...   ...        ...         ...
# 8175  T99        1986-01-31  602.0
# 8176  T99        1986-02-28  684.0
# 8177  T99        1986-03-31  818.0
# 8178  T99        1986-04-30  836.0
# 8179  T99        1986-05-31  878.0

forecast_df = tfm.forecast_on_df(
    inputs=input_df,
    freq="M",  # monthly
    value_name="y",
    num_jobs=-1,
)

Pretraining Data#

It is important to list all the data sources in order to enable fair benchmarking. The TimesFM 2.0 series contains the pretraining set of TimesFM 1.0 along with these additional datasets (a subset of the LOTSA pretraining data that many other models are pretrained on):

DatasetDownload Source
azure_vm_tracesLOTSA Pretrain
residential_load_powerLOTSA Pretrain
borg_cluster_dataLOTSA Pretrain
residential_pv_powerLOTSA Pretrain
q_trafficLOTSA Pretrain
london_smart_meters_with_missingLOTSA Pretrain
taxi_30minLOTSA Pretrain
solar_powerLOTSA Pretrain
wind_powerLOTSA Pretrain
kdd2022LOTSA Pretrain
largestLOTSA Pretrain
era5LOTSA Pretrain
buildingsLOTSA Pretrain
cmip6LOTSA Pretrain
china_air_qualityLOTSA Pretrain
beijing_air_qualityLOTSA Pretrain
subseasonalLOTSA Pretrain
kaggle_web_traffic_weeklyLOTSA Pretrain
cdc_fluview_who_nrevssLOTSA Pretrain
godaddyLOTSA Pretrain

Files

5 files · 3.99 GBWeights 2.00 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 5 files with their sha256
FileSizesha256
.gitattributes1.57 KBff901ca9c8561d9b61d532b304e807b1dfc607a357cc0d940ad39cd5a955b88a
README.md7.35 KBf9665708551e99a82fe69d5351770641d3ee5c5906cc65a84da2c641a1128789
config.json692 B6be4107f60a7e89ea619dbcc99f4d7d321ea02b7dd5124999f6bcfd404932e3a
model.safetensors2.00 GBbb9d7022d8027325f4e656b7d5cf36dd919269fd79ad714eab41f5ba49cc1cfe
torch_model.ckpt2.00 GBa3a1362cdc26f0dde45c9790c438951ff02af96b2d1d6445fdb58f28c77e18de
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
dc2443792c pinned now manifest updated, same commit2026-11-14 21:37 UTC5 files · 3.99 GB
dc2443792c2026-11-14 21:37 UTC5 files · 3.99 GB

Use it

$ fw get google/timesfm-2.0-500m-pytorch
# manifest sha256 70fd91525344… · 3.99 GB · 5 files
$ fw verify ./timesfm-2.0-500m-pytorch google/timesfm-2.0-500m-pytorch
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/google/timesfm-2.0-500m-pytorch.json --dir ./timesfm-2.0-500m-pytorch $ python3 fw.py verify ./timesfm-2.0-500m-pytorch ./google__timesfm-2.0-500m-pytorch.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download google/timesfm-2.0-500m-pytorch --revision dc2443792ce5516872b89b37cf1bc058c3bf0c10 --local-dir ./timesfm-2.0-500m-pytorch

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
f9665708551e99a82fe69d5351770641d3ee5c5906cc65a84da2c641a1128789
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: google <huggingface.co/google>Newsgroups: alt.freeweights.visionSubject: timesfm-2.0-500m-pytorchDate: 2026-11-14Commit: dc24437Signed: 2DC28CC7B26A283B ✓
Upstream
google/timesfm-2.0-500m-pytorch
Pinned commit
dc2443792ce5516872b89b37cf1bc058c3bf0c10
Manifest
timesfm-2.0-500m-pytorch.json · .minisig
Manifest sha256
70fd91525344b55e1f5015edaed308fb7cfea20acc59a9bdd616b5ecff9325d8
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:37 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/google/timesfm-2.0-500m-pytorch.json $ curl -O https://freeweights.allternit.com/manifests/google/timesfm-2.0-500m-pytorch.json.minisig $ minisign -Vm timesfm-2.0-500m-pytorch.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 google/timesfm-2.0-500m-pytorch
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. timesfm-2.0-500m-pytorch.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX