Packt

How Generative AI Works: Attention and Transformers

Packt

How Generative AI Works: Attention and Transformers

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

4 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

4 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Understand how modern language models evolved from traditional NLP to deep learning

  • Explain tokenization, subword units, and how embeddings represent language numerically

  • Describe the flow of data through encoder and decoder structures

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

December 2026

Assessments

10 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 9 modules in this course

This module provides an overview of the course scope, introduces key learning themes, and sets the foundation for the topics covered throughout the course. Learners will gain clarity on the objectives and structure of the program.

What's included

1 video1 assignment

This module explores the historical development of natural language processing, tracing the shift from traditional methods to deep learning and the transformative impact of transformer models. Learners will gain a clear understanding of key advancements and their relevance in modern NLP.

What's included

3 videos1 assignment

This module explores the fundamental concepts of converting text into numerical representations, including tokens, tokenization methods, and the role of embeddings in natural language processing. Learners will gain a clear understanding of how text is processed and represented in machine learning models.

What's included

4 videos1 assignment

This module explores the concept of attention in language processing, explaining its role, mechanics, and practical applications. Learners will gain a clear understanding of how attention improves comprehension and how it can be applied in real-world scenarios. The module provides both theoretical foundations and concrete examples to enhance learning.

What's included

4 videos1 assignment

This module explores the fundamental concepts and mechanics of self-attention in deep learning. Learners will gain a clear understanding of how self-attention operates and its key components. The module also provides a step-by-step breakdown of the attention calculation process.

What's included

3 videos1 assignment

This module explores the fundamental structure of transformer models, covering their high-level architecture, the distinction between encoder and decoder models, and the data flow mechanisms that enable their functionality. Learners will gain a clear understanding of how these components work together to process and generate language.

What's included

4 videos1 assignment

This module explores the fundamental concepts of multi-head attention and feed forward networks, explaining their roles and interactions within neural network architectures. Learners will gain a clear understanding of how these components work together to process and transform data. The module also provides practical insights into implementing these techniques in real-world scenarios.

What's included

3 videos1 assignment

This module helps learners consolidate key concepts, identify common misunderstandings, and reinforce their understanding of the course material through structured review and clarification.

What's included

2 videos1 assignment

This module helps learners reflect on key concepts, reinforce practical skills, and understand how to apply knowledge in real-world scenarios. It serves as a final synthesis of the course content, ensuring clarity and retention of essential ideas.

What's included

1 video2 assignments

Instructor

Packt - Course Instructors
Packt
2,690 Courses795,495 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

What brings you to Coursera today?

Frequently asked questions