Footer

Your go-to destination for discovering trending open-source projects and uncovering the insights that matter

Legal

  • Terms and conditions
  • Privacy policy

More

  • Pricing
  • Advertise
  • onedump
  • gosnakego
  • Contact us

Social

  • X (Twitter)
  • GitHub
Trendshift owl
What they build speaks louder than words
© 2026 Trendshift, created by Julian Li with ❤️
SignalAdvertise
Trendshift
SignalAdvertise
Sign in
Trendshift owl

Discover trends that matter

SignalAdvertise
DailyWeeklyMonthlyYearly
Live mentionsTopics
RepositoriesDevelopers
InsightsStats

Busbar
Busbar
Bifrost
Bifrost
Omnigraph
Omnigraph
OfinTech Desk
OfinTech Desk
It's a plan
It's a plan

karpathy/minbpe

Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.

Visit GitHub
Python
11.1k
1.2k
10 contributors
MIT License
AchievementsView all →
FeaturedAdvertise to 180K+ monthly visitors
Busbar

Control what AI can do before it acts

Bifrost

Fastest Enterprise AI Gateway for Routing, Governing, and Securing all your AI Traffic

Omnigraph

Versioned graph database on object storage. Git-style workflows and multimodal retrieval

OfinTech Desk

An open-source AI workspace for finance and accounting teams, in which every figure is traced to its source

It's a plan

Open-source Linear alternative

An issue tracker where AI agents take the work you assign them

Momentum

How fast karpathy/minbpe is gaining stars, and where it lands on Trendshift and GitHub Trending

Activity and trending

Stars, forks and merged pull requests each day or month, lined up with the repository's rank on Trendshift Trending

Sep 21 – Nov 20, 2026

Stars +341 in 61 days

0204060
49

Forks +70 in 61 days

0510
9

Merged PRs 0 in 61 days

01

Trendshift Trendingwhere the repository ranked each day it made the top 25

Not in the Trendshift top 25 in this period

Sep 21Sep 29Oct 7Oct 15Oct 23Oct 31Nov 8Nov 16
The left and right arrow keys step from day to day; Home and End go to the first and the last

Stars, forks, merged pull requests and Trendshift Trending rank, by day
DayStars gainedForks gainedMerged PRs
Mon, Sep 21, 2026+3+10
Tue, Sep 22, 2026+2+10
Wed, Sep 23, 2026+3+00
Thu, Sep 24, 2026+3+00
Fri, Sep 25, 2026+4+00
Sat, Sep 26, 2026+0+00
Sun, Sep 27, 2026+1+00
Mon, Sep 28, 2026+2+10
Tue, Sep 29, 2026+2+20
Wed, Sep 30, 2026+0+00
Thu, Oct 1, 2026+1+00
Fri, Oct 2, 2026+3+10
Sat, Oct 3, 2026+0+00
Sun, Oct 4, 2026+0+00
Mon, Oct 5, 2026+0+10
Tue, Oct 6, 2026+2+10
Wed, Oct 7, 2026+2+10
Thu, Oct 8, 2026+0+10
Fri, Oct 9, 2026+0+00
Sat, Oct 10, 2026+13+20
Sun, Oct 11, 2026+32+10
Mon, Oct 12, 2026+8+20
Tue, Oct 13, 2026+5+20
Wed, Oct 14, 2026+5+20
Thu, Oct 15, 2026+1+00
Fri, Oct 16, 2026+7+10
Sat, Oct 17, 2026+4+00
Sun, Oct 18, 2026+0+00
Mon, Oct 19, 2026+3+00
Tue, Oct 20, 2026+3+10
Wed, Oct 21, 2026+7+10
Thu, Oct 22, 2026+5+00
Fri, Oct 23, 2026+0+10
Sat, Oct 24, 2026+1+10
Sun, Oct 25, 2026+1+00
Mon, Oct 26, 2026+8+10
Tue, Oct 27, 2026+49+90
Wed, Oct 28, 2026+13+30
Thu, Oct 29, 2026+2+00
Fri, Oct 30, 2026+20+30
Sat, Oct 31, 2026+18+50
Sun, Nov 1, 2026+22+50
Mon, Nov 2, 2026+17+30
Tue, Nov 3, 2026+8+30
Wed, Nov 4, 2026+4+10
Thu, Nov 5, 2026+4+10
Fri, Nov 6, 2026+4+00
Sat, Nov 7, 2026+2+00
Sun, Nov 8, 2026+1+00
Mon, Nov 9, 2026+0+00
Tue, Nov 10, 2026+6+00
Wed, Nov 11, 2026+8+20
Thu, Nov 12, 2026+7+40
Fri, Nov 13, 2026+1+00
Sat, Nov 14, 2026+3+10
Sun, Nov 15, 2026+7+00
Mon, Nov 16, 2026+2+10
Tue, Nov 17, 2026+3+10
Wed, Nov 18, 2026+3+20
Thu, Nov 19, 2026+3+10
Fri, Nov 20, 2026+3+00
Total+341+700
  • 1#1 on the list
  • 7Rank that day
  • Not trending
