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 (106.7K stars), autoresearch (98K stars) and grok-1 (52.2K stars). GitHub.Locker tracks 10 Tokenizer repositories with 302.3K stars combined. The fastest-growing on October 16 was LLMs-from-scratch, with +65 stars in a day.

10Projects
302.3KStars in total
+133Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

10 projects · by stars

  1. #1 · rasbt/LLMs-from-scratch

    LLMs-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.

    106.7K
  2. #2 · karpathy/autoresearch

    autoresearch

    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.

    98K
  3. #3 · xai-org/grok-1

    grok-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.

    52.2K
  1. 4

    compromise

    12.2Kspencermountain/compromise · JavaScript

    Compromise 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.

  2. 5

    tokenizers

    11.2Khuggingface/tokenizers · Rust

    Tokenizers 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.

  3. 6

    lexer

    11.1Kdoctrine/lexer · PHP

    Doctrine Lexer is a base PHP library for building lexers — the components that turn raw text into tokens — for top-down, recursive descent parsers.

  4. 7

    parameter-golf

    5.2Kopenai/parameter-golf · Python

    This 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.

  5. 8

    gigatoken

    4.1Kmarcelroed/gigatoken · Rust

    Gigatoken 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.

  6. 9

    fastembed-rs

    1Kanush008/fastembed-rs · Rust

    A 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.

  7. 10

    LongCat-Next

    477meituan-longcat/LongCat-Next · Python

    LongCat-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).

Often tagged together