update readme

This commit is contained in:
Rajat Sen
2025-09-26 22:52:18 +00:00
parent c42a740917
commit 1c6e15ff21
+2 -2
View File
@@ -59,8 +59,8 @@ pip install -e .
```python
import numpy as np
import timesfm
model = timesfm.TimesFM_2p5_200M_torch()
model.load_checkpoint()
model = TimesFM_2p5_200M_torch.from_pretrained("google/timesfm-2.5-200m-pytorch")
model.compile(
timesfm.ForecastConfig(
max_context=1024,