-
Notifications
You must be signed in to change notification settings - Fork 47
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How to finetune on custom loss function? #5
Comments
Firstly, you can check out the fine-tuning section in the README to get familiar with how to run a fine-tuning job. Then, to change the loss function, you can specify the loss function for the config file using
We have already implemented some common loss functions used in time series forecasting, but if you want your own custom loss, you'll have to implement it by subclassing PackedLoss. |
I'm trying to run a fine-tune with PackedMSELoss function. However, when running the fine-tuning script, I am getting an error:
From the debugging I have done, the issue seems to be that the model is passing a distribution (defined by the I have attached my model config below for additional reference:
|
You could call
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi, I wanted to fine tune the model on my own dataset however with my own custom loss. Could you give an example on how to do that? It would be very helpful for my research purpose! I am unclear on how to do that on your model
Thanks
Gopal
The text was updated successfully, but these errors were encountered: