Engenharia aplicada de IA — análises aprofundadas de software, aprendizado profundo e dos sistemas que os colocam em prática.
Por dentro de uma cabeça de atenção: dos embeddings às previsões do próximo token
Trace a worked example from token embeddings through one attention head to next-token probabilities, using small, hand-chosen weights.
Explores
- Token embeddings and projection matrices
- Queries, keys, and attention weights
- Value mixing and residual updates
- Vocabulary readout and next-token predictions
Detectores de características: como os neurônios leem e escrevem
Acompanhe uma mensagem das contagens de palavras até os detectores de características e uma previsão de spam; depois compare pesos escolhidos manualmente com os aprendidos no treinamento.
Explores
- Contagens de palavras e espaços de características
- Pesos de entrada e direções de leitura
- Ativações e contribuições de saída
- Detectores aprendidos e ablação de neurônios
Das derivadas à retropropagação: a teoria por trás do Micrograd
Build from derivatives to the chain rule and backpropagation, then map each rule onto Micrograd’s forward values and accumulated gradients.
Explores
- Derivatives and partial derivatives
- Chain rule on a computation graph
- Backpropagation and gradient accumulation
- Micrograd’s forward and backward pass
Decomposição de vetores e subespaços: o que uma matriz lê e apaga
Break activation vectors into components and see which input directions a matrix keeps, which it erases, and why different inputs can give the same output.
Explores
- Decomposing activation vectors
- The four fundamental subspaces
- Null space and vanishing directions
- Identical outputs from distinct inputs
O que uma matriz de pesos faz e por que precisamos de não linearidade
See a weight matrix as a transformation of the input space, then find out why stacked linear layers buy nothing new and what activations add.
Explores
- Matrices as rotations, scalings, projections
- Why linear layers collapse to one
- What activation functions make possible
Uma análise aprofundada de como montar o contexto de um agente LLM
Compare how coding agents assemble context, and measure how those choices affect cost, cache reuse, and task completion.
Explores
- Full history, recent turns, and summaries
- Prompt caching and tool output design
- Context strategies in real coding agents
- Benchmarks and failure modes
Entendendo CNNs — convoluções, mapas de características e pooling
Follow how convolutions turn pixels into feature maps, and how deeper layers combine simple patterns into richer representations.
Explores
- Convolution filters and feature maps
- Stride, padding, and receptive fields
- Pooling and spatial dimensions
- Combining features across layers
Como redes neurais aprendem: retropropagação e descida do gradiente
Follow how a neural network learns: measure prediction errors, trace gradients backward, and use them to update weights with interactive examples.
Explores
- Loss functions and parameter sensitivity
- The chain rule through network layers
- Gradient descent and learning rates
- Stochastic and mini-batch updates
Recentes
Todos os artigos →Entendendo conexões residuais: identidade e atualizações aprendidas
Como os neurônios se tornaram álgebra linear
Como construir uma árvore de decisão para regressão do zero
Como construir um classificador de árvore de decisão do zero
Amostragem negativa e aprendizado contrastivo — do word2vec ao CLIP
Construindo um Model Armor: filtragem de segurança em múltiplas camadas para LLMs