Refresh Your Home For Fall
Buy New
To see product details, add this item to your cart.
Ships from: Amazon
Sold by: TEXbooks Plus
To see product details, add this item to your cart. You can always remove it later.
Ships from
Amazon
Amazon
Ships from
Amazon
Returns
30-day refund / replacement
30-day refund / replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Read full return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Gift options
Available at checkout
Available at checkout This item is a gift. Change
At checkout, you can add a custom message, a gift receipt for easy returns and have the item gift-wrapped
To see product details, add this item to your cart. You can always remove it later.
Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc... Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc... See less
Access codes and supplements are not guaranteed with used items.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • 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
  • Author & AI Expert Denis Rothman shares his vision for Transformers for NLP & CV
  • VIDEO

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

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

4.1 out of 5 stars (82)

Purchase options and add-ons

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

Get With Your Book: PDF Copy, AI Assistant, and Next-Gen Reader Free

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

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

  1. What are Transformers?
  2. Getting Started with the Architecture of the Transformer Model
  3. Emergent vs Downstream Tasks: The Unseen Depths of Transformers
  4. Advancements in Translations with Google Trax, Google Translate, and Gemini
  5. Diving into Fine-Tuning through BERT
  6. Pretraining a Transformer from Scratch through RoBERTa
  7. The Generative AI Revolution with ChatGPT
  8. Fine-Tuning OpenAI GPT Models
  9. Shattering the Black Box with Interpretable Tools

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

Frequently bought together

This item: 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
$23.25
Get it as soon as Wednesday, Sep 23
Only 1 left in stock - order soon.
Sold by TEXbooks Plus and ships from Amazon Fulfillment.
+
$41.60
Get it as soon as Sunday, Sep 20
In Stock
Ships from and sold by Amazon.com.
+
$49.24
Get it as soon as Sunday, Sep 20
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers also bought or read

Loading...

From the brand


From the Publisher

nlp and computer vision
B19899- author

What’s new in this third edition of Transformers for Natural Language Processing and Computer Vision?

There is plenty of new content in this edition, including the implementation of Retrieval Augmented Generation (RAG) with Large Language Models (LLMs) for question-answering tasks and reducing the risk of model hallucinations, giving you more control over your models. I showcase Google Vertex AI, PaLM 2, Llama 2, and HuggingGPT and discuss syntax-free semantic role labeling in the book, as well as dive deeper into the different types of tokenizers.

The biggest change from the previous edition is the addition of several computer vision multimodal model chapters. Transformers such as OpenAI GPT-4V are multimodal. As such, I found it essential to include Computer Vision. The latest vision transformers have taken us into a world of creativity with models, such as DALL-E 3 and Stable Diffusion.

B19899 -  3d mockup

How does the book prepare readers for a career working with Generative AI and Large Language Models?

From page 1, I take the reader into pragmatic approaches to Generative AI and LLMs. The goal is to understand the architecture, potential, and limits of several platforms, such as Hugging Face, Google Vertex AI, and OpenAI, before making a decision. It’s also important to understand the risks of using LLMs. There is a likelihood of losing control of superhuman AI. This book addresses several ways of mitigating risks, such as RAG, embedding-search, knowledge bases, and moderation models.

Moreover, working in this fast-paced, ever-evolving arena means finding the best process, model, and platform for your scenario. The best way is to follow the correct order with a baseline set of tasks. First, try a standard model and go as far as possible with prompt design. Then, try prompt engineering by controlling the input with augmented (RAG) inputs (documents, web scraping, and knowledge base). The next step would be to fine-tune (or build) a model and explore it with prompt engineering and RAG.

B19899-4
Transformers for Natural Language Processing and Computer Vision - Third Edition
Modern Computer Vision with PyTorch - Second Edition
Building LLM Powered Applications
Generative AI with LangChain
RAG-Driven Generative AI
Customer Reviews
4.1 out of 5 stars 82
4.4 out of 5 stars 51
4.2 out of 5 stars 46
4.1 out of 5 stars 95
4.0 out of 5 stars 50
Audience Data scientists and NLP, CV, and ML engineers looking to advance their LLM and GenAI skills AI, CV, and ML engineers working on computer vision projects, including GenAI Software engineers, data scientists, and researchers who want hands-on guidance to build LLM apps Developers, researchers, and anyone interested in staying ahead of the curve with LLMs and LangChain Data scientists, AI, ML, MLOps, and software engineers who want to build RAG-driven LLM/CV pipelines
Goals and learning outcomes Learn how to use NLP, CV, and GenAI, focusing on transformers and their applications across domains Become a computer vision expert by understanding the theory and implementing real-world examples Gain foundational knowledge and learn to use LLMs in an ethical and responsible way Get guidance on the LangChain framework and learn to deploy LLM apps in production environments Build accurate GenAI pipelines with RAG with embedded vector databases and integrated human feedback
Tools used Hugging Face, ChatGPT, GPT-4V, DALL-E 2, DALL-E 3, Google Trax, Gemini, BERT, RoBERTa PyTorch, GANs, ViT, Stable Diffusion, CLIP, TrOCR, BLIP2, LayoutLM, SAM, FastSAM, autoencoders GPT 3.5, GPT 4, LangChain, Llama 2, Falcon LLM, StarCoder, Streamlit LangChain, ChatGPT, Llama 2, StarCoder, Streamlit LlamaIndex, LangChain, Pinecone, Deep Lake, Hugging Face, OpenAI, Google Vertex AI

Editorial Reviews

About the Author

Denis Rothman graduated from Sorbonne University and Paris-Diderot University, designing one of the very first word2matrix patented embedding and patented AI conversational agents. He began his career authoring one of the first AI cognitive Natural Language Processing (NLP) chatbots applied as an automated language teacher for Moet et Chandon and other companies. He authored an AI resource optimizer for IBM and apparel producers. He then authored an Advanced Planning and Scheduling (APS) solution used worldwide.

Product details

  • Publisher ‏ : ‎ Packt Publishing
  • Publication date ‏ : ‎ February 29, 2024
  • Edition ‏ : ‎ 3rd
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 728 pages
  • ISBN-10 ‏ : ‎ 1805128728
  • ISBN-13 ‏ : ‎ 978-1805128724
  • Item Weight ‏ : ‎ 2.72 pounds
  • Dimensions ‏ : ‎ 7.5 x 1.65 x 9.25 inches
  • Best Sellers Rank: #788,637 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.1 out of 5 stars (82)

About the author

Follow authors to get new release updates, plus improved recommendations.
Denis Rothman
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

My core belief is that you only truly understand something when you can teach it. That principle shaped my early years studying at Sorbonne University and Paris Cité University, where I also assisted with teaching while developing my first ideas in natural language processing. During that period, I created and registered early patents in word tokenization, encoding systems, and conversational human‑machine interaction.

After those beginnings, I spent more than three decades deploying real‑world AI systems for global companies across aerospace, manufacturing, luxury, and logistics. This included cognitive NLP chatbots, enterprise optimization engines, and advanced planning and scheduling solutions used worldwide. From the start, I treated explainability as essential, integrating interpretable, acceptance‑based interfaces into industrial AI systems long before XAI became a formal field.

Sharing knowledge has always been central to my work. I write books that translate hands‑on AI experience into practical algorithms, frameworks, and architectures. I remain model‑ and platform‑agnostic, always showing multiple ways to solve a problem. As a full‑stack developer, I believe in teaching through code, so I publish complete programs on GitHub as proof-of-concept.