Transformer, BERT, and GPT: Including ChatGPT and Prompt Engineering

  • 5h 4m
  • Oswald Campesato
  • Mercury Learning
  • 2024

This book provides a comprehensive group of topics covering the details of the Transformer architecture, BERT models, and the GPT series, including GPT-3 and GPT-4. Spanning across ten chapters, it begins with foundational concepts such as the attention mechanism, then tokenization techniques, explores the nuances of Transformer and BERT architectures, and culminates in advanced topics related to the latest in the GPT series, including ChatGPT. Key chapters provide insights into the evolution and significance of attention in deep learning, the intricacies of the Transformer architecture, a two-part exploration of the BERT family, and hands-on guidance on working with GPT-3. The concluding chapters present an overview of ChatGPT, GPT-4, and visualization using generative AI. In addition to the primary topics, the book also covers influential AI organizations such as DeepMind, OpenAI, Cohere, Hugging Face, and more. Readers will gain a comprehensive understanding of the current landscape of NLP models, their underlying architectures, and practical applications. Features companion files with numerous code samples and figures from the book.

FEATURES:

    Provides a comprehensive group of topics covering the details of the Transformer architecture, BERT models, and the GPT series, including GPT-3 and GPT-4.

    Features companion files with numerous code samples and figures from the book.

About the Author

Oswald Campesato specializes in Deep Learning, Python, and GPT-4. He is the author/co-author of over forty books including Python 3 Using ChatGPT / GPT-4, NLP for Developers, and Artificial Intelligence, Machine Learning and Deep Learning (all Mercury Learning).

In this Book

  • Introduction
  • Tokenization
  • Transformer Architecture Introduction
  • Transformer Architecture in Greater Depth
  • The BERT Family Introduction
  • The BERT Family in Greater Depth
  • Working with GPT-3 Introduction
  • Working with GPT-3 in Greater Depth
  • ChatGPT and GPT-4
  • Visualization with Generative AI