Generative AI with Python and PyTorch - Second Edition: Navigating the AI frontier with LLMs, Stable Diffusion, and next-gen AI applications
暫譯: 使用 Python 和 PyTorch 的生成式 AI - 第二版:探索 LLM、穩定擴散及下一代 AI 應用的 AI 前沿

Babcock, Joseph, Bali, Raghav

相關主題

商品描述

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 and capabilities of LLMs

- 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

商品描述(中文翻譯)

**掌握 GenAI 技術,使用變分自編碼器 (VAEs)、生成對抗網絡 (GANs)、長短期記憶網絡 (LSTMs) 和大型語言模型 (LLMs) 創建圖像和文本**

**主要特點:**
- 實現 LLMs 和生成式 AI 的實際應用
- 使用 PEFT 和 LoRA 微調模型以加快訓練速度
- 通過檢索增強生成 (RAG) 技術、LangChain 和 LlamaIndex 擴展您的 LLM 工具箱
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 格式電子書

**書籍描述:**
通過沉浸式的實踐項目,成為生成式 AI 的專家,利用當今最強大的自然語言處理 (NLP) 和計算機視覺模型。《使用 Python 和 PyTorch 的生成式 AI》是您創建先進 AI 應用的端到端指南,由擁有多項 AI 專利的資深數據科學家 Raghav Bali 和機器學習專家 Joseph Babcock 共同撰寫。通過商業驗證的方法,本書簡化了複雜的 GenAI 概念,使學習既可及又能立即應用。

從 NLP 到圖像生成,第二版探討了這些技術的實際應用及其背後的理論。通過整合 LLMs 的最新進展,為您設計和實施強大的 AI 系統做好準備,將數據轉化為可行的智慧。

您將通過掌握 GPT-4、LangChain、RLHF、LoRA、RAG 等技術來建立多功能的 LLM 工具包。您還將探索圖像生成的深度學習技術,並使用 GANs 應用風格轉移,然後進一步實施 CLIP 和擴散模型。

無論您是在生成動態內容還是開發複雜的 AI 驅動解決方案,本書都為您提供了充分利用 Python 和 AI 的全部變革力量所需的一切。

**您將學到的內容:**
- 理解 LLMs 的核心概念和能力
- 使用思維鏈 (chain-of-thought)、ReAct 和提示查詢語言創建有效的提示,以引導 LLMs 產生所需的輸出
- 了解注意力機制和變壓器如何改變 NLP
- 通過將擴散模型與 VAEs 結合來優化您的擴散模型
- 基於 LSTMs 和 LLMs 構建文本生成管道
- 利用開源 LLMs(如 Llama 和 Mistral)的力量,應用於多種場景

**本書適合誰:**
本書適合數據科學家、機器學習工程師和尋求實用技能以構建生成式 AI 系統的軟體開發人員。需要具備基本的數學和統計知識,以及 Python 編碼經驗。

**目錄:**
- 生成式 AI 簡介:從模型中提取數據
- 深度神經網絡的構建塊
- 文本生成方法的興起
- NLP 2.0:使用變壓器生成文本
- LLM 基礎
- 開源 LLMs
- 提示工程
- LLM 工具箱
- LLM 優化技術
- 生成式 AI 的新興應用
- 使用 VAEs 的神經網絡
- 使用 GANs 的圖像生成
- 使用 GANs 的風格轉移
- 使用 GANs 的深度偽造
- 擴散模型與 AI 藝術