Fast and versatile tokenizer for language models, compatible with SentencePiece, Tokenizers, Tiktoken and more. Supports BPE, Unigram and WordPiece tokenization in JavaScript, Python and Rust.
-
Updated
Mar 20, 2025 - Rust
Fast and versatile tokenizer for language models, compatible with SentencePiece, Tokenizers, Tiktoken and more. Supports BPE, Unigram and WordPiece tokenization in JavaScript, Python and Rust.
Add a description, image, and links to the word-segmentation topic page so that developers can more easily learn about it.
To associate your repository with the word-segmentation topic, visit your repo's landing page and select "manage topics."