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 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

The shift to prompt-based approaches

As discussed in prior chapters, the development of the original GPT marked a significant advance in natural language generation, introducing the use of prompts to instruct the model. This method allowed models such as GPT to perform tasks such as translations – converting text such as “Hello, how are you?” to “Bonjour, comment ça va?” – without task-specific training, leveraging deeply contextualized semantic patterns learned during pretraining. This concept of interacting with language models via natural language prompts was significantly expanded with OpenAI’s GPT-3 in 2020. Unlike its predecessors, GPT-3 showcased remarkable capabilities in understanding and responding to prompts in zero- and few-shot learning scenarios, a stark contrast to earlier models that weren’t as adept at such direct interactions. The methodologies, including the specific training strategies and datasets used...

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