Skip to content

Commit 05e5588

Browse files
Fix output being sent to legacy in AutoTokenizer
1 parent d234b7b commit 05e5588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pipelines/Pipeline.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function pipeline(
7878

7979
$model = $task->pretrainedModel($modelName, $quantized, $config, $cacheDir, $revision, $modelFilename, $output);
8080

81-
$tokenizer = AutoTokenizer::fromPretrained($modelName, $quantized, $config, $cacheDir, $revision, $output);
81+
$tokenizer = AutoTokenizer::fromPretrained($modelName, $quantized, $config, $cacheDir, $revision, null, $output);
8282

8383
return $task->getPipeline($model, $tokenizer);
8484
}

0 commit comments

Comments
 (0)