#34 · Primary category: NLP Tools & Text Processing

gigatoken

llm nlp tokenization tokenizer

Language model tokenization at GB/s

Project last updated:08/06/26

GitHub Stars

4.1K

Forks

219

Contributors

1

License

MIT

Why we included this project

Tokenization rarely gets attention until it is the slow step in your training loop. Gigatoken is a Rust-based tokenizer that turns text into token IDs for LLM training and fine-tuning, and its compatibility wrappers let you keep using HuggingFace Tokenizers or tiktoken while getting faster throughput without changing your data code. The native API is where the multi-GB/s numbers come from, since the Rust implementation reads text files directly and parallelizes aggressively. Benchmarks cover popular models on server and laptop CPUs, so the speedup figures are grounded in real hardware. Teams that tokenize large corpora repeatedly, whether in dataset preparation, pretraining, or distillation, are the ones most likely to save serious wall-clock time.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category