AI-Spinach Lab Technical Documentation
Understand sequence models, in-browser training, and probability fundamentals — and what "prediction" really means in this context.
What Is a Sequence Model
Core concepts of sequence models, their input/output formats, and common task types.
🎲Independent Repeated Events
Independence in probability theory, the gambler's fallacy, and what it means for prediction.
🧮Permutations and Combinations
Explains permutations and combinations: the multiplication rule, how they differ, why counts grow so fast, and how counting connects to probability.
🧠LSTM
The roles of the forget, input, and output gates, and how LSTM handles long-sequence dependencies.
🎯Attention Mechanism Explained
From Query, Key, and Value to self-attention and multi-head attention — understand the core mechanism behind Transformers and why it models long-range dependencies.
⚙️Model Parameter Reference
What common LSTM and Transformer parameters do, tuning tips, and pitfalls to avoid.
⚡How WebGL Runs Neural Networks in Your Browser
How tensors map to textures and operators map to shaders, plus the performance limits of WebGL training.
📉Loss Descent and Gradient Descent
Loss functions, gradients, learning rates, three gradient descent variants, and how to read a loss curve.
🤖AI Agents: Letting the Model Finish the Job
A 40-second animation that explains AI agents: the observe, think, act, feedback loop, tools and memory, how agents differ from chatbots, and the common risks.