All MicroEvals
When I am saying "understand" in all the below, I mean deep,...
Create MicroEval

When I am saying "understand" in all the below, I mean deep,...

Prompt

When I am saying "understand" in all the below, I mean deep, lived, experienced, in my bones level understanding through truly mind blowing explanation, amazing exmaples, correct and proper ASCII diagrams that best drive the picture and establish deep visual understanding, correctly worked super relevant and appropriate numericals, scenarios, situations and so much more at literally every point/subpoint/concept. I want the explanation to be well structured, cohesive, coherent, naturally flowing, well connected, well ordered, logically and technically sound and valid, insightful, actionable, readable, accessible, true joy and pleasure to read through, beginner friendly (today I literally none of the below, so that's where my level is at), correct, factual, consistent (in its quality, detail and pacing) and more. The below are just some of my wants, they don't capture all so best infer what I want and deliver the best. Throughout the explanation, through the examples, numericals, scenarios and situations, I want it to be clearly connected and mapped to the larger picture, the LLM in action, its response, its characteristics and more. Your response should be and must be better than even the masterpiece and legendary textbooks in motivating me, teaching me, driving me, keeping me hooked, engaging me and so much more. Don't make mistakes and don't hallucinate. During inferencing, I want to understand probabilities (of atleast top 3/5 ) for each new token given current tokens I want to understand and feel the vectors for each token I want to understand and feel the General Matrix-Vector Multiply and then General Matrix Multiply I want to understand that the effect of Two linear layers being stacked And them being combined into one is the same. I want to understand how GELU, SILU work I want to understand how non linear activation functions (ReLU, GeLU, SiLU each) between matrix multiplications unlock curved decision boundaries and conditional logic I want to understand what the hidden vector looks like, what is its use, its interactions with word vectors through matrix multiplication I want to understand why raw scores are not usable and they need to be fit into a valid probability distribution, and how Softmax does that, and how the temperature affects this I want to understand the pipeline from Logits to/through Softmax to Cross-Entropy Loss I want to understand how gradient is calculated and how it affects the weights and how it affects loss, and how it is affected by learning rates I want to understand how backpropagation computes every single parameters gradient in one backward sweep, how it uses intermediate activations during forward pass and how it applies calculus chain rules from output back to input I want to understand the pipeline from forward pass to backpropagation to weight update in action What does training (ie. computing gradients) on noisy mini batches look like compared to a massive dataset at once, in it I wanna understand raw gradients jittering and bouncing across steep narrow valleys I want to understand how the above is a problem and how AdamW helps with that I want to understand how in AdamW the First Moment, Second Moment and Decoupled Weight Decay work I want to understand the End to End Inference pipeline Tokenization, in it I want to understand Byte Pair Encoding happening, Vocabulary Size Trade-Off (the problem and the trade-off), the Dependency Aware Vocabulary Pruning, Embedding Lookup -> Layers -> Sampling, I want to understand the the vectors being fetched, Transformer blocks being chosen, they being fed through those Transformer blocks, final vector being projected to V logits, application of Softmax to them, a token being picked based on Greedy/Top K/Top P and how eachโ€™s effect is different I want to understand Prefill happening, where its position is in the Pipeline, the parallelization and why that can happen I want to understand the Autoregressive Decode happening, the sequential nature of it, the long loop and it repeating hundreds of times for each token I want to understand how it is different for DifussionGemma, why it can be parallelized and why it suffers/is substandard I want to understand what it means for the Frontier approach to be Decoder only Transformer, what else could there be, how does that look and why Decoder only is enough, and why would you want anything more I want to understand the continuous residual stream happening, the aspects of it that resemble state machines and the aspects that are not and why, I want to understand the reading of the stream, computing the delta, and writing back to the stream to update it I want to understand why normalization is needed and why multiplying matrices across dozens of layers without normalization causes magnitudes to explode or collapse and what effect that has I want to understand the mechanism and effect of different kinds of normalization (LayerNorm, RMSNorm) and also how and why the positioning matters (Post LN/Pre LN, Sub LN), how the positioning affects gradients and training, the representation depth, magnitudes, variance, and also why it matters to low bit models and not I want to understand the effect and need for normalization on Query and Key before their MM, how this and without it affects their norm drifts over training runs, the attention logits, the Softmax application, how that would and wouldnโ€™t affect FlashAttention I want to understand FlashAttention in action and what effect it has I want to understand how weights shrink/grow over training, how AdamW weight decay affects that, how that affects quantization and late stage updates by encouraging outliers, and how applying normalization after every optimizer step affects/helps with that, how does this all map to a hypersphere, what does nGPTโ€™s geometric look like and what effect does it have on training and performance I want to understand why just unordered bag of vectors is undesirable, why and how position encoding helps and is needed, how older models approach of fixing position vectors at Layer 0 did the job and why that wasnโ€™t great and how injecting relative order at every attention layer via does the job I want to understand the difference and connection between attention heads and attention layers I want to understand how RoPE involves rotation (why rotary) and base frequency, what is the geometric miracle in it, and how all this affects context extension, why and how does rotation affect context at all I want to understand how attention facilitates movement of information across the sequence, I want to understand its role and interactions in/with/for Query, Key and Value I want to understand the Scaled Product Causal Attention computation happening across the whole sequence matrix, I want to understand how causal mask helps and what would happen without it, I want to understand how why and how attention heads are split, how do they divide the tasks, how do they draw clean boundaries, what if there is overlap, how do they coordinate with each other, is there communication between multiple times, and how do they finally come together What does it mean to cache all past K, V vectors and without caching what kind of recomputation would happen, and also how does this caching lead to a memory explosion. I want to understand how how below help with this KV Cache Memory explosion: Multi Query and Grouped Query Attention, the sharing in them, the partitioning in them Sliding Window Attention & Periodic Global Attention, how the window is chosen, the window coming into action, how the window slides, how does the window help and what is the limiting effect of it, interleaving of the sliding window attention with the global window attention and how this helps slash KV Cache memory Attention Sinks & Learnable Prefix Tokens, the leftover probabilities being created by Softmax, the model dumping them in the first token (and even the visual of how it is learning to do so) thus the first token becoming a structural garbage bin (attention sink), how that affects KV Cache memory, what dedicated learnable meta/prefixes look like, how they can act as sinks, how they are prepended and what is their effect. I want to understand how Attention gathers context across positions, what does it look like after it has done so, how that enables the FFN (MLP) to transform every token independently and what does that look like, and how does that result in it becoming โ…” of Transformerโ€™s parameters and act like modelโ€™s primary key value factual memory. I want to understand what does Classic MLP look like in the above, SwiGLU with its 3 matrix use where Wgate acts as dynamic valve for Wupโ€™s flow, how Squared ReLU replaces SwiGLU with RELU Squared and how that yields much higher activation sparsity (what does that look like) and how does that help compression, quantization and pruning of models I want to understand how memory is the bottleneck, how moving a byte from memory takes much longer than the actual arithmetic operations, how much and in what way does caching at various levels help and how much is still left on the table, how much do HBMs close the gap, and how does this all compare to Compute in Memory, what does it look like (its computations and operations) in terms of similar workloads I want to understand how temperature through its effect on logits and Top k and Top p on sampling affects the actual response from LLM, like I want to understand the whole flow and effect, and I want to understand why just like so many other hyperparameters and user specifications why these canโ€™t just be set to default/learned etc. and why user input is very often required for them I want to understand how attention is similar to a database and how it is unlike a relational database and instead the result of its query is a content dependent weighted sum

Drag to resize

Response not available

Drag to resize
Drag to resize
Drag to resize
Drag to resize