Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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 Foundations in Python

You're reading from   Generative AI Foundations in Python Discover key techniques and navigate modern challenges in LLMs

Arrow left icon
Product type Paperback
Published in Jul 2024
Publisher Packt
ISBN-13 9781835460825
Length 190 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Carlos Rodriguez Carlos Rodriguez
Author Profile Icon Carlos Rodriguez
Carlos Rodriguez
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Part 1: Foundations of Generative AI and the Evolution of Large Language Models FREE CHAPTER
2. Chapter 1: Understanding Generative AI: An Introduction 3. Chapter 2: Surveying GenAI Types and Modes: An Overview of GANs, Diffusers, and Transformers 4. Chapter 3: Tracing the Foundations of Natural Language Processing and the Impact of the Transformer 5. Chapter 4: Applying Pretrained Generative Models: From Prototype to Production 6. Part 2: Practical Applications of Generative AI
7. Chapter 5: Fine-Tuning Generative Models for Specific Tasks 8. Chapter 6: Understanding Domain Adaptation for Large Language Models 9. Chapter 7: Mastering the Fundamentals of Prompt Engineering 10. Chapter 8: Addressing Ethical Considerations and Charting a Path Toward Trustworthy Generative AI 11. Index 12. Other Books You May Enjoy

Understanding Domain Adaptation for Large Language Models

In the previous chapter, we examined how Parameter-Efficient Fine-Tuning (PEFT) enhances large language models (LLMs) for specific tasks such as question-answering. In this chapter, we will be introduced to domain adaptation, a distinct fine-tuning approach. Unlike task-specific tuning, domain adaptation equips models to interpret language that’s unique to specific industries or domains, addressing the gap in LLMs’ understanding of specialized language.

To illustrate this, we’ll introduce Proxima Investment Group, a hypothetical digital-only investment firm aiming to adapt an LLM to its specific financial language using internal data. We’ll demonstrate how modifying the LLM to process the specific terminology and nuances typical in Proxima’s environment enhances the model’s relevance and effectiveness in the financial domain.

We’ll also explore the practical steps Proxima...

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 €18.99/month. Cancel anytime