vishy (@masterthefly) profile picture

opinions my own

Joined March 2010
You do not need a GPU, a cloud account or a framework to understand how a language model learns. You need a browser tab. I built a small language model that you can train inside a browser tab, and I would like you to try to break it. No GPU. No install. No account. Open the link, press Train, and about twenty seconds later (on my machine) a 60,000 parameter model has gone from random noise to writing sentence shaped stories about a boy named Tim. The text you train on never leaves your tab. Everything is written from scratch in Rust: the tokenizer, the attention layers, the backpropagation, the optimizer. No ML framework. It compiles to WebAssembly, so the same code runs in your browser. There is also a short interactive textbook, five chapters: tokens, embeddings, attention, learning, sampling. Every widget runs the real model. When you open the attention heat map, you are looking at the layers of a model you just trained, not an illustration. Be warned about what it is. It is tiny. The stories are nonsense with decent grammar, which is what you get from 60,000 numbers. Small enough that you can see every step. Three things I would love your help with: 1. Open the textbook and tell me the first sentence that confused you. 2. Train it on a text file of your own, or teach it your own examples, and tell me what happened. 3. Try it in Firefox or Safari. So far I have only tested Chrome and Edge. App: lnkd.in/gZz7jHhP Textbook: lnkd.in/gVZ5hBmt Code (MIT licence): lnkd.in/gfubVFre If you want to contribute, there are seven small issues labelled "good first issue", from a keyboard accessibility fix to writing exercises for the chapters. Inspired by Language Model Builder, a macOS app by Felix Rieseberg. Mine runs in any browser. #Rust #WebAssembly #MachineLearning #LLM #OpenSource
5
3
268
Why AI Agents Break Traditional SaaS thecarriermap.substack.com/p…
16
New to P&C as an Intern? Here’s Your First Map of the Carrier open.substack.com/pub/thecar…
20
Moved from t-mobile to verizon over the weekend, but didn't realize verizon is far worse in network coverage as compared to its competitors. Never saw 5G with full signals even outside. #verizonwireless #vzwsupport
49
Built an AI shopping concierge (blog.vishyk.com/?p=64) that gets your intent instead of playing keyword guessing games 🛍️ Best feature? When it suggests a mug for "staying warm" because there's no winter clothes in stock 😅 Worst feature? The $120 Google Cloud bill I forgot about 💸 #GoogleCloud #AI #hackathon #GKEHackathon #GKETurns10
1
40
From when Egg is officially a vegetarian dish? #starbucks
25
Just submitted my entry for the Amazon Q Developer game competition! 46% faster development, cleaner code, and features I never would have thought to add. Check out the full journey: blog.vishyk.com/?p=52 #BuildGamesChallenge #AmazonQDevCLI #AI
2
1
1
67
Just submitted my entry for the Amazon Q Developer game competition! 46% faster development, cleaner code, and features I never would have thought to add. Check out the full journey: blog.vishyk.com/?p=52 #BuildGamesChallenge #AmazonQDevCLI #AI
8
Advanced simulation techniques powered by AI are offering unprecedented insights into risk scenarios. Stress tests are now more accurate than ever, fortifying insurance against unexpected events. 🛡️📈 #AIinInsurance #RiskSimulation #StressTests
3