update readme
This commit is contained in:
@@ -59,8 +59,8 @@ pip install -e .
|
|||||||
```python
|
```python
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import timesfm
|
import timesfm
|
||||||
model = timesfm.TimesFM_2p5_200M_torch()
|
model = TimesFM_2p5_200M_torch.from_pretrained("google/timesfm-2.5-200m-pytorch")
|
||||||
model.load_checkpoint()
|
|
||||||
model.compile(
|
model.compile(
|
||||||
timesfm.ForecastConfig(
|
timesfm.ForecastConfig(
|
||||||
max_context=1024,
|
max_context=1024,
|
||||||
|
|||||||
Reference in New Issue
Block a user