Generative AI Language Modeling with Transformers (Coursera)

Offered by IBM,
Generative AI Language Modeling with Transformers (Coursera)

This course provides you with an overview of how to use transformer-based models for natural language processing (NLP). In this course, you will learn to apply transformer-based models for text classification, focusing on the encoder component. You’ll learn about positional encoding, word embedding, and attention mechanisms in language transformers and their role in capturing contextual information and dependencies.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

Additionally, you will be introduced to multi-head attention and gain insights on decoder-based language modeling with generative pre-trained transformers (GPT) for language translation, training the models, and implementing them in PyTorch.
Further, you’ll explore encoder-based models with bidirectional encoder representations from transformers (BERT) and train using masked language modeling (MLM) and next sentence prediction (NSP).
Finally, you will apply transformers for translation by gaining insight into the transformer architecture and performing its PyTorch implementation.
The course offers practical exposure with hands-on activities that enables you to apply your knowledge in real-world scenarios.
This course is part of a specialized program tailored for individuals interested in Generative AI engineering.
This course requires a working knowledge of Python, PyTorch, and machine learning.

What you'll learn

  • Explain the concept of attention mechanisms in transformers, including their role in capturing contextual information.
  • Describe language modeling with the decoder-based GPT and encoder-based BERT.
  • Implement positional encoding, masking, attention mechanism, document classification, and create LLMs like GPT and BERT.
  • Use transformer-based models and PyTorch functions for text classification, language translation, and modeling.

Syllabus

Fundamental Concepts of Transformer Architecture
In this module, you will learn the techniques to achieve positional encoding and how to implement positional encoding in PyTorch. You will learn how attention mechanism works and how to apply attention mechanism to word embeddings and sequences. You will also learn how self-attention mechanisms help in simple language modeling to predict the token. In addition, you will learn about scaled dot-product attention mechanism with multiple heads and how the transformer architecture enhances the efficiency of attention mechanisms. You will also learn how to implement a series of encoder layer instances in PyTorch. Finally, you will learn how to use transformer-based models for text classification, including creating the text pipeline and the model and training the model.

Advanced Concepts of Transformer Architecture
In this module, you will learn about decoders and GPT-like models for language translation, train the models, and implement them using PyTorch. You will also gain knowledge about encoder models with Bidirectional Encoder Representations from Transformers (BERT) and pretrain them using masked language modeling (MLM) and next sentence prediction (NSP). You will also perform data preparation for BERT using PyTorch. Finally, you learn about the applications of transformers for translation by understanding the transformer architecture and performing its PyTorch Implementation. The hands-on labs in this module will give you good practice in how you can use the decoder model, encoder model, and transformers for real-world applications.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

El Abogado del Futuro: Legaltech y la Transformación Digital del Derecho (Coursera) Coursera
Universidad Austral

El Abogado del Futuro: Legaltech y la Transformación Digital del Derecho (Coursera)

La revolución digital cambió nuestra manera de comunicarnos, de comerciar y de relacionarnos. Ahora, está llegando al mundo del derecho. Este programa te ofrecerá una visión amplia de las principales tendencias que están afectando a la industria legal: - El nacimiento del mercado de legaltech y la aplicación de tecnología en el derecho. - El rol de la inteligencia artificial en la automatización del trabajo de los abogados. - La tecnología de blockchain y su impacto en la forma en que firmamos y ejecutamos contratos. - Las iniciativas para asegurar el acceso a la justicia a través de cortes virtuales y jueces robot.

Sep 7th 2026
5-12 Weeks
Machine Learning Introduction for Everyone (Coursera) Coursera
IBM

Machine Learning Introduction for Everyone (Coursera)

This three-module course introduces machine learning and data science for everyone with a foundational understanding of machine learning models. You’ll learn about the history of machine learning, applications of machine learning, the machine learning model lifecycle, and tools for machine learning. You’ll also learn about supervised versus unsupervised learning, classification, regression, evaluating machine learning models, and more.

