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

Include saving model in docs/tutorial #42

Closed
gautam0826 opened this issue Sep 23, 2020 · 1 comment · Fixed by #81
Closed

Include saving model in docs/tutorial #42

gautam0826 opened this issue Sep 23, 2020 · 1 comment · Fixed by #81
Labels
documentation Improvements or additions to documentation

Comments

@gautam0826
Copy link

Can an example of serializing models and datasets to disk be included in the tutorials and/or docs? Additional help on using ONNX would be helpful too.

@Craigacp
Copy link
Member

Sure, we can add examples of serialization to the docs. At the moment serialization is using standard java.io.Serializable mechanisms, you can see examples of loading models & datasets here and saving them here from the demo programs that come with Tribuo. Note that you should use a serialization allow list to guard against some deserialization attacks, there's a note in our security docs.

The best examples for the ONNX loaders at the moment are in the unit tests. We'll add a tutorial that goes through the third party model loading process.

@Craigacp Craigacp added the documentation Improvements or additions to documentation label Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants