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

Add vocab masks to Whisper export with beam search #16180

Conversation

kunal-vaishnavi
Copy link
Contributor

Description

This PR adds flags for exporting Whisper with vocab masks for logits processing. This PR also sets input_features back to FP32 precision for the user and casts input_features to FP16 precision when needed.

Motivation and Context

This helps enable specific logits processing for the exported Whisper model.

petermcaughan
petermcaughan previously approved these changes Jun 7, 2023
@kunal-vaishnavi kunal-vaishnavi merged commit 79e0230 into microsoft:main Jun 8, 2023
81 of 84 checks passed
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.

None yet

4 participants