Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Introduction to Transformer for NLP with Python
Rating: 4.4 out of 5(39 ratings)
251 students

Introduction to Transformer for NLP with Python

BERT, GPT, Deep Learning, Machine Learning, & NLP with Hugging Face, Attention in Python, Tensorflow, PyTorch, & Keras
Created byHoang Quy La
Last updated 1/2023
English
English [Auto],

What you'll learn

  • Chunking
  • Bag of Words
  • Hugging Face transformer
  • POS tagging
  • TF-IDF
  • GPT-2
  • Token Classification
  • BERT
  • Stemming
  • Lemmatization
  • NER
  • Preprocessing data
  • Attention
  • Fine-tuning

Course content

6 sections34 lectures7h 2m total length
  • Course Structure3:08

    Explore the course structure from an introduction to basic natural language processing to the fundamentals of transformers, GPT-2, and token classification, with extensive practice and hands-on training.

  • Tool will be used in this course1:35

    Utilize Google Colab for easy installation and coding. Download the final course as a Jupyter Notebook if you prefer offline work, and manage data location simply.

  • IMPORTANT NOTES PLEASE DO NOT SKIP1:00

    Download the Google Colab notebook and read through it to grasp the essential concepts. Understand the course without watching the videos, as the full transcript is included in the notebook.

  • What is the prerequisite of this course?2:23

    Identify the prerequisites for this course: solid knowledge of Python, understanding of recurrent neural networks, and strong Python programming skills; NLP basics and transformers are covered later.

Requirements

  • Expert in Pytorch
  • Expert in Recurrent Neural Network
  • Expert in Python programming language

Description

Interested in the field of Natural Language Processing  (NLP)? Then this course is for you!

Ever since Transformers arrived on the scene, deep learning hasn't been the same.

  • Machine learning is able to generate text essentially indistinguishable from that created by humans

  • We've reached new state-of-the-art performance in many NLP tasks, such as machine translation, question-answering, entailment, named entity recognition, and more

In this course, you will learn very practical skills for applying transformers, and if you want, the detailed theory behind how transformers and attention work.


There are several reasons why this course is different from any other course. The first reason is that it covers all basic natural language process techniques, so you will have an understanding of what natural language processing is. The second reason is that it covers GPT-2, NER, and BERT which are very popular in natural language processing. The final reason is that you will have lots of practice projects with detailed explanations step-by-step notebook so you can read it when you have free time.


The course is split into 4 major parts:

  1. Basic natural language processing

  2. Fundamental Transformers

  3. Text generation with GPT-2

  4. Text classification


PART 1: Using Transformers


In this section, you will learn about the fundamental of the natural language process. It is really important to understand basic natural language processing before learning transformers. In this section we will cover:


  1. What is natural language processing (NLP)

  2. What is stemming and lemmatization

  3. What is chunking

  4. What is a bag of words?

In this section, we will build 3 small projects. These projects are:

  1. Gender identification

  2. Sentiment analyzer

  3. Topic modelling

PART 2: Fundamental transformer


In this section, you will learn how transformers really work. We will also introduce the new concept called Hugging face transformer and GPT-2 to have a big understanding of how powerful the transformer is.

In this section, we will implement two projects.

  • IMDB project

  • Q&A project implementation


PART 3: Project: Text generation with GPT-2


In this project, we will generate text with GPT-2. This is a project for us to practice and reinforce what we have learned so far. It will also demonstrate how text is generated quickly with a transformer.


PART 4: Token classification.


In this section, we will learn how to classify a text using a transformer. We will also learn about NER which is also popular in transformers.  The main project in this section is about Q &A project and  it will be more advanced than the previous Q & A project.

Who this course is for:

  • Anyone interested in Deep Learning, Machine Learning and Artificial Intelligence
  • Anyone passionate about Artificial Intelligence
  • Anyone interested in Natural Language Processing
  • Data Scientists who want to take their AI Skills to the next level