Rare find

MinBPE. Clean, understandable code for the text-splitting method that powers modern AI models.

github.com/karpathy/minbpe

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

April 2024
  • Merge pull request #67 from shubham0204/master
  • add gnp/minbpe-rs as community extensions in README.md
February 2024
  • Merge pull request #43 from AneeshBose/aneesh/lecture-md
  • fix token count
  • ugh fix image link
  • more work on lecture hehe. this is hard work! not sure an LLM can do …
  • text version of the lecture
  • Merge pull request #33 from richzw/master
  • update readme.md with video
  • Merge pull request #24 from nobleaustine/pytest_modify
  • updated .gitignore
  • create exercise to rewrite minbpe for learners
  • add small amount of code to write out the gpt4 vocab in the same form…
  • Merge pull request #18 from ahmedivy/master
  • add link to another relevant issue here
  • create requirements.txt
  • fix linter error
  • Merge pull request #17 from eltociear/patch-1
  • change the handling of special tokens inside encode of RegexTokenizer…
  • refactor the readme file and adjust the API on how special tokens are…