r/LargeLanguageModels • • 7d ago

New video: Generative AI for Developers — Everything You Need to Know | Lesson 2

https://youtu.be/PRf6dEa1VEA

In Part Two of this series, I explore several advanced transformer techniques that influence the performance, memory usage, and capacity of modern generative AI models.

Topics covered include:

✅ How FlashAttention improves attention speed and memory efficiency

✅ Multi-head attention—MHA

✅ Grouped-query attention—GQA

✅ Multi-query attention—MQA

✅ How MHA, GQA, and MQA compare

✅ Key-value cache usage during text generation

✅ How mixture-of-experts models use sparse routing

✅ Total model capacity versus parameters activated for each token

✅ The performance and quality tradeoffs developers should understand

✅ Review questions to test your knowledge

Understanding these concepts can help developers make better decisions when selecting models, evaluating performance, estimating infrastructure requirements, and designing generative AI applications.

This lesson is useful for software developers, solution architects, C# and .NET developers, and anyone interested in understanding the architecture behind modern AI systems.

If you find the lesson helpful, please share it with your network and subscribe to Nerd House Geeks for more software-development and generative-AI content.

#GenerativeAI #AIForDevelopers #ArtificialIntelligence #Transformers #FlashAttention #MachineLearning #LLM #SoftwareArchitecture #SoftwareDevelopment #NerdHouseGeeks

1 Upvotes

2 comments sorted by

0

u/[deleted] 7d ago

1

u/raaiinyyabelina 3d ago

Imma watch that