Topics / #tokenizer
Tokenizer projects on GitHub
Tokenizing text into subword units for language model training and inference.
As of , the most-starred Tokenizer projects on GitHub are LLMs-from-scratch (109.2K stars), autoresearch (100.7K stars) and grok-1 (52.3K stars). GitHub.Locker tracks 11 Tokenizer repositories with 311.9K stars combined. The fastest-growing on November 30 was autoresearch, with +61 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
+61autoresearch
karpathy/autoresearch · ★ 100.7Kautoresearch gives an AI coding agent a small, real LLM training setup (a simplified single-GPU version of nanochat) and lets it autonomously edit the training code, run 5-minute experiments, and keep what works overnight, so you wake up to a log of experiments and hopefully a better model.
+59LLMs-from-scratch
rasbt/LLMs-from-scratch · ★ 109.2KThis is the official code repository for the book 'Build a Large Language Model (From Scratch)', which teaches you to implement a GPT-like LLM in PyTorch step by step, from tokenization through pretraining and finetuning.
+14tokenizers
huggingface/tokenizers · ★ 11.3KTokenizers is a library implementing today's most-used tokenizers (BPE, WordPiece, Unigram) for NLP, built in Rust for speed and exposed to other languages via bindings. It's made by Hugging Face and powers tokenization for transformer models.
+4grok-1
xai-org/grok-1 · ★ 52.3KGrok-1 is the 314B-parameter Mixture-of-Experts language model that xAI opened up; this repository holds the JAX example code for loading and running it.
The all-time top
11 projects · by stars
- 109.2K
#1 · rasbt/LLMs-from-scratchLLMs-from-scratch
This is the official code repository for the book 'Build a Large Language Model (From Scratch)', which teaches you to implement a GPT-like LLM in PyTorch step by step, from tokenization through pretraining and finetuning.
- 100.7K
#2 · karpathy/autoresearchautoresearch
autoresearch gives an AI coding agent a small, real LLM training setup (a simplified single-GPU version of nanochat) and lets it autonomously edit the training code, run 5-minute experiments, and keep what works overnight, so you wake up to a log of experiments and hopefully a better model.
- 52.3K
#3 · xai-org/grok-1grok-1
Grok-1 is the 314B-parameter Mixture-of-Experts language model that xAI opened up; this repository holds the JAX example code for loading and running it.
- 4

compromise
12.2Kspencermountain/compromise · JavaScriptCompromise is a lightweight JavaScript natural-language processing library that parses text into structured data: tokenizing words and sentences, tagging part-of-speech, and letting you query phrases like numbers, names, or dates.
- 5

tokenizers
11.3Khuggingface/tokenizers · RustTokenizers is a library implementing today's most-used tokenizers (BPE, WordPiece, Unigram) for NLP, built in Rust for speed and exposed to other languages via bindings. It's made by Hugging Face and powers tokenization for transformer models.
- 6

lexer
11.1Kdoctrine/lexer · PHPDoctrine Lexer is a base PHP library for building lexers — the components that turn raw text into tokens — for top-down, recursive descent parsers.
- 7
parameter-golf
5.2Kopenai/parameter-golf · PythonThis is OpenAI's 'Model Craft Challenge: Parameter Golf' - a competition to train the best language model that fits in a 16MB artifact and trains in under 10 minutes on 8xH100 GPUs, scored by bits-per-byte compression on the FineWeb validation set.
- 8

how-to-train-your-gpt
4.2Kraiyanyahya/how-to-train-your-gpt · Jupyter NotebookA 12-chapter, 7,500+ line interactive textbook that teaches you how to build, train and run a modern GPT-style language model completely from scratch, with every line of code commented and explained in plain English.
- 9
gigatoken
4.2Kmarcelroed/gigatoken · RustGigatoken is an extremely fast tokenizer for language models, built as a near drop-in replacement for HuggingFace Tokenizers and tiktoken, encoding text at multi-GB/s speeds.
- 10

fastembed-rs
1.1Kanush008/fastembed-rs · RustA Rust library that generates vector embeddings and reranks results entirely locally — no external API calls. It covers dense and sparse text embeddings, image embeddings, multimodal models, and rerankers.
- 11
LongCat-Next
496meituan-longcat/LongCat-Next · PythonLongCat-Next is a native multimodal foundation model from Meituan that processes text, vision, and audio under a single autoregressive objective using discrete tokens, built on the LongCat-Flash-Lite MoE backbone (A3B).
Related topics
Often tagged together
- llm1,590
- machine-learning767
- deep-learning582
- open-source5,461
- python2,386
- large-language-models210
- mit3,173
- nlp171
- research693
- ai2,006
- gpu798
- huggingface349
- library1,341
- gpt123
- language-model45
- linux4,256
- natural-language-processing73
- pytorch348
- apache-2.01,441
- attention-mechanism50
- cuda382
- developer-tools2,879
- macos3,658
- mixture-of-experts54