Show HN: Building an LLM from Scratch in TypeScript
Category: ai-ml
Tags: llm, typescript, tensorflow-js, education, gpt, from-scratch
Score: 5.8/10 (Innovation: 5, Technical: 5, Documentation: 7, Utility: 6)
A TypeScript/Node.js implementation of a GPT-style LLM built from scratch, using TensorFlow.js as the tensor engine. It serves as companion code for an online book, guiding developers through tokenization, attention, transformer blocks, and training, with a focus on making PyTorch concepts accessible to JavaScript developers.
Target audience: JavaScript and TypeScript developers interested in learning how LLMs work internally
Repository: https://book.humanexperiences.io/ · TypeScript · 12 stars
View on Hacker News