Sep 14th 2026
3 Weeks
Artificial Intelligence and legal issues (Coursera) Coursera
Politecnico di Milano

Artificial Intelligence and legal issues (Coursera)

The purpose of the course is to help students understand the legal implications related to the design and use of artificial intelligence systems, providing an overview of the risks and legal protections that can be envisaged and giving an overview of the legislation and legal principles currently applicable on the subject.

Sep 7th 2026
4 Weeks
Automated Report Generation with Generative AI (Coursera) Coursera
Coursera Instructor Network

Automated Report Generation with Generative AI (Coursera)

In today's data-driven world, generating reports efficiently is a valuable skill for professionals across various industries. This course introduces beginners to the world of automated report generation using AI-powered tools and techniques. You will learn how to leverage the capabilities of artificial intelligence to streamline the reporting process, save time, and improve data accuracy.

Sep 14th 2026
1 Week
Artificial Intelligence: An Overview (Coursera) Coursera
Politecnico di Milano

Artificial Intelligence: An Overview (Coursera)

The course will provide a non-technical overview of the artificial intelligence field. Initially, a discussion on the birth of AI is provided, remarking the seminal ideas and preliminary goals. Furthermore, the crucial weaknesses are presented and how these weaknesses have been circumvented. Then, the current state of AI is presented, in terms of goals, importance at national level, and strategies. Moreover, the taxonomy of the AI topics is presented.

Sep 14th 2026
5-12 Weeks
Leveraging Virtual Assistants for Personal Productivity (Coursera) Coursera
Coursera Instructor Network

Leveraging Virtual Assistants for Personal Productivity (Coursera)

In a fast-paced world, managing personal productivity is crucial. This course introduces beginners to the world of virtual assistants and chatbots and how they can be harnessed to enhance personal productivity. Learn how to use these AI-driven tools effectively to streamline tasks, manage time, and boost overall efficiency.

Sep 14th 2026
1 Week
Legal Tech and the Digital Transformation of Law (Coursera) Coursera
Universidad Austral

Legal Tech and the Digital Transformation of Law (Coursera)

The digital revolution changed the way we communicate and trade. Now, it is coming into the world of law. This program will give you a broad overview of the main trends that are affecting the legal industry: the birth of the legal tech market and the application of technology in law; the role of artificial intelligence in the automation of the work of lawyers; blockchain technology and its impact on the way we sign and execute contracts; initiatives to ensure access to justice through virtual courts and robot judges.

Sep 7th 2026
5-12 Weeks
Business Implications of AI: Full course (Coursera) Coursera
EIT Digital

Business Implications of AI: Full course (Coursera)

In this course you will learn what Artificial Intelligence is, from a leaders point of view. How shall we, as leaders, understand it from a corporate strategy point of view? What is it and how can it be used? What are the crucial strategic decisions we have to make, and how to make them? What consequences can we expect if we decide on doing AI-projects and what kind of competences do we need? Where shall we start, and what could be a good second as well as third step? What implications for the organization can we expect? These are the questions answered in this course.

Sep 7th 2026
4 Weeks
Artificial Intelligence for Breast Cancer Detection (Coursera) Coursera
Johns Hopkins University

Artificial Intelligence for Breast Cancer Detection (Coursera)

Through interactive lectures and module exercises, this course illustrates the potential of artificial intelligence in breast imaging. Topics include an introduction of breast cancer and breast imaging, introduction to artificial intelligence in image analysis and computer image processing of cancer detection. The course intends to provide students basic understanding of artificial intelligence approaches to breast cancer detection.

Sep 7th 2026
4 Weeks
Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning (Coursera) Coursera
DeepLearning.AI

Introduction to TensorFlow for Artificial Intelligence, Machine Learning, and Deep Learning (Coursera)

If you are a software developer who wants to build scalable AI-powered algorithms, you need to understand how to use the tools to build them. This course is part of the upcoming Machine Learning in Tensorflow Specialization and will teach you best practices for using TensorFlow, a popular open-source framework for machine learning.

Sep 14th 2026
4 Weeks