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

Make inputs and outputs more flexible in model builder #261

Merged
merged 3 commits into from
Apr 12, 2024

Conversation

kunal-vaishnavi
Copy link
Contributor

Description

This PR adds support for excluding the embedding layer and the language modeling head when requested. It also refactors how the inputs and outputs are structured within the model builder.

Motivation and Context

There are internal scenarios where excluding the embedding layer or excluding the language modeling head from the final ONNX model is useful.

@kunal-vaishnavi kunal-vaishnavi merged commit 91eab7b into main Apr 12, 2024
10 of 11 checks passed
@kunal-vaishnavi kunal-vaishnavi deleted the kvaishnavi/input-output branch April 12, 2024 09:01
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

Successfully merging this pull request may close these issues.

2 participants