-
Notifications
You must be signed in to change notification settings - Fork 252
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
Refit a trained model with new triplets #266
Comments
Unfortunately this is not possible at the moment. I agree it would be a useful feature to open source. Keep an eye on future releases 😉 |
You can try this using constant initializer, to initialize your new model with old embeddings. you also need to ensure that model dictionary(model.ent_to_idx, model.rel_to_idx) stays the same with the new data. However this is not same as continuing training, since the optimizer states wont be the same. |
@lukostaz does this mean we have to retrain the model from start if we want to add new triplets? What do you suggest for adding a KG in production that needs to be updated frequently? Thanks. |
I have a dataset with new triplets and want to fit this data on an already trained model.
The new dataset is in alliance with the data the model was trained on.
Can this be achieved? If so, how?
The text was updated successfully, but these errors were encountered: