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
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
2. Chapter 1: Understanding Generative AI: An Introduction FREE CHAPTER 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

What this book covers

Chapter 1, Understanding Generative AI: An Introduction, lays the conceptual groundwork, broadening the reader’s fundamental understanding of what this technology does, how it was derived, and how it can be used. It establishes how generative models differ from classical machine learning paradigms and elucidates how they discern complex relationships and idiosyncrasies in data to synthesize human-like text, audio, and video.

Chapter 2, Surveying GenAI Types and Modes: An Overview of GANs, Diffusers, and Transformers, explores the theoretical foundations and real-world applications of these techniques in greater depth. It dissects the architectural innovations and enhancements that improved training stability and output quality over time, bringing us to state-of-the-art LLMs.

Chapter 3, Tracing the Foundations of Natural Language Processing and the Impact of the Transformer, covers the evolution of natural language processing (NLP) that ultimately led to the advent of the Transformer architecture. It introduces the Transformer—its basis in deep learning, its self-attention architecture, and its rapid evolution, which has led to the generative AI phenomenon.

Chapter 4, Applying Pretrained Generative Models: From Prototype to Production, outlines the process of transitioning a generative AI prototype to a production-ready deployment. It walks through setting up a robust Python environment using Docker, GitHub, and CI/CD pipelines, then presents considerations for selecting and deploying a suitable pre-trained model for the project at hand, emphasizing computational considerations, proper evaluation, monitoring, and responsible AI practices.

Chapter 5, Fine-Tuning Generative Models for Specific Tasks, examines how Parameter-Efficient Fine-Tuning (PEFT) facilitates approachable continued training for specific tasks such as question-answering. It explores and defines a range of scalable fine-tuning techniques, comparing them with other approaches such as in-context learning.

Chapter 6, Understanding Domain Adaptation for Large Language Models, introduces domain adaptation, a unique fine-tuning approach that equips models to interpret language unique to specific industries or domains, addressing the gap in LLMs’ understanding of specialized language.

Chapter 7, Mastering the Fundamentals of Prompt Engineering, explores prompting techniques to examine how to adapt a general-purpose LLM without fine-tuning. It explores various prompting strategies that leverage the model’s inherent capabilities to produce targeted and contextually relevant outputs. It explores a simple approach to RAG and provides techniques to understand and measure performance.

Chapter 8, Addressing Ethical Considerations and Charting a Path Toward Trustworthy Generative AI, recognizes the increasing prominence of generative AI and explores the ethical considerations that should guide its progress. It outlines key concepts such as transparency, fairness, accountability, respect for privacy, informed consent, security, and inclusivity, which are essential for the responsible development and use of these technologies.

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