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

Modify default max tokens for whisper #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 21, 2024

  1. Modify default max tokens for whisper

    This adjustment was made based on this error printed when running this script: `The length of `decoder_input_ids`, including special start tokens, prompt tokens, and previous tokens, is 2,  and `max_new_tokens` is 512. Thus, the combined length of `decoder_input_ids` and `max_new_tokens` is: 514. This exceeds the `max_target_positions` of the Whisper model: 448`
    echo-lalia authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    1ac94c6 View commit details
    Browse the repository at this point in the history