Tokenizers
the six Ws · specification
Hugging Face maintains Tokenizers as an open source Rust library with Python bindings.
Tokenizers implements fast, production ready tokenization algorithms including BPE, WordPiece and Unigram.
Hosted on GitHub at huggingface/tokenizers and distributed via PyPI and crates.io.
Released in 2019 and actively maintained.
It removes the tokenization bottleneck in NLP pipelines by processing text far faster than pure Python implementations.
Written in Rust with Python bindings and used internally by Transformers.
Apache 2.0 licensed, open source, maintained by Hugging Face, roughly 11k GitHub stars.
alternatives
works with