Skip to content

Commit 20add85

Browse files
Seperate AutoModel class for CTC and bug fixes for WhisperTokenizer
1 parent 8453939 commit 20add85

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/PretrainedTokenizers/PretrainedTokenizer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ public function batchDecode(array $batch, bool $skipSpecialTokens = false, ?bool
539539
public function decode(array $tokenIds, bool $skipSpecialTokens = false, ?bool $cleanUpTokenizationSpaces = null): string
540540
{
541541
if (empty($tokenIds) || !is_int($tokenIds[0])) {
542-
dd($tokenIds);
543542
throw new Exception("token_ids must be a non-empty array of integers.");
544543
}
545544

0 commit comments

Comments
 (0)