Price: $54.99 - $41.80
(as of Sep 11, 2024 05:17:08 UTC – Details)
The definitive guide to LLMs, from architectures, pretraining, and fine-tuning to Retrieval Augmented Generation (RAG), multimodal Generative AI, risks, and implementations with ChatGPT Plus with GPT-4, Hugging Face, and Vertex AI
Key Features
– Compare and contrast 20+ models (including GPT-4, BERT, and Llama 2) 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, applications, and various platforms (Hugging Face, OpenAI, and Google Vertex AI) used for Natural Language Processing (NLP) and Computer Vision (CV).
The book guides you through different transformer architectures to the latest Foundation Models and Generative AI. You’ll pretrain and fine-tune LLMs and work through different use cases, from summarization to implementing question-answering systems with embedding-based search techniques. You will also learn the risks of LLMs, from hallucinations and memorization to privacy, and how to mitigate such risks using moderation models with rule and knowledge bases. You’ll implement Retrieval Augmented Generation (RAG) with LLMs to improve the accuracy of your models and gain greater control over LLM outputs.
Dive into generative vision transformers and multimodal model architectures and build applications, such as image and video-to-text classifiers. Go further by combining different models and platforms and learning about AI agent replication.
This book provides you with an understanding of transformer architectures, pretraining, fine-tuning, LLM use cases, and best practices.
What you will learn
– Breakdown and understand the architectures of the Original Transformer, BERT, GPT models, T5, PaLM, ViT, CLIP, and DALL-E
– Fine-tune BERT, GPT, and PaLM 2 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 2, DALL-E 3, and GPT-4V
Who this book is for
This book is ideal for NLP and CV engineers, software developers, data scientists, machine learning engineers, and technical leaders looking to advance their LLMs and generative AI skills or explore the latest trends in the field.
Knowledge of Python and machine learning concepts is required to fully understand the use cases and code examples. However, with examples using LLM user interfaces, prompt engineering, and no-code model building, this book is great for 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)
From the brand
See Our Full Range:
Packt is a leading publisher of technical learning content with the ability to publish books on emerging tech faster than any other.
Our mission is to increase the shared value of deep tech knowledge by helping tech pros put software to work.
We help the most interesting minds and ground-breaking creators on the planet distill and share the working knowledge of their peers.
Publisher : Packt Publishing; 3rd ed. edition (February 29, 2024)
Language : English
Paperback : 728 pages
ISBN-10 : 1805128728
ISBN-13 : 978-1805128724
Item Weight : 2.72 pounds
Dimensions : 1.51 x 7.5 x 9.25 inches
Customers say
Customers find the book provides both foundational knowledge and advanced techniques to elevate it. They say it excels at making complex concepts understandable and engaging. Readers also say it serves as an indispensable resource for navigating the intricacies. However, some find the wording sloppy, confusing, and full of unnecessary jargon. Additionally, they say the author has failed to explain basic concepts.
AI-generated from the text of customer reviews