预测
微调
我们可以通过指定 finetune_steps
参数来微调 TimeGPT。
👍 使用 Azure AI 端点
要使用 Azure AI 端点,请记住同时设置
base_url
参数
nixtla_client = NixtlaClient(base_url="you azure ai endpoint", api_key="your api_key")
📘 Azure AI 中可用的模型
如果您使用的是 Azure AI 端点,请务必设置
model="azureai"
nixtla_client.forecast(..., model="azureai")
对于公共 API,我们支持两种模型:
timegpt-1
和timegpt-1-long-horizon
。默认情况下,使用
timegpt-1
。请参阅本教程,了解如何以及何时使用timegpt-1-long-horizon
。
默认情况下,仅应用少量微调 (finetune_depth=1
)。我们可以通过增加 finetune_depth
参数来增强微调强度。请注意,增加 finetune_depth
和 finetune_steps
会增加生成预测的实际耗时。
有关微调的更多信息,请阅读我们的微调教程。