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

Feature: Training a pre-trained (pre-created) model #33

Open
rjzak opened this issue Sep 11, 2022 · 3 comments
Open

Feature: Training a pre-trained (pre-created) model #33

rjzak opened this issue Sep 11, 2022 · 3 comments

Comments

@rjzak
Copy link

rjzak commented Sep 11, 2022

I know that training a model is not part of the goals of the project, but I'd like to suggest the ability to train a pre-trained model.

This would allow training, but not creating the model. It seems that the reason for not allowing training is the difficulty in creating the model structure itself with all of the various parameters and options, which may be too much for a Wasi application. However, evaluating a model isn't much different from training, which just updates the weights based on error. Maybe it could be a nice medium between no training at all vs. just updating weights but no model creation?

@abrown
Copy link
Collaborator

abrown commented Sep 13, 2022

cc: @mingqiusun

@mingqiusun
Copy link
Collaborator

@rjzak Adding training is always on the back of our minds. In order to support training, we need to expose cost function, variable set, and back propagation. So it is more complicated than just inferencing, and different backends may do things differently. But if you want to propose an API for doing that, let's have a discussion.

@tonibofarull
Copy link

Will it be possible to use the subset of functions for inference without having to implement the training ones?

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

4 participants