tirex2¶
NX-AI TiRex-2, plus every hub model. TiRex v1 stays on tirex.
| extra | CPU tag | GPU tag | families | models | example |
|---|---|---|---|---|---|
tirex2 |
:tirex2 |
:tirex2-gpu |
TiRex-2 | 4 | tirex_2 |
Gated checkpoints
tirex_2 is public. tirex_2_gifteval_zs, tirex_2_gifteval_pretrain, and tirex_2_fevbench are gated. Accept the model card and set a Hugging Face token before loading those three.
Start a server¶
Check what loaded:
Predict¶
Python needs the client extra on the caller.
from tserve.client import Client
past = {
"timestamp": ["2024-01-01", "2024-01-02", "2024-01-03", "2024-01-04", "2024-01-05"],
"sales": [120, 135, 128, 142, 138],
}
with Client("http://127.0.0.1:8000") as client:
result = client.predict(
past=past,
time="timestamp",
target=["sales"],
fh=3,
model="tirex_2",
)
print(result.predictions)
Models¶
TiRex-2¶
Native quantile levels are 0.1 through 0.9. The three decontaminated checkpoints are gated on Hugging Face.
| model | checkpoint |
|---|---|
tirex_2 |
NX-AI/TiRex-2 |
tirex_2_gifteval_zs |
NX-AI/TiRex-2-gifteval-zs |
tirex_2_gifteval_pretrain |
NX-AI/TiRex-2-gifteval-pretrain |
tirex_2_fevbench |
NX-AI/TiRex-2-fevbench |
Also loadable here¶
- Naive:
naive, frombase. - Chronos Bolt, Chronos T5, TTM, TimesFM 2.x: 81 models, from
hub.
Next steps¶
- Docker, UV / Pip, From source: run the server.
- Data specification: the predict request.
- Craft specs, Live objects, Models from a directory: a checkpoint no catalog name covers.
- Errors: a model that failed to load.