Time Series Forecasting
Transformers
Safetensors
tabby
feature-extraction
time-series
foundation-model
probabilistic-forecasting
quantile-regression
patchtst
custom_code
Instructions to use paris-noah/Tabby with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use paris-noah/Tabby with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("paris-noah/Tabby", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ tags:
|
|
| 11 |
- patchtst
|
| 12 |
---
|
| 13 |
|
| 14 |
-
# Tabby
|
| 15 |
|
| 16 |
This is a self-contained Tabby checkpoint: the frozen [Tabby-Pretrain](https://huggingface.co/paris-noah/Tabby-Pretrain) backbone plus a seed-42 prompt. Its 99 quantile forecasts cover levels 0.01 through 0.99. The backbone weights come from pretraining step **165,000**. The prompt was trained with the backbone frozen and selected at epoch 14 (`val_loss=2.0483945271`).
|
| 17 |
|
|
@@ -25,7 +25,7 @@ This is a self-contained Tabby checkpoint: the frozen [Tabby-Pretrain](https://h
|
|
| 25 |
|
| 26 |
For a requested horizon `H`, the model masks `max(H, 128)` future positions and returns **the first `H` forecasts** from that span. The backbone window is 8,192 positions. Consequently, the most observed history it can use is `8192 - max(H, 128)`, even when the evaluation input cap is 8,096. For example, `H=96` uses at most 8,064 history points; `H=168` uses at most 8,024.
|
| 27 |
|
| 28 |
-
The original
|
| 29 |
|
| 30 |
```python
|
| 31 |
import torch
|
|
|
|
| 11 |
- patchtst
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Tabby
|
| 15 |
|
| 16 |
This is a self-contained Tabby checkpoint: the frozen [Tabby-Pretrain](https://huggingface.co/paris-noah/Tabby-Pretrain) backbone plus a seed-42 prompt. Its 99 quantile forecasts cover levels 0.01 through 0.99. The backbone weights come from pretraining step **165,000**. The prompt was trained with the backbone frozen and selected at epoch 14 (`val_loss=2.0483945271`).
|
| 17 |
|
|
|
|
| 25 |
|
| 26 |
For a requested horizon `H`, the model masks `max(H, 128)` future positions and returns **the first `H` forecasts** from that span. The backbone window is 8,192 positions. Consequently, the most observed history it can use is `8192 - max(H, 128)`, even when the evaluation input cap is 8,096. For example, `H=96` uses at most 8,064 history points; `H=168` uses at most 8,024.
|
| 27 |
|
| 28 |
+
The original training checkpoint records `min_forecast_span=0`. This release changes **only the inference setting** to 128. All 25 prompt tensors and all 253 backbone tensors are unchanged. `config.json` records `min_forecast_span=128`, so ordinary `predict` calls use the released rule without a separate flag.
|
| 29 |
|
| 30 |
```python
|
| 31 |
import torch
|