1
  • GitHub trending history

    Where the repository ranked on GitHub Trending, one dot for each day it was on a list

    Feb 19 – Feb 21, 2024#1 on 1 day

    #1#5#10#15#20#25
    Top 10
    Mar 2024AprMayJunJulAug
    The left and right arrow keys step from day to day; Home and End go to the first and the last

    Mentions and achievements

    Where people are talking about karpathy/minbpe, and every badge it has earned
    1. Nov 121 post
      • 🤯卧槽,Karpathy 把自己整套 AI 课,免费开源到 GitHub 了!?! 按学习顺序,一共 7 个仓库: → nn-zero-to-hero,从零开始搭神经网络的视频课 → micrograd,用很少的代码把 AI 怎么学会的那套数学讲清楚 → makemore,一个会自己编新名字的小模型 → minbpe,讲模型怎样把句子切成 token → nanoGPT,可以自己动手训练一个…

        Read full on X, posted by @HeLi8866

        @HeLi8866 · x.com

    2. 9 days earlier
    3. Nov 31 post
      • GitHub 上免费放了一整套 AI 学位课程。 7 个仓库,306,741 星标,按正确顺序学下来,能从反向传播一路走到能通宵跑研究的智能体。 每个仓库都是前一个的下一层。仓库地址👇

        Read full on X, posted by @wanerfu

        @wanerfu · x.com

    4. Nov 21 post
      • 当世最强的AI大神Karpathy 在 GitHub 上留下的这 7 个仓库,可以说是全网含金量最高的免费 AI 学位了, 没有昂贵门票,没有商业营销,7 个精心打磨的GitHub代码仓库,是他留给这个时代最宝贵也最纯粹质朴的一份礼物! 看遍整个开源社区,能把大模型底层逻辑拆解得如此优雅纯粹的,大概只有 Andrej Karpathy 一人了,…

        Read full on X, posted by @AYi_AInotes

        @AYi_AInotes · x.com

    5. Nov 12 posts
      • 哇靠!Karpathy 的 GitHub 仓库,简直是一所免费的 AI 大学!🤯 7 个开源项目,累计超过 30 万 Star! 从神经网络、反向传播,到大模型训练,再到能自主完成任务的 AI Agent。 按照顺序学下来,相当于走完一套完整的 AI 技术进阶路线。 想系统学习 AI 的朋友,这波真的值得收藏! 7 个 GitHub 仓库地址放下面👇

        Read full on X, posted by @AndyL5cc

        @AndyL5cc · x.com

      • 天呐,你现在还在花冤枉钱买 AI 课吗? Krarpathy 在 GitHub 上免费放了一个完整的 AI 学位课程 ,完全免费! 7 个仓库,306,741 星标,如果你能按正确顺序学习,你就能完全掌握从基础知识开始到能通宵运行研究的智能体的所有知识体系。 抓紧时间收藏学习吧!#AI学习 我把所有的仓库地址都放在评论区了。 仓库地址👇

        Read full on X, posted by @pppoeadsl

        @pppoeadsl · x.com

    6. Oct 311 post
      • Andrej Karpathy quietly built one of the best free AI curricula on GitHub. 7 repos. 300K+ stars. Follow them in this order: micrograd — 18.3K★ nn-zero-to-hero — 20.3K★ minbpe — 10.8K★ nanoGPT —…

        Read full on X, posted by @opinion_bits

        @opinion_bits · x.com

    7. Oct 282 posts
      • My one tip: keep the coding agent out of the first two. Type the code yourself and break it a few times. Working with agents all day goes better when you know what's under the hood. Which one got you…

        Read full on X, posted by @buildAgoat

        @buildAgoat · x.com

      • 转需!这也太系统了吧!! 有人把 Karpathy 的 7 个仓库整理成一条完整学习链路! 层层递进,从神经网络学习到智能体开发! 7个仓库,累计超30万Star! 1. micrograd:神经网络到底是怎么学习的 2. makemore:从零搭一个字符级语言模型 3. nanoGPT:亲手训一个 GPT 4. minbpe:搞懂 tokenizer 是怎么切词的 5.…

        Read full on X, posted by @yyyole

        @yyyole · x.com

    8. Oct 272 posts
      • Andrej Karpathy 把 AI 入门拆成了 7 个 GitHub 仓库。 从「反向传播是什么」,一路学到「让 agent 通宵自己跑实验」。 全部免费,全部开源,按这个顺序抄就行: 1. micrograd 约 100 行 Python,把神经网络怎么学讲透。 2. nn-zero-to-hero 配套视频 + 笔记本,从单个神经元搭到 GPT。 3. minbpe 文字怎么切成…

        Read full on X, posted by @don_tech1

        @don_tech1 · x.com

      • Karpathy 在 GitHub 上公开了一套完整的 AI 自学路线,全部免费 一共 7 个仓库,按顺序学,每一个都是上一个的进阶。从"神经网络怎么学习"一路学到"让智能体自己通宵做研究"。 1.micrograd:神经网络到底怎么学习 约 100 行 Python 实现反向传播,把最核心的原理讲透。 2.nn-zero-to-hero:配套视频课 讲座对应的代码笔记本,从单个神经元一步步搭到…

        Read full on X, posted by @zhang_baoqing

        @zhang_baoqing · x.com

    You might also like

    Repositories close to karpathy/minbpe
    FeaturedAdvertise to 180K+ monthly visitors
    Omnigraph

    Versioned graph database on object storage. Git-style workflows and multimodal retrieval

    It's a plan

    Open-source Linear alternative

    An issue tracker where AI agents take the work you assign them

    Busbar

    Control what AI can do before it acts

    Bifrost

    Fastest Enterprise AI Gateway for Routing, Governing, and Securing all your AI Traffic

    OfinTech Desk

    An open-source AI workspace for finance and accounting teams, in which every figure is traced to its source

    openai/tiktoken

    Python

    tiktoken is a fast BPE tokeniser for use with OpenAI's models.

    19.7k1.6k

    niieani/gpt-tokenizer

    TypeScript

    The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT models (gpt-5, gpt-o*, gpt-4o, etc.). Port of OpenAI's tiktoken with additional features.

    86267

    huggingface/tokenizers

    Rust

    💥 Fast State-of-the-Art Tokenizers optimized for Research and Production

    11.3k1.3k

    microsoft/Tokenizer

    C#

    Typescript and .NET implementation of BPE tokenizer for OpenAI LLMs.

    21434

    crusoecloud/fastokens

    Rust

    Fast Tokens

    15931

    feyninc/tokie

    Rust

    🍡 30x faster tokenization for every HuggingFace model

    576

    tiktoken-go/tokenizer

    Go

    Pure Go implementation of OpenAI's tiktoken tokenizer

    46241

    zurawiki/tiktoken-rs

    Rust

    Ready-made tokenizer library for working with GPT and tiktoken

    41171

    IAPark/tiktoken_ruby

    Ruby

    Unofficial ruby binding for tiktoken by way of rust

    17032