Self-Attention and Multi-Head AttentionBuild Self-Attention, Multi-Head, Causal, and Cross-Attention from scratch in PyTorch: the four building blocks behind every transformer.16 min read·backpropolis.hashnode.dev18h ago
Neural Network From Scratch: From One Neuron to a Tiny MLP in NumPyBuild a tiny MLP in pure NumPy: Dense layers, ReLU, softmax cross-entropy, backpropagation, SGD, and regularization, trained on a spiral dataset.29 min read·backpropolis.hashnode.devNov 24