---
title: "PUNITH (@punith-v) | Hashnode"
description: "\"I build because I can't not.\". Read the latest articles by PUNITH on Hashnode."
url: "https://hashnode.com/@punith-v"
---

@punith-v

# PUNITH

@punith-v · Hyderabad, India · Joined June 2026

"I build because I can't not."

### [How I Built BM25 from Scratch (And Why It's Better Than TF-IDF)](https://bpe-tokenizer.hashnode.dev/how-i-built-bm25-from-scratch-and-why-it-s-better-than-tf-idf?utm_source=hashnode&utm_medium=feed)

Okay so today I did another learning-based project. This time — BM25 from scratch. If you've heard of TF-IDF, BM25 is basically the upgraded version of it. Let me explain why. What's wrong with TF-ID

5 min read · [bpe-tokenizer.hashnode.dev](https://bpe-tokenizer.hashnode.dev/how-i-built-bm25-from-scratch-and-why-it-s-better-than-tf-idf?utm_source=hashnode&utm_medium=feed)

[Jul 7](https://hashnode.com/posts/how-i-built-bm25-from-scratch-and-why-it-s-better-than-tf-idf/6a4d409bf2f301b49931d9c7)

### [How I Built a BPE Tokenizer from Scratch (Part 3: Encode & Decode)](https://bpe-tokenizer.hashnode.dev/how-i-built-a-bpe-tokenizer-from-scratch-part-3-encode-decode?utm_source=hashnode&utm_medium=feed)

Okay we're back. If you haven't read Part 1 and Part 2, go check those out first — we built the training loop and the merge step there. This part is where it actually feels complete. Today I added enc

2 min read · [bpe-tokenizer.hashnode.dev](https://bpe-tokenizer.hashnode.dev/how-i-built-a-bpe-tokenizer-from-scratch-part-3-encode-decode?utm_source=hashnode&utm_medium=feed)

[Jul 4](https://hashnode.com/posts/how-i-built-a-bpe-tokenizer-from-scratch-part-3-encode-decode/6a494236bf37d4c4fd769e69)

### [BPE Tokenization: Mistakes I Made (and How I Fixed Them)](https://bpe-tokenizer.hashnode.dev/bpe-tokenization-mistakes-i-made-and-how-i-fixed-them?utm_source=hashnode&utm_medium=feed)

Building a BPE tokenizer from scratch sounds straightforward until you actually do it. I ran into a bunch of small bugs that took way longer to debug than I'd like to admit. Here are the ones that got

3 min read · [bpe-tokenizer.hashnode.dev](https://bpe-tokenizer.hashnode.dev/bpe-tokenization-mistakes-i-made-and-how-i-fixed-them?utm_source=hashnode&utm_medium=feed)

[Jul 4](https://hashnode.com/posts/bpe-tokenization-mistakes-i-made-and-how-i-fixed-them/6a490896b4f943584b046f1f)

### [How I Built a BPE Tokenizer from Scratch (Part 1: Training)](https://bpe-tokenizer.hashnode.dev/how-i-built-a-bpe-tokenizer-from-scratch-part-1-training?utm_source=hashnode&utm_medium=feed)

I wanted to actually understand how tokenization works — not just use a library. So I built a BPE tokenizer from scratch. This is Part 1: training the tokenizer, counting pairs, and building the vocabulary.

5 min read · [bpe-tokenizer.hashnode.dev](https://bpe-tokenizer.hashnode.dev/how-i-built-a-bpe-tokenizer-from-scratch-part-1-training?utm_source=hashnode&utm_medium=feed)

[Jun 28](https://hashnode.com/posts/how-i-built-a-bpe-tokenizer-from-scratch-part-1-training/6a416a2f3abbac56183b9a5d)
