eulogik / nanoforecast-v03

huggingface.co
Total runs: 37
24-hour runs: 1
7-day runs: -13
30-day runs: -24
Model's Last Updated: September 29 2026
time-series-forecasting

Introduction of nanoforecast-v03

Model Details of nanoforecast-v03

๐Ÿ”ฎ NanoForecast v0.3
World's most deployable time series transformer

6.5M params ยท 512 context ยท Streaming RNN ยท ONNX-ready
Runs on CPU, Raspberry Pi, and in the browser


๐Ÿš€ Why NanoForecast?

Most time series foundation models are too big to ship โ€” they need GPUs, terabytes of training data, and a PhD to deploy. NanoForecast is different:

Feature NanoForecast Other Foundation Models
Parameters 200K โ€“ 6.5M 200M โ€“ 10B+
Inference device CPU, Raspberry Pi, browser GPU required
Model size 1.4 MB (ONNX) 1 GB+
Streaming โœ… Stateful RNN โ€” feed one value at a time โŒ Fixed-window only
Training 2 min on laptop 1000+ GPU-hours
ONNX export โœ… Built-in โŒ Often broken
Zero-shot โœ… on 6 benchmark datasets โœ… but expensive
License Apache 2.0 Often restrictive

Stop renting GPUs for forecasting. Train on your laptop. Deploy to a $35 Raspberry Pi. Get production forecasts in minutes.

๐Ÿ† Benchmarks
Dataset MASE sMAPE (%) MAE CRPS
ETTh1 1.95 12.06 1.30 1.05
ETTh2 2.74 10.47 2.46 1.99
ETTm1 2.17 10.70 0.72 0.65
exchange_rate 7.44 1.72 0.011 0.014
electricity 1.29 4.76 158.30 175.24
traffic 0.81 24.00 0.004 0.003
Overall 2.73 10.62 27.13 29.83

Benchmarks on 6 standard datasets. Overall MASE improved 21% from v0.2 (3.45 โ†’ 2.73). See GitHub for full results on 3 model sizes.

๐Ÿ“ฆ Quick Start
pip install nanoforecast
import numpy as np
from nanoforecast import NanoForecast

model = NanoForecast.from_pretrained("eulogik/nanoforecast-v03")
context = np.sin(np.linspace(0, 8*np.pi, 512)) + 0.1 * np.random.randn(512)
out = model.predict(context, horizon=48, freq=1)
print(out["forecast"].shape)  # (48,) point forecast
๐Ÿ”„ Streaming Inference (Unique to NanoForecast)

NanoForecast's DeltaNet RNN maintains a recurrent state across calls โ€” no other TS model does this .

result = model.predict(context, horizon=48, return_state=True)
state = result.pop("state")

for new_val in incoming_data_stream:
    result = model.predict_step(new_val, state, horizon=48)
    print(result["forecast"][0, :5])  # updated forecast instantly

Use it for:

  • Real-time IoT sensor monitoring
  • Live financial tick data
  • Interactive dashboards
  • Edge devices with limited memory
๐ŸŽฏ Try It in 1 Click

Open in HF Spaces

Upload a CSV โ†’ get forecast + prediction intervals + decomposition. No code. No GPU.

๐Ÿง  Model Details
Attribute Value
Profile d96-L8
Parameters 6,518,104
Context length 512
Prediction length 48
Hidden dim / layers 96 / 8
Architecture LongConv + DeltaNet RNN + Gated Router + MLP
Outputs Point forecast + p10/p25/p50/p75/p90 quantiles
Decomposition Trend + Seasonal + Residual
Export ONNX FP32 + INT8
Streaming Stateful DeltaNet RNN
โšก Training Details
Attribute Value
Datasets ETTh1, ETTh2, ETTm1, exchange_rate, electricity, traffic
Synthetic records 10,000
Epochs 200
Best epoch 147
Val loss (best) 0.2230
Batch size 128
Learning rate 3e-5
Wall time 42,144s (11.7h on Colab T4)
โœจ What Makes NanoForecast Special
  • ๐Ÿชถ Featherweight : 200Kโ€“6.5M params, not 200M+. Ships as a dependency, not an API call.
  • ๐Ÿ“ก Streaming native : Feed one value at a time, get updated forecasts. Perfect for IoT and real-time data.
  • ๐Ÿ’ป Zero-GPU inference : Runs on ARM, x86, RISC-V. Benchmarked at <50ms on Raspberry Pi 4.
  • ๐Ÿ“ฆ Single pip install : pip install nanoforecast โ†’ ready in 30 seconds.
  • ๐Ÿญ Production-grade : ONNX export, Docker, FastAPI server all included.
  • ๐Ÿ“Š Full uncertainty : 5 quantiles + prediction intervals + trend/seasonal decomposition.
  • ๐Ÿ”Œ HuggingFace native : from_pretrained / push_to_hub โ€” works like any HF model.
๐Ÿ”ง Deploy Anywhere
# FastAPI server
pip install nanoforecast fastapi uvicorn python-multipart
python3 deploy/fastapi_server.py

# ONNX export (edge/IoT/browser)
pip install "nanoforecast[onnx]"
python3 -m nanoforecast.export.onnx_export \
    --checkpoint <dir> \
    --output nanoforecast.onnx

# Docker
docker build -t nanoforecast .
docker run -p 8000:8000 nanoforecast
๐Ÿ“š Pretrained Variants
Model Params Size Context Best For
nanoforecast-200k ~676K 2.7 MB 256 Extreme edge / RPi Zero
nanoforecast-500k ~1.6M 6.4 MB 256 General purpose / mobile
nanoforecast-v03 (you are here) ~6.5M 26 MB 512 Max accuracy / server
๐Ÿ“„ Paper

Read the tech report: deploy/paper.tex (LaTeX, 8 sections).

โš ๏ธ Known Limitations
  • Modest accuracy vs. 200M+ param models (MASE 2.73 vs TimesFM ~0.72)
  • Fixed context window (512 for v0.3)
  • Univariate channels (no cross-channel attention)
  • Training requires PyTorch (inference can be pure ONNX)
โค๏ธ Built by Eulogik

Eulogik

Eulogik builds deployable AI for the real world. We believe ML models should run on the hardware people actually have, not the hardware vendors want to sell.

Star the repo โญ if you find this useful โ€” it helps others discover NanoForecast!

Runs of eulogik nanoforecast-v03 on huggingface.co

37
Total runs
1
24-hour runs
1
3-day runs
-13
7-day runs
-24
30-day runs

More Information About nanoforecast-v03 huggingface.co Model

More nanoforecast-v03 license Visit here:

https://choosealicense.com/licenses/apache-2.0

nanoforecast-v03 huggingface.co

nanoforecast-v03 huggingface.co is an AI model on huggingface.co that provides nanoforecast-v03's model effect (), which can be used instantly with this eulogik nanoforecast-v03 model. huggingface.co supports a free trial of the nanoforecast-v03 model, and also provides paid use of the nanoforecast-v03. Support call nanoforecast-v03 model through api, including Node.js, Python, http.

nanoforecast-v03 huggingface.co Url

https://huggingface.co/eulogik/nanoforecast-v03

eulogik nanoforecast-v03 online free

nanoforecast-v03 huggingface.co is an online trial and call api platform, which integrates nanoforecast-v03's modeling effects, including api services, and provides a free online trial of nanoforecast-v03, you can try nanoforecast-v03 online for free by clicking the link below.

eulogik nanoforecast-v03 online free url in huggingface.co:

https://huggingface.co/eulogik/nanoforecast-v03

nanoforecast-v03 install

nanoforecast-v03 is an open source model from GitHub that offers a free installation service, and any user can find nanoforecast-v03 on GitHub to install. At the same time, huggingface.co provides the effect of nanoforecast-v03 install, users can directly use nanoforecast-v03 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

nanoforecast-v03 install url in huggingface.co:

https://huggingface.co/eulogik/nanoforecast-v03

Url of nanoforecast-v03

nanoforecast-v03 huggingface.co Url

Provider of nanoforecast-v03 huggingface.co

eulogik
ORGANIZATIONS

Other API from eulogik

huggingface.co

Total runs: 395
Run Growth: 207
Growth Rate: 52.41%
Updated:October 01 2026
huggingface.co

Total runs: 279
Run Growth: -107
Growth Rate: -38.35%
Updated:October 05 2026
huggingface.co

Total runs: 230
Run Growth: 177
Growth Rate: 76.96%
Updated:September 29 2026
huggingface.co

Total runs: 108
Run Growth: 96
Growth Rate: 88.89%
Updated:September 29 2026
huggingface.co

Total runs: 55
Run Growth: 29
Growth Rate: 52.73%
Updated:September 26 2026
huggingface.co

Total runs: 9
Run Growth: 9
Growth Rate: 100.00%
Updated:October 06 2026