Skip to content
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

Model saving and load #18

Open
irfanfadhullah opened this issue Oct 14, 2022 · 2 comments
Open

Model saving and load #18

irfanfadhullah opened this issue Oct 14, 2022 · 2 comments

Comments

@irfanfadhullah
Copy link

I was wondering, how do we save the model in this framework? Is it same as saving torch model?
And can we test the model after the training cycle is done?
An example would be great.
Thank you

@czjghost
Copy link

I think it is the same as saving torch model, but for the testing samples are not the same among all runs, you should save those sample at the same time after the end of each run. If you want to reduplicate each incremental step (like the figure 2 in ASER), you could just save the model after finishing trainning each task.

@Frapais
Copy link

Frapais commented Jun 20, 2023

@czjghost Can you please give an example code of how to save the model and the training and evaluation results?
Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants