Back to Search

Transformers for Natural Language Processing and Computer Vision - Third Edition: Explore Generative AI and Large Language Models with Hugging Face, C

AUTHOR Rothman, Denis
PUBLISHER Packt Publishing (02/29/2024)
PRODUCT TYPE Paperback (Paperback)

Description

The definitive guide to LLMs, from architectures, pretraining, and fine-tuning to Retrieval Augmented Generation (RAG), multimodal AI, risk mitigation, and practical implementations with ChatGPT, Hugging Face, and Vertex AI

Key Features:

- Compare and contrast 20+ models (including GPT, BERT, and Llama) and multiple platforms and libraries to find the right solution for your project

- Apply RAG with LLMs using customized texts and embeddings

- Mitigate LLM risks, such as hallucinations, using moderation models and knowledge bases

- Purchase of the print or Kindle book includes a free eBook in PDF format

Book Description:

Transformers for Natural Language Processing and Computer Vision, Third Edition, explores Large Language Model (LLM) architectures, practical applications, and popular platforms (Hugging Face, OpenAI, and Google Vertex AI) used for Natural Language Processing (NLP) and Computer Vision (CV).

The book guides you through a range of transformer architectures from foundation models and generative AI. You'll pretrain and fine-tune LLMs and work through different use cases, from summarization to question-answering systems leveraging embedding-based search. You'll also implement Retrieval Augmented Generation (RAG) to enhance accuracy and gain greater control over your LLM outputs. Additionally, you'll understand common LLM risks, such as hallucinations, memorization, and privacy issues, and implement mitigation strategies using moderation models alongside rule-based systems and knowledge integration.

Dive into generative vision transformers and multimodal architectures, and build practical applications, such as image and video classification. Go further and combine different models and platforms to build AI solutions and explore AI agent capabilities.

This book provides you with an understanding of transformer architectures, including strategies for pretraining, fine-tuning, and LLM best practices.

What You Will Learn:

- Breakdown and understand the architectures of the Transformer, BERT, GPT, T5, PaLM, ViT, CLIP, and DALL-E

- Fine-tune BERT, GPT, and PaLM models

- Learn about different tokenizers and the best practices for preprocessing language data

- Pretrain a RoBERTa model from scratch

- Implement retrieval augmented generation and rules bases to mitigate hallucinations

- Visualize transformer model activity for deeper insights using BertViz, LIME, and SHAP

- Go in-depth into vision transformers with CLIP, DALL-E, and GPT

Who this book is for:

This book is ideal for NLP and CV engineers, data scientists, machine learning practitioners, software developers, and technical leaders looking to advance their expertise in LLMs and generative AI or explore latest industry trends.

Familiarity with Python and basic machine learning concepts will help you fully understand the use cases and code examples. However, hands-on examples involving LLM user interfaces, prompt engineering, and no-code model building ensure this book remains accessible to anyone curious about the AI revolution.

Table of Contents

- What are Transformers?

- Getting Started with the Architecture of the Transformer Model

- Emergent vs Downstream Tasks: The Unseen Depths of Transformers

- Advancements in Translations with Google Trax, Google Translate, and Gemini

- Diving into Fine-Tuning through BERT

- Pretraining a Transformer from Scratch through RoBERTa

- The Generative AI Revolution with ChatGPT

- Fine-Tuning OpenAI GPT Models

- Shattering the Black Box with Interpretable Tools

- Investigating the Role of Tokenizers in Shaping Transformer Models

(N.B. Please use the Read Sample option to see further chapters)

Show More
Product Format
Product Details
ISBN-13: 9781805128724
ISBN-10: 1805128728
Binding: Paperback or Softback (Trade Paperback (Us))
Content Language: English
Edition Number: 0003
More Product Details
Page Count: 730
Carton Quantity: 5
Product Dimensions: 7.50 x 1.46 x 9.25 inches
Weight: 2.72 pound(s)
Country of Origin: US
Subject Information
BISAC Categories
Computers | Artificial Intelligence - Computer Vision & Pattern Recognit
Computers | Imaging Systems
Computers | Computer Simulation
Descriptions, Reviews, Etc.
publisher marketing

The definitive guide to LLMs, from architectures, pretraining, and fine-tuning to Retrieval Augmented Generation (RAG), multimodal AI, risk mitigation, and practical implementations with ChatGPT, Hugging Face, and Vertex AI

Key Features:

- Compare and contrast 20+ models (including GPT, BERT, and Llama) and multiple platforms and libraries to find the right solution for your project

- Apply RAG with LLMs using customized texts and embeddings

- Mitigate LLM risks, such as hallucinations, using moderation models and knowledge bases

- Purchase of the print or Kindle book includes a free eBook in PDF format

Book Description:

Transformers for Natural Language Processing and Computer Vision, Third Edition, explores Large Language Model (LLM) architectures, practical applications, and popular platforms (Hugging Face, OpenAI, and Google Vertex AI) used for Natural Language Processing (NLP) and Computer Vision (CV).

The book guides you through a range of transformer architectures from foundation models and generative AI. You'll pretrain and fine-tune LLMs and work through different use cases, from summarization to question-answering systems leveraging embedding-based search. You'll also implement Retrieval Augmented Generation (RAG) to enhance accuracy and gain greater control over your LLM outputs. Additionally, you'll understand common LLM risks, such as hallucinations, memorization, and privacy issues, and implement mitigation strategies using moderation models alongside rule-based systems and knowledge integration.

Dive into generative vision transformers and multimodal architectures, and build practical applications, such as image and video classification. Go further and combine different models and platforms to build AI solutions and explore AI agent capabilities.

This book provides you with an understanding of transformer architectures, including strategies for pretraining, fine-tuning, and LLM best practices.

What You Will Learn:

- Breakdown and understand the architectures of the Transformer, BERT, GPT, T5, PaLM, ViT, CLIP, and DALL-E

- Fine-tune BERT, GPT, and PaLM models

- Learn about different tokenizers and the best practices for preprocessing language data

- Pretrain a RoBERTa model from scratch

- Implement retrieval augmented generation and rules bases to mitigate hallucinations

- Visualize transformer model activity for deeper insights using BertViz, LIME, and SHAP

- Go in-depth into vision transformers with CLIP, DALL-E, and GPT

Who this book is for:

This book is ideal for NLP and CV engineers, data scientists, machine learning practitioners, software developers, and technical leaders looking to advance their expertise in LLMs and generative AI or explore latest industry trends.

Familiarity with Python and basic machine learning concepts will help you fully understand the use cases and code examples. However, hands-on examples involving LLM user interfaces, prompt engineering, and no-code model building ensure this book remains accessible to anyone curious about the AI revolution.

Table of Contents

- What are Transformers?

- Getting Started with the Architecture of the Transformer Model

- Emergent vs Downstream Tasks: The Unseen Depths of Transformers

- Advancements in Translations with Google Trax, Google Translate, and Gemini

- Diving into Fine-Tuning through BERT

- Pretraining a Transformer from Scratch through RoBERTa

- The Generative AI Revolution with ChatGPT

- Fine-Tuning OpenAI GPT Models

- Shattering the Black Box with Interpretable Tools

- Investigating the Role of Tokenizers in Shaping Transformer Models

(N.B. Please use the Read Sample option to see further chapters)

Show More
Your Price  $65.30
Paperback