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

Adds Tribuo provenance as a metadata field to exported ONNX models #182

Merged
merged 8 commits into from
Oct 18, 2021

Conversation

Craigacp
Copy link
Member

Description

Factorization Machines, linear models and sparse linear models now export the Tribuo provenance object as a serialized protobuf in a metadata field inside the ONNX model. There is an associated accessor for the Tribuo provenance on ONNXExternalModel which returns an optional if the provenance could be extracted.

Motivation

We'd like to preserve provenance information even in deployed ONNX models.

@Craigacp Craigacp added Oracle employee This PR is from an Oracle employee squash-commits Squash the commits when merging this PR labels Oct 13, 2021
Copy link
Member

@JackSullivan JackSullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with one nitpick

…inearModel.java

Co-authored-by: Jack Sullivan <jack.t.sullivan@oracle.com>
@Craigacp Craigacp merged commit 6cba728 into main Oct 18, 2021
@Craigacp Craigacp deleted the onnx-provenance branch October 18, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Oracle employee This PR is from an Oracle employee squash-commits Squash the commits when merging this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants