RNN vs. CNN vs. Autoencoder vs. Attention/Transformer

RNN vs. CNN vs. Autoencoder vs. Attention/Transformer: A Practical Guide with PyTorch Deep learning has evolved rapidly, offering a toolkit of neural architectures for various data types and tasks. Among the most influential are Recurrent Neural Networks (RNNs), Convolutional Neural Networks (CNNs), Autoencoders, and the modern Attention/Transformer models.But how do Read more

AI Engineering by Chip Huyen: Chapter 7: RAG and Agents

Detailed Notes: RAG, Agents, and Memory in AI Applications 1. Task Solving and Context Instructions vs. Context: Instructions: General, static for the application (how to solve). Context: Specific to each query (what info to use). Missing context → AI more likely to hallucinate or err. Two Major Context Patterns: RAG Read more

Implementing 2d Arrays in CPP

C++ hasn’t yet caught up with implementing 2D arrays like other languages yet. So there is no inbuilt 2D array in C++.But lose no hope, with some template programming to the rescue we can create our own multidimensional data structure. Here is a basic design of how a 2d Array Read more