yhatmodels
Open foundation models from YHat Labs that run on your own computer.
A week of hourly electricity demand on the Texas Gulf Coast, forecast from two weeks of history, with no training.
Data: ERCOT.
ChakraTS-OS-10M, our first open model, forecasts any time series from its history, with a range of likely values around every step and no training on your data. It uses what you know about the future, reads up to 32,768 past values, and with 10.6M parameters runs on a laptop CPU. It is the most accurate open forecasting model under 100M parameters on fev-bench (see Results).
Forecasting in production? Use ChakraTS, our most accurate model, through the YHat Labs API.
Quick start
pip install yhatmodels
Load the model. The first time, your browser opens to accept the model license once, with a free yhatlabs.com account, and the model (42 MB) downloads:
from yhatmodels import ChakraTS
model = ChakraTS.from_pretrained("ChakraTS-OS-10M")
Then forecast any series:
import numpy as np
history = 10 + np.sin(np.arange(500) / 24 * 2 * np.pi) # any series: sales, demand, sensor readings
q = model.forecast(history, h=48) # the next 48 steps: quantiles 0.1, 0.5 and 0.9
After that the model runs entirely on your computer. Or start with the getting-started notebook in Colab.
What you can do
Get a range, not just a number
Ask for the intervals you need; an 80% interval should hold the actual value about 80% of the time.
q = model.forecast(history, h=48, level=[80, 95]) # (48, 5): the 95% and 80% interval edges around the median
Use what you know about the future
Name the columns you know ahead as known, with their future values in the rows after your last observation.
# df: one row per hour with ds, y (solar output), sunlight and clouds;
# the last 48 rows hold tomorrow's weather forecast, with y empty
fc = model.forecast(df, h=48, known=["sunlight", "clouds"])
From history alone, the model expects another sunny day; with sunlight and cloud cover it sees the cloudy one
coming. Data: Renewable Energy and Weather Conditions (CC0).
Forecast your tables
One row per series and timestamp in; one row per future step out, with the quantiles or intervals you ask for.
fc = model.forecast(df, h=7, known=["price", "promo"], level=[80, 95])
fc.head() # unique_id, ds, q2.5, q10, median, q90, q97.5
Four regions of the Texas grid, forecast three days ahead in one call. Data: ERCOT.
Check it on your own history
evaluate forecasts from a few points in each series' past and scores the forecasts against what happened, next to a
seasonal baseline.
res = model.evaluate(df, h=7, windows=3)
res.summary # accuracy per model, and how much better than the baseline
res.plot() # each forecast against what happened (pip install "yhatmodels[plot]")
res.plot_calibration() # do 10% of actual values fall below the 10% quantile, and so on?
Four past days of Gulf Coast demand, each forecast from the history before it, and the calibration across all four
regions.
Fine-tune on your data
tune adapts the model to your own patterns (promotions, paydays) in seconds to minutes on a CPU, and keeps the tune only
if it beats the original on your held-out history.
tuned = model.tune(df, h=7)
tuned.save("my-tuned/")
From the command line
yhatmodels forecast sales.csv --h 7 --known price,promo --level 80,95 -o forecast.csv
yhatmodels evaluate sales.csv --h 7 --windows 3
Every option is in the usage guide.
Results
fev-bench scores forecasting models on 100 tasks; the skill score says how much more accurate a model is than a simple seasonal forecast (higher is better).
| Model | Parameters | All 100 tasks | 42 tasks with covariates |
|---|---|---|---|
| ci-proto | 167M | 51.5 | 53.0 |
| TimeH2O-v1 | 109M | 50.8 | 51.4 |
| Timestral-209M | 209M | 50.4 | 50.7 |
| ChakraTS-OS-10M | 10.6M | 49.9 | 50.1 |
| t0-gamma | 256M | 49.4 | 49.3 |
| TimesFM-3 | 331M | 49.0 | 49.0 |
| Simons-297M | 297M | 48.4 | 47.3 |
| Chronos-2 | 119M | 47.3 | 47.0 |
| Timestral-5M | 5.2M | 46.2 | 44.5 |
| TimeH2O-v1-tiny | 5.8M | 45.5 | 41.5 |
| Toto-2.0-2.5B | 2.5B | 44.4 | 38.8 |
fev-bench skill score (%), November 2026, computed as the leaderboard does from the result files in the fev repository; sizes from the models' Hugging Face pages (data). Our GIFT-Eval and TIME results, and notebooks that reproduce all three, are in the cookbook.
Open model or API?
| yhatmodels (this library) | YHat Labs API | |
|---|---|---|
| Model | ChakraTS-OS-10M, open weights | ChakraTS, our most accurate model |
| Runs | on your computer | on our servers |
| For | research, evaluation, personal projects, competitions | production and commercial use |
| Start | pip install yhatmodels |
pip install yhatlabs, with a key from yhatlabs.com |
Both use the same argument names, so code moves from one to the other with few changes.
Models
| Model | Task | Parameters | History read | Output | License |
|---|---|---|---|---|---|
| ChakraTS-OS-10M | forecasting | 10.6M | up to 32,768 steps | quantiles at any level | non-commercial |
License
The yhatmodels code is Apache-2.0. The ChakraTS-OS-10M
weights are under the Chakra Non-Commercial Model License: free for academic research,
personal use, evaluation for up to 90 days and data science competitions. For commercial use, use the
YHat Labs API or write to licensing@yhatlabs.com.
The first download asks you to accept the license once, with a free yhatlabs.com account:
- On your computer: your browser opens; sign in or create an account, accept, and the download starts.
- Over SSH: the terminal shows a link; open it anywhere and paste back the token it shows.
- In a notebook on another machine (a remote Jupyter server, a dev container): open the second link it prints on
your own computer, then set
YHAT_MODELS_TOKENto the token the page shows. - In CI or scripts: set
YHAT_MODELS_TOKEN(from yhatlabs.com/models/license), or runyhatmodels accept-license ChakraTS-OS-10Monce.
Questions
Does my data leave my computer? No. The only call to YHat Labs is the license check before the first download, which sends your token and nothing else.
Can I use it offline? Yes. Once downloaded, the weights stay in the Hugging Face cache and later runs need no network.
Do I need a GPU? No. An NVIDIA or Apple GPU helps with large batches and long histories.
What can't it do? It returns quantiles, not sample paths; it has no static covariates; it reads at most the last 32,768 steps; and forecasts past 768 steps continue in blocks and lose accuracy. The hosted ChakraTS adds sample paths and static covariates.
Citation
@misc{yhatlabs2026chakratsos,
title = {{ChakraTS-OS}: open-weight time-series forecasting models},
author = {{YHat Labs}},
year = {2026},
howpublished = {\url{https://huggingface.co/yhatlabs/ChakraTS-OS-10M}},
url = {https://huggingface.co/yhatlabs/ChakraTS-OS-10M}
}
Metadata
Release files for yhatmodels 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yhatmodels-0.1.1.tar.gz | 1.7 MB | With provenance | Details for yhatmodels-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yhatmodels-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for yhatmodels-0.1.1-py3-none-any.whl |
Total release size: 1.8 MB
Release files / yhatmodels-0.1.1.tar.gz
| Download URL | yhatmodels-0.1.1.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13afe3efc0fd1d8531e8b84f7f23a306065d04745db1b8e0620a17d21e2a949d
|
|
BLAKE2b-256 checksum How to use checksums |
af09c49b41c779f27a7cd04a13a3385b40579c6a2611cf872bc09372dca262f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / yhatmodels-0.1.1-py3-none-any.whl
| Download URL | yhatmodels-0.1.1-py3-none-any.whl |
|---|---|
| Size | 64.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0566c0d911a0d1803deab461366bf16c7ae2552281c3923b5a8ac33fbe6f56d0
|
|
BLAKE2b-256 checksum How to use checksums |
2a9e89d7a6a8e5ac4fa9c36b85c60c9a574f2a5482e4d127f4815f564d97f9a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logSecurity for yhatmodels 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for yhatmodels-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.