Downloads · 30 days
22
28% of all-time downloads
eulogik/nanoforecast-200k
nanoforecast-200k is a time series forecasting model from eulogik. Use it for the time series forecasting task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as apache-2.0.
<h1 align="center" 🔮 NanoForecast 200k (v0.1) <br <subWorld's smallest deployable time series transformer</sub </h1
Downloads · 30 days
22
28% of all-time downloads
All-time downloads
78
Public
Parameters
676K
2.7 MB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors2.7 MB · 100%
From the Hugging Face model README
pip install nanoforecast
python3 train_from_csv.py --csv my_data.csv --target sales --horizon 48
Or use a pretrained model:
from nanoforecast import NanoForecast
model = NanoForecast.from_pretrained("eulogik/nanoforecast-200k")
| Scenario | Pick This Model |
|---|---|
| Raspberry Pi Zero (512 MB RAM) | ✅ nanoforecast-200k |
| Browser via ONNX.js (< 1 MB) | ✅ nanoforecast-200k |
| AWS Lambda cold starts | ✅ nanoforecast-200k |
| Battery-powered IoT sensor | ✅ nanoforecast-200k |
| Any accuracy-critical app | ❌ Use v0.3 instead |
Feed one value at a time with DeltaNet stateful RNN:
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)
| Model | Params | Context | Size | Best For |
|---|---|---|---|---|
| nanoforecast-200k (you are here) | 676K | 256 | 2.7 MB | Extreme edge |
| nanoforecast-500k | 1.6M | 256 | 6.4 MB | General purpose |
| nanoforecast-v03 | 6.5M | 512 | 26 MB | Max accuracy |
Eulogik — deployable AI for the real world.
Star the repo ⭐ on GitHub!