#34 · Primary category: NLP Tools & Text Processing
gigatoken
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
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量