Hey everyone! Using TimeGPT in Azure, I get this ...
# timegpt
a
Hey everyone! Using TimeGPT in Azure, I get this error message when trying to finetune the model: 'Minimum number of samples by id required for finetuning is 25, got 24.' I validated that I have enough datapoints (176) and that the number of datapoints is okay for what the documentation says for finetuning. With monthly data, we minimally need 48 datapoints + h + step_size +(or *) (n_windows - 1). with h = 4, step_size=1 and n_windows=20, I need 72 datapoints? That's not what the error says + I have more than enough datapoints. I am kinda lost, is there something I am missing? Thank you!
m
Hello! Do you have more than one unique_id? If so, can you make sure that each has at least 25 data points?
a
I have 20 unique_ids and each of them has 176 data points. Some values are 0. Also, I am using nixtla==0.5.0. Thank you!
m
I simulated a dataset with 20 unique_id with 176 data points each, with a monthly frequency, and I am able to run fine-tuning with both the
forecast
and
cross-validation
method. Can you try upgrading
nixtla
to the latest version? Also, can you share the code you use when fine-tuning in case upgrading the package doesn't solve the problem?
a
upgrading the package to 0.6.5 fixed it! Thanks
🙌 1