Time Series Forecasting
Transformers
Safetensors
time series
forecasting
pretrained models
foundation models
time series foundation models
time-series
Instructions to use Salesforce/moirai-1.0-R-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/moirai-1.0-R-small with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Salesforce/moirai-1.0-R-small", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Fix Getting Started example
#5
by gorold - opened
README.md
CHANGED
|
@@ -84,7 +84,7 @@ test_data = test_template.generate_instances(
|
|
| 84 |
)
|
| 85 |
|
| 86 |
# Prepare pre-trained model by downloading model weights from huggingface hub
|
| 87 |
-
model = MoiraiForecast
|
| 88 |
module=MoiraiModule.from_pretrained(f"Salesforce/moirai-1.0-R-{SIZE}"),
|
| 89 |
prediction_length=PDT,
|
| 90 |
context_length=CTX,
|
|
|
|
| 84 |
)
|
| 85 |
|
| 86 |
# Prepare pre-trained model by downloading model weights from huggingface hub
|
| 87 |
+
model = MoiraiForecast(
|
| 88 |
module=MoiraiModule.from_pretrained(f"Salesforce/moirai-1.0-R-{SIZE}"),
|
| 89 |
prediction_length=PDT,
|
| 90 |
context_length=CTX,
|