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 whisper model #458

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add whisper model #458

wants to merge 2 commits into from

Conversation

sagewe
Copy link

@sagewe sagewe commented Nov 18, 2024

add support for whisper model

Notes: The layer template for the decoder is marked as optional since, for distilled or turbo models, the number of decoder layers is less than the number of encoder layers, and we have no way to separate them.

Signed-off-by: sagewe <[email protected]>
revision=donor_model.model.revision,
trust_remote_code=trust_remote_code,
)
_set_chat_template(feature_extractor, merge_config)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is incorrect - feature extractors don't have a chat template do they? Not that it seems to be breaking anything but it's extra work anyway.

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