finetuning code clarification #214
|
@rajatsen91 Thanks for updating and sharing the finetuning code. While I was able to utilize it for my own data, I was struggling to understand the following, so would appreciate your response.
I know these are specific questions, but would really appreciate if you can clarify as these would help me understand and utilize the solution correctly. Thanks! |
Replies: 2 comments 1 reply
|
Hi @arijitpaul-code,
|
|
@rajatsen91 One follow-on question - Does the loss function (train/eval loss) during training calculate on a normalized basis, or is it not needed if the loss is calculated on the entire training/validation population? |
Hi @arijitpaul-code,
This is a good question. The model's architecture is fixed during finetuning so the output residual block still expects to output 128 points into the future. But you can choose to fine-tune it to predict < 128 time-steps if you want to. What would happen is only the first 96 out of 128 prediction heads will participate in the loss function.
Good catch. It should be normalize=True but in this dataset in my experience that would not really make much of a difference. Please feel free to try that out.
Since the default point forecasting model is "median, both should output the same.