Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Generative AI for Cloud Solutions

You're reading from   Generative AI for Cloud Solutions Architect modern AI LLMs in secure, scalable, and ethical cloud environments

Arrow left icon
Product type Paperback
Published in Apr 2024
Publisher Packt
ISBN-13 9781835084786
Length 300 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Paul Singh Paul Singh
Author Profile Icon Paul Singh
Paul Singh
Anurag Karuparti Anurag Karuparti
Author Profile Icon Anurag Karuparti
Anurag Karuparti
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1:Integrating Cloud Power with Language Breakthroughs FREE CHAPTER
2. Chapter 1: Cloud Computing Meets Generative AI: Bridging Infinite Impossibilities 3. Chapter 2: NLP Evolution and Transformers: Exploring NLPs and LLMs 4. Part 2: Techniques for Tailoring LLMs
5. Chapter 3: Fine-Tuning – Building Domain-Specific LLM Applications 6. Chapter 4: RAGs to Riches: Elevating AI with External Data 7. Chapter 5: Effective Prompt Engineering Techniques: Unlocking Wisdom Through AI 8. Part 3: Developing, Operationalizing, and Scaling Generative AI Applications
9. Chapter 6: Developing and Operationalizing LLM-based Apps: Exploring Dev Frameworks and LLMOps 10. Chapter 7: Deploying ChatGPT in the Cloud: Architecture Design and Scaling Strategies 11. Part 4: Building Safe and Secure AI – Security and Ethical Considerations
12. Chapter 8: Security and Privacy Considerations for Gen AI – Building Safe and Secure LLMs 13. Chapter 9: Responsible Development of AI Solutions: Building with Integrity and Care 14. Part 5: Generative AI – What’s Next?
15. Chapter 10: The Future of Generative AI – Trends and Emerging Use Cases 16. Index 17. Other Books You May Enjoy

Techniques for fine-tuning models

In this section, we’ll discuss two fine-tuning methods: the traditional full fine-tuning approach and advanced techniques such as PEFT, which integrates optimizations to attain comparable results to full fine-tuning but with higher efficiency and reduced memory and computational expenses.

Full fine-tuning

Full fine-tuning refers to the approach where all parameters/weights of a pretrained model are adjusted using a task-specific dataset. It’s a straightforward method and is generally effective, but it might require a considerable amount of data to avoid overfitting and compute, especially for large models.

The challenges with generic full fine-tuning methods include updating all the model parameters of the LLMs for every downstream task. Here are some more issues to consider:

  • High compute and memory requirements: Full fine-tuning can increase the cost of compute exorbitantly, result in large memory requirements, and also...
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 ₹800/month. Cancel anytime