Jump to ratings and reviews
Rate this book

Transformers for Natural Language Processing and Computer Vision: Explore Generative AI and Large Language Models with Hugging Face, ChatGPT, GPT-4V, and DALL-E 3

Rate this book
Unleash the full potential of transformers with this comprehensive guide covering architecture, capabilities, risks, and practical implementations on OpenAI, Google Vertex AI, and Hugging Face



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

Key FeaturesMaster NLP and vision transformers, from the architecture to fine-tuning and implementationLearn how to apply Retrieval Augmented Generation (RAG) with LLMs using customized texts and embeddingsMitigate LLM risks, such as hallucinations, using moderation models and knowledge basesBook DescriptionTransformers 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 learnLearn how to pretrain and fine-tune LLMsLearn how to work with multiple platforms, such as Hugging Face, OpenAI, and Google Vertex AILearn about different tokenizers and the best practices for preprocessing language dataImplement Retrieval Augmented Generation and rules bases to mitigate hallucinationsVisualize transformer model activity for deeper insights using BertViz, LIME, and SHAPCreate and implement cross-platform chained models, such as HuggingGPTGo in-depth into vision transformers with CLIP, DALL-E 2, DALL-E 3, and GPT-4VWho this book is forThis 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 ContentsWhat are Transformers?Getting Started with the Architecture of the Transformer ModelEmergent vs Downstream The Unseen Depths of TransformersAdvancements in Translations with Google Trax, Google Translate, and GeminiDiving into Fine-Tuning through BERTPretraining a Transformer from Scratch through RoBERTaThe Gener

1257 pages, Kindle Edition

Published February 29, 2024

22 people are currently reading
1 person want to read

About the author

Denis Rothman

18 books12 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (50%)
4 stars
0 (0%)
3 stars
1 (50%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.