generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 569
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Hi - completely new to this, so sorry if this is a stupid question!
I want to use chronos-2 as an encoder for some time series.
from chronos import Chronos2Pipeline
import torch
# Load the model
pipeline = Chronos2Pipeline.from_pretrained("amazon/chronos-2", device_map="cuda")
# Give list of time series.
inputs = [
torch.tensor([1.0, 2.0, 3.0, 4.0], dtype=torch.float32),
]
# Embed
emb, _ = pipeline.embed(inputs)I notice that predict_df also takes timestamp_column as input when making predictions, but the embed function doesn't. Is there a way to parse timestamps or is that not needed?
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested