Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Decoding Large Language Models

You're reading from   Decoding Large Language Models An exhaustive guide to understanding, implementing, and optimizing LLMs for NLP applications

Arrow left icon
Product type Paperback
Published in Oct 2024
Publisher Packt
ISBN-13 9781835084656
Length 396 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Irena Cronin Irena Cronin
Author Profile Icon Irena Cronin
Irena Cronin
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Part 1: The Foundations of Large Language Models (LLMs)
2. Chapter 1: LLM Architecture FREE CHAPTER 3. Chapter 2: How LLMs Make Decisions 4. Part 2: Mastering LLM Development
5. Chapter 3: The Mechanics of Training LLMs 6. Chapter 4: Advanced Training Strategies 7. Chapter 5: Fine-Tuning LLMs for Specific Applications 8. Chapter 6: Testing and Evaluating LLMs 9. Part 3: Deployment and Enhancing LLM Performance
10. Chapter 7: Deploying LLMs in Production 11. Chapter 8: Strategies for Integrating LLMs 12. Chapter 9: Optimization Techniques for Performance 13. Chapter 10: Advanced Optimization and Efficiency 14. Part 4: Issues, Practical Insights, and Preparing for the Future
15. Chapter 11: LLM Vulnerabilities, Biases, and Legal Implications 16. Chapter 12: Case Studies – Business Applications and ROI 17. Chapter 13: The Ecosystem of LLM Tools and Frameworks 18. Chapter 14: Preparing for GPT-5 and Beyond 19. Chapter 15: Conclusion and Looking Forward 20. Index 21. Other Books You May Enjoy

Scalability and deployment considerations

When deploying LLMs, considering scalability and infrastructure is crucial to ensure that the system can handle increased workloads without performance degradation. In this section, we will take a detailed look into the aspects of scalability and infrastructure considerations.

Hardware and computational resources

Setting up hardware and computational resources for LLM deployment is complex. Let’s review them in detail in the following sections.

High-performance GPUs

GPUs, being the backbone of modern ML infrastructures due to their parallel processing capabilities, are ideal for the matrix and vector computations LLMs require.

When evaluating GPUs, consider the following:

  • Core count and speed: A higher number of cores and faster clock speeds generally translate to better performance
  • Memory bandwidth and capacity: Adequate memory is necessary to train large models, as it allows for larger batch sizes and faster...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image