We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
WordPieceTokenizer
1 parent 062926c commit 0f1fc8bCopy full SHA for 0f1fc8b
src/Tokenizers/Tokenizer.php
@@ -61,7 +61,7 @@ public function __construct(protected array $config)
61
public static function fromConfig(array $config, ...$args): self
62
{
63
return match ($config['type'] ?? null) {
64
- 'WordPiece' => new WordpieceTokenizer($config),
+ 'WordPiece' => new WordPieceTokenizer($config),
65
'Unigram' => new UnigramTokenizer($config, ...$args),
66
'BPE' => new BPETokenizer($config),
67
default => (function () use ($config, $args) {
0 commit comments