[Model] Whisper model implementation (#11280)

Co-authored-by: Aurick Qiao <aurick.qiao@snowflake.com>
This commit is contained in:
Aurick Qiao
2025-01-03 03:39:19 -05:00
committed by GitHub
parent fd3a62a122
commit e1a5c2f0a1
16 changed files with 1045 additions and 55 deletions

View File

@@ -2312,6 +2312,8 @@ def _get_and_verify_max_len(
"seq_length",
# Command-R
"model_max_length",
# Whisper
"max_target_positions",
# Others
"max_sequence_length",
"max_seq_length",