-
Notifications
You must be signed in to change notification settings - Fork 814
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
Difficulty in Implementing Model Re-Training for Time-Series Data with Pre-Trained Model #2351
Comments
You can find an example on re-training/fine-tuning pretrained model here. We recommend using the method |
And |
@madtoinou
|
@dennisbader I'm seeking guidance on how to ensure that when re-training the model, it incorporates the historical trends and patterns from the loaded model, in addition to fitting the new data. Any insights or suggestions on how to achieve this would be greatly appreciated. |
|
@AyushBhardwaj321, fine-tuning only works with our neural network models as @madtoinou pointed out. There you can also adapt the learning rate and other parameters for fine-tuning so your model won't overfit on the data used for fine-tuning. |
@madtoinou @dennisbader
Certainly! I'll keep this issue open as I may require further support during the implementation process. If I encounter any challenges or have additional questions while working with the models, I'll be sure to reach out for assistance. Thank you for your continued support and guidance. |
@madtoinou @dennisbader |
I don't think that the documentation includes such a tutorial but you could easily combine the code snippet mentioned above to load weights from a checkpoint with any of the other example notebook such as the quickstart, this one or this one. I would recommend checking the various examples, I am sure that you will find something very close to what you want to achieve and use it as a base. |
Hello everyone,
I'm encountering an issue with implementing incremental learning for time-series data using a pre-trained model, and I'm seeking guidance on how to address it.
Description:
I have a substantial dataset consisting of 2.5 million data points, structured as follows:
Objective:
My aim is to train an initial model, let's call it Model_v1, on this historical data. However, due to the large size of the dataset, training the model from scratch is time-consuming. Therefore, I want to explore the possibility of using Model_v1 as a base model and incrementally updating it with new data obtained from a real-time source, which arrives approximately every minute. Ideally, I would like to re-train the model on a weekly or monthly basis to adapt to any changes in the underlying patterns.
Challenge:
Although I've managed to save the historical model (Model_v1), I'm encountering difficulties when attempting to load it and fit new data onto it. The incremental learning process seems to be failing, and I'm unsure about the correct approach to achieve this.
Request for Assistance:
I would greatly appreciate any insights, suggestions, or best practices on how to effectively implement incremental learning with pre-trained models for time-series data. Additionally, if anyone has encountered similar challenges or has successfully implemented such a solution, your input would be invaluable.
Thank you in advance for your assistance and guidance.
The text was updated successfully, but these errors were encountered: