
Generative AI with Python and PyTorch: Navigating the AI frontier with LLMs, Stable Diffusion, and next-gen AI applications 2nd ed. Edition
Author(s): Joseph Babcock (Author), Raghav Bali (Author)
- Publisher: Packt Publishing
- Publication Date: March 28 2025
- Edition: 2nd ed.
- Language: English
- Print length: 454 pages
- ISBN-10: 1835884458
- ISBN-13: 9781835884447
Book Description
Master GenAI techniques to create images and text using variational autoencoders (VAEs), generative adversarial networks (GANs), LSTMs, and large language models (LLMs)
Key Features
- Implement real-world applications of LLMs and generative AI
- Fine-tune models with PEFT and LoRA to speed up training
- Expand your LLM toolbox with Retrieval Augmented Generation (RAG) techniques, LangChain, and LlamaIndex
- Purchase of the print or Kindle book includes a free eBook in PDF format
Book Description
Become an expert in Generative AI through immersive, hands-on projects that leverage today’s most powerful models for Natural Language Processing (NLP) and computer vision. Generative AI with Python and PyTorch is your end-to-end guide to creating advanced AI applications, made easy by Raghav Bali, a seasoned data scientist with multiple patents in AI, and Joseph Babcock, a PhD and machine learning expert. Through business-tested approaches, this book simplifies complex GenAI concepts, making learning both accessible and immediately applicable.
From NLP to image generation, this second edition explores practical applications and the underlying theories that power these technologies. By integrating the latest advancements in LLMs, it prepares you to design and implement powerful AI systems that transform data into actionable intelligence.
You’ll build your versatile LLM toolkit by gaining expertise in GPT-4, LangChain, RLHF, LoRA, RAG, and more. You’ll also explore deep learning techniques for image generation and apply styler transfer using GANs, before advancing to implement CLIP and diffusion models.
Whether you’re generating dynamic content or developing complex AI-driven solutions, this book equips you with everything you need to harness the full transformative power of Python and AI.
What you will learn
- Grasp the core concepts behind large language models and their capabilities
- Craft effective prompts using chain-of-thought, ReAct, and prompt query language to guide LLMs toward your desired outputs
- Understand how attention and transformers have changed NLP
- Optimize your diffusion models by combining them with VAEs
- Build text generation pipelines based on LSTMs and LLMs
- Leverage the power of open-source LLMs, such as Llama and Mistral, for diverse applications
Who this book is for
This book is for data scientists, machine learning engineers, and software developers seeking practical skills in building generative AI systems. A basic understanding of math and statistics and experience with Python coding is required.
Table of Contents
- Introduction to Generative AI: Drawing Data from Models
- Building Blocks of Deep Neural Networks
- The Rise of Methods for Text Generation
- NLP 2.0: Using Transformers to Generate Text
- LLM Foundations
- Open-Source LLMs
- Prompt Engineering
- LLM Toolbox
- LLM Optimization Techniques
- Emerging Applications in Generative AI
- Neural Networks Using VAEs
- Image Generation with GANs
- Style Transfer with GANs
- Deepfakes with GANs
- Diffusion Models and AI Art
Editorial Reviews
About the Author
Raghav Bali is a Staff Data Scientist at Delivery Hero, a leading food delivery service headquartered in Berlin, Germany. With 12+ years of expertise, he specializes in research and development of enterprise-level solutions leveraging Machine Learning, Deep Learning, Natural Language Processing, and Recommendation Engines for practical business applications. Besides his professional endeavors, Raghav is an esteemed mentor and an accomplished public speaker. He has contributed to multiple peer-reviewed papers and authored multiple well received books. Additionally, he holds co-inventor credits on multiple patents in healthcare, machine learning, deep learning, and natural language processing.
{"@context":"https://schema.org","@type":"Book","name":"Generative AI with Python and PyTorch: Navigating the AI frontier with LLMs, Stable Diffusion, and next-gen AI applications 2nd ed. Edition","image":"https://m.media-amazon.com/images/I/413u6q8TN-L._SX342_SY445_ML2_.jpg","author":{"@type":"Person","name":"Joseph Babcock (Author), Raghav Bali (Author)"},"publisher":{"@type":"Organization","name":"Packt Publishing"},"datePublished":"March 28 2025","isbn":"9781835884447","numberOfPages":454,"inLanguage":"English","description":"Master GenAI techniques to create images and text using variational autoencoders (VAEs), generative adversarial networks (GANs), LSTMs, and large language models (LLMs)Key FeaturesImplement real-world applications of LLMs and generative AIFine-tune models with PEFT and LoRA to speed up trainingExpand your LLM toolbox with Retrieval Augmented Generation (RAG) techniques, LangChain, and LlamaIndexPurchase of the print or Kindle book includes a free eBook in PDF formatBook DescriptionBecome an expert in Generative AI through immersive, hands-on projects that leverage today’s most powerful models for Natural Language Processing (NLP) and computer vision. Generative AI with Python and PyTorch is your end-to-end guide to creating advanced AI applications, made easy by Raghav Bali, a seasoned data scientist with multiple patents in AI, and Joseph Babcock, a PhD and machine learning expert. Through business-tested approaches, this book simplifies complex GenAI concepts, making learning both accessible and immediately applicable.From NLP to image generation, this second edition explores practical applications and the underlying theories that power these technologies. By integrating the latest advancements in LLMs, it prepares you to design and implement powerful AI systems that transform data into actionable intelligence.You’ll build your versatile LLM toolkit by gaining expertise in GPT-4, LangChain, RLHF, LoRA, RAG, and more. You’ll also explore deep learning techniques for image generation and apply styler transfer using GANs, before advancing to implement CLIP and diffusion models.Whether you’re generating dynamic content or developing complex AI-driven solutions, this book equips you with everything you need to harness the full transformative power of Python and AI.What you will learnGrasp the core concepts behind large language models and their capabilitiesCraft effective prompts using chain-of-thought, ReAct, and prompt query language to guide LLMs toward your desired outputsUnderstand how attention and transformers have changed NLPOptimize your diffusion models by combining them with VAEsBuild text generation pipelines based on LSTMs and LLMsLeverage the power of open-source LLMs, such as Llama and Mistral, for diverse applicationsWho this book is forThis book is for data scientists, machine learning engineers, and software developers seeking practical skills in building generative AI systems. A basic understanding of math and statistics and experience with Python coding is required.Table of ContentsIntroduction to Generative AI: Drawing Data from ModelsBuilding Blocks of Deep Neural NetworksThe Rise of Methods for Text GenerationNLP 2.0: Using Transformers to Generate TextLLM FoundationsOpen-Source LLMsPrompt EngineeringLLM ToolboxLLM Optimization TechniquesEmerging Applications in Generative AINeural Networks Using VAEsImage Generation with GANsStyle Transfer with GANsDeepfakes with GANs Diffusion Models and AI Art","bookEdition":"2nd ed.","url":"https://www.amazon.ca/dp/B0D9QBYYBQ/","bookFormat":"http://schema.org/EBook","additionalType":"http://schema.org/PDF","fileSize":"58 MB","accessibilityFeature":["login required","member access only"],"accessibilitySummary":"PDF version available to authenticated members only. File size: 58 MB."}
电子书百科大全

评论前必须登录!
立即登录 注册