Show HN: Building a ChatGPT-style LLM from Scratch in TypeScript

baraa_ · hn · 2026-10-14

A developer is building a ChatGPT-style model from first principles in TypeScript to understand transformers with "nothing is magic." Choosing a non-Python language is deliberate: reimplementing concepts forces deeper grasp of the details. Chapters so far cover dataloaders, embeddings, and the attention mechanism; feedback welcome.

Original post →

More from coding & agent

coding & agent channel →