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
|
@@ -38,7 +38,7 @@ pip install torch transformers einops numpy
|
|
| 38 |
import torch
|
| 39 |
from transformers import AutoModel
|
| 40 |
|
| 41 |
-
model = AutoModel.from_pretrained("
|
| 42 |
|
| 43 |
history = torch.randn(4, 8096).cumsum(-1) # [B, Tc] — any length; NaN = unobserved
|
| 44 |
q = model.predict(history, prediction_length=96) # [4, 99, 96]
|
|
|
|
| 38 |
import torch
|
| 39 |
from transformers import AutoModel
|
| 40 |
|
| 41 |
+
model = AutoModel.from_pretrained("paris-noah/Tabby", trust_remote_code=True).eval()
|
| 42 |
|
| 43 |
history = torch.randn(4, 8096).cumsum(-1) # [B, Tc] — any length; NaN = unobserved
|
| 44 |
q = model.predict(history, prediction_length=96) # [4, 99, 96]
|