Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Large Language Models
·
Module 9
Decoding Strategies and Inference Optimization
1
Autoregressive Text Generation Explained
Explain how autoregressive generation produces text one token at a time using the model's own outputs.
2
Greedy Decoding vs. Beam Search: Output Quality & Cost
Compare greedy decoding and beam search in terms of output quality and computational cost.
3
Temperature Scaling for Calibrated Probabilities
Explain how temperature scaling modifies the sharpness of the output probability distribution to control randomness.
4
Top-K and Nucleus Sampling: Balancing Diversity and Coherence
Describe top-k and nucleus (top-p) sampling and how they balance diversity and coherence in generated text.
5
KV Caching for Efficient Autoregressive Generation
Explain KV caching and how it avoids redundant computation of key and value states during autoregressive generation.
Previous module
Advanced Architectural Innovations
Next module
Model Adaptation and Fine-Tuning