Skip to content

Commit 0f1fc8b

Browse files
bugfix: Autoload errors for WordPieceTokenizer on case-sensitive operating systems
1 parent 062926c commit 0f1fc8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tokenizers/Tokenizer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __construct(protected array $config)
6161
public static function fromConfig(array $config, ...$args): self
6262
{
6363
return match ($config['type'] ?? null) {
64-
'WordPiece' => new WordpieceTokenizer($config),
64+
'WordPiece' => new WordPieceTokenizer($config),
6565
'Unigram' => new UnigramTokenizer($config, ...$args),
6666
'BPE' => new BPETokenizer($config),
6767
default => (function () use ($config, $args) {

0 commit comments

Comments
 (0)