Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Generative AI with Python and PyTorch
  • Table Of Contents Toc
  • Feedback & Rating feedback
Generative AI with Python and PyTorch

Generative AI with Python and PyTorch - Second Edition

By : Joseph Babcock, Raghav Bali
5 (1)
close
close
Generative AI with Python and PyTorch

Generative AI with Python and PyTorch

5 (1)
By: Joseph Babcock, Raghav Bali

Overview of this book

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.
Table of Contents (19 chapters)
close
close
17
Other Books You May Enjoy
18
Index

Preface

The only way to discover the limits of the possible is to go beyond them into the impossible.

—Arthur C. Clarke

Generative AI continues to push the boundaries of creativity and innovation. Since the first edition of this book, Generative AI with Python and TensorFlow 2, much has evolved to motivate us to share this second edition. That edition was widely appreciated for its accessible explanations and practical focus, helping readers understand and apply foundational concepts in generative modeling.

In this second edition, we embrace the latest advancements, shifting to PyTorch—a mature and widely adopted framework in deep learning—and covering new developments like large language models (LLMs) and diffusion models. The book serves as both a bridge to these transformative technologies and a hands-on guide to implementing them. Key updates include:

  • From foundations to advanced LLM techniques: We cover the evolution of text generation, from early transformer-based models like BERT to the complete training lifecycle for LLMs using techniques like instruction tuning and reinforcement learning with human feedback (RLHF).
  • A rich ecosystem: Explore open-source tools and frameworks that are shaping the generative AI landscape.
  • Classic and emerging methods: Dive into foundational techniques like GANs and VAEs while exploring cutting-edge approaches such as diffusion models for creating AI art.
  • Focus on optimization: Learn strategies to make models more efficient, addressing scalability, cost, and environmental concerns, with insights into emerging hardware and methodologies.
  • Hands-on practice: Practical examples and exercises throughout ensure a deeper understanding and help you implement these concepts.

Building on the success of the first edition, this refreshed version is designed for learners and practitioners eager to harness the latest in generative AI. Whether you are new to the field or an experienced professional, this book equips you to navigate and innovate in this dynamic domain. Let this edition inspire your journey into the future of generative AI, where imagination meets possibility.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Generative AI with Python and PyTorch
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon