Tokenization & Preprocessing
OpenNMT/Tokenizer
Fast and customizable text tokenization library with BPE and SentencePiece support
🌍 Machine Translation🧠 Natural Language Processing
C++MITupdated Jan 10, 2026
exact tokenizers ids, as fast as the hardware allows
$ git clone https://github.com/actual-computer/toks.gitFast and customizable text tokenization library with BPE and SentencePiece support
High performance Chinese tokenizer with both GBK and UTF-8 charset support based on MMSEG algorithm developed by ANSI C. Completely based on modular implementation and can be easily embedded in other programs, like: MySQL, PostgreSQL, PHP, etc.
Ready-made tokenizer library for working with GPT and tiktoken
A small library for converting tokenized PHP source code into XML (and potentially other formats)
Language model tokenization at GB/s
Data from GitHub · snapshot Nov 9, 2026