You are browsing as a guest. Sign up (or log in) to start making projects!

william_a_stella

@william_a_stella

Joined June 10th, 2026

  • 2Devlogs
  • 3Projects
  • 0Ships
  • 0Votes
Open comments for this post

1h 47m 33s logged

I’ve been working on a BPE tokenizer to make my own LLM from scratch. Basically what this does is it splits the original input text for the LLM into “tokens” that the LLM does computations on and trains on for future steps. It works by creating an initial vocabulary of characters (256 using UTF-8), and then adds to the vocabulary by finding common pairs of characters and adding the most common pair into its vocabulary as a new independent token. I made the initial vocabulary and did “pre-tokenization” which is a method that allows you to compute the most common pairs of characters fast.

0
0
1

Followers

Loading…