VOOZH about

URL: https://www.coursera.org/learn/applied-natural-language-processing-in-engineering-part-2

⇱ Applied Natural Language Processing in Engineering Part 2 | Coursera


Applied Natural Language Processing in Engineering Part 2

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Applied Natural Language Processing in Engineering Part 2

Included with

β€’

Learn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

There are 7 modules in this course

This course is best suited for software engineers, data scientists, and graduate students in computer science or engineering fields who wish to develop expertise in building and deploying natural language processing systems to solve real-world language understanding challenges.

You will master core NLP tasks such as Part-of-Speech tagging, Named Entity Recognition, sentiment analysis, and Neural Machine Translation while implementing various neural architectures from Recurrent Neural Networks and bidirectional RNNs to Conditional Random Fields and state-of-the-art transformer models. The course emphasizes practical application through extensive laboratory work and projects, where you will develop complete NLP pipelines using frameworks like PyTorch and Hugging Face, learning to preprocess data, train models, and evaluate performance using industry-standard metrics. By the end of the course, you will be equipped with both theoretical understanding and practical skills to design, implement, and optimize NLP solutions for real-world engineering applications, from chatbots and translation systems to information extraction and text analysis tools. The curriculum culminates in a comprehensive capstone project where you will apply multiple techniques learned throughout the course to solve a complex language processing challenge. You will be equipped with both theoretical knowledge to tackle complex language processing problems in industry settings, enabling you to build production-ready NLP applications that can understand, interpret, and generate human language effectively.

This module delves into the critical preprocessing step of tokenization in NLP, where text is segmented into smaller units called tokens. You will explore various tokenization techniques, including character-based, word-level, Byte Pair Encoding (BPE), WordPiece, and Unigram tokenization. Then you’ll examine the importance of normalization and pre-tokenization processes to ensure text uniformity and improve tokenization accuracy. Through practical examples and hands-on exercises, students will learn to handle out-of-vocabulary (OOV) issues, manage large vocabularies efficiently, and understand the computational complexities involved. By the end of the module, you will be equipped with the knowledge to implement and optimize tokenization methods for diverse NLP applications.

What's included

1 video13 readings2 assignments1 app item

1 videoβ€’Total 1 minute
  • Meet Your Facultyβ€’1 minute
13 readingsβ€’Total 69 minutes
  • Course Introductionβ€’2 minutes
  • Syllabus - Applied Natural Language Processing in Engineering Part 2β€’10 minutes
  • Academic Integrityβ€’1 minute
  • Week 8 Overviewβ€’2 minutes
  • Introductionβ€’5 minutes
  • Pre-Tokenizationβ€’5 minutes
  • Character-based Tokenizationβ€’5 minutes
  • Word-level Tokenizationβ€’5 minutes
  • Byte Pair Encoding (BPE)β€’10 minutes
  • WordPiece Tokenizationβ€’10 minutes
  • Unigram Tokenizationβ€’10 minutes
  • Vocabulary Pruning in Unigram Tokenizationβ€’2 minutes
  • Summary and Final Thoughtsβ€’2 minutes
2 assignmentsβ€’Total 75 minutes
  • Assess Your Learning: Tokenizationβ€’30 minutes
  • Module 8 Quizβ€’45 minutes
1 app itemβ€’Total 10 minutes
  • The Viterbi Algorithm for Tokenizationβ€’10 minutes

In this module, we will explore foundational models in natural language processing (NLP), focusing on language models, feedforward neural networks (FFNNs), and Hidden Markov Models (HMMs). Language models are crucial in predicting and generating sequences of text by assigning probabilities to words or phrases within a sentence, allowing for applications such as autocomplete and text generation. FFNNs, though limited to fixed-size contexts, are foundational neural architectures used in language modeling, learning complex word relationships through non-linear transformations. In contrast, HMMs model sequences based on hidden states, which influence observable outcomes. They are particularly useful in tasks like part-of-speech tagging and speech recognition. As the module progresses, we will also examine modern advancements like neural transition-based parsing and the evolution of language models into sophisticated architectures such as transformers and large-scale pre-trained models like BERT and GPT. This module provides a comprehensive view of how language modeling has developed from statistical methods to cutting-edge neural architectures.

What's included

2 videos19 readings4 assignments

2 videosβ€’Total 8 minutes
  • Language Modelsβ€’4 minutes
  • Hidden Markov Modelsβ€’4 minutes
19 readingsβ€’Total 183 minutes
  • Week 9 Overviewβ€’2 minutes
  • Introduction to Language Modelsβ€’5 minutes
  • Probability Assignment in Language Modelβ€’2 minutes
  • Evolution of Language Modelsβ€’10 minutes
  • State-of-the-Art Modelsβ€’2 minutes
  • N-Gramβ€’5 minutes
  • Probabilities in Language Modelsβ€’10 minutes
  • Example: The Cat Sat on the Matβ€’10 minutes
  • Limitations of N-Gram Modelsβ€’5 minutes
  • FFNN in Language Modelingβ€’20 minutes
  • Pros and Cons of FFNNsβ€’5 minutes
  • Introduction to HMMβ€’10 minutes
  • Hidden Markov Modelsβ€’2 minutes
  • Mathematical Representation of HMMsβ€’15 minutes
  • Likelihood Problem: Forward Algorithmβ€’10 minutes
  • Decoding Problem: Viterbi Algorithmβ€’15 minutes
  • Learning Problem: Baum-Welch Algorithmβ€’15 minutes
  • Example of HMMβ€’20 minutes
  • HMMs in Speech Recognitionβ€’20 minutes
4 assignmentsβ€’Total 120 minutes
  • Assess Your Learning: Language Modelsβ€’30 minutes
  • Assess Your Learning: FFNNsβ€’15 minutes
  • Assess Your Learning: HMMsβ€’30 minutes
  • Module 9 Quizβ€’45 minutes

In this module, we will explore Recurrent Neural Networks (RNNs), a fundamental architecture in deep learning designed for sequential data. RNNs are particularly well-suited for tasks where the order of inputs matters, such as time series prediction, language modeling, and speech recognition. Unlike traditional neural networks, RNNs have connections that allow them to β€œremember” information from previous steps by sharing parameters across time steps. This ability enables them to capture temporal dependencies in data, making them powerful for sequence-based tasks. However, RNNs come with challenges like vanishing and exploding gradients which affect their ability to learn long-term dependencies. Throughout the module, you will explore different RNN variants such as Long Short-Term Memory (LSTM) and Gated Recurrent Units (GRUs), which address these challenges. You will also delve into advanced training techniques and applications of RNNs in real-world NLP and time series problems.

What's included

2 videos22 readings2 assignments1 app item

2 videosβ€’Total 4 minutes
  • Recurrent Neural Networksβ€’4 minutes
  • The RNN Processβ€’0 minutes
22 readingsβ€’Total 221 minutes
  • Week 10 Overviewβ€’2 minutes
  • Recurrent Neural Networks (RNNs)β€’2 minutes
  • Challenges & Applications in RNNβ€’5 minutes
  • Parameter Sharing in RNNβ€’5 minutes
  • Dynamic Systemsβ€’5 minutes
  • Dynamic Systems to RNNβ€’10 minutes
  • Computing Gradient in RNNβ€’10 minutes
  • RNN Advantages and Disadvantagesβ€’5 minutes
  • Training an RNN Language Modelβ€’20 minutes
  • Problems with RNNβ€’15 minutes
  • How to Solve these Issues?β€’15 minutes
  • Gated RNNβ€’15 minutes
  • LSTM Equationsβ€’15 minutes
  • Gated Recurrent Unit (GRU)β€’10 minutes
  • Residual Neural Networksβ€’20 minutes
  • Skip Connection: The Key to Learning Residualsβ€’15 minutes
  • Conventions Usedβ€’2 minutes
  • Step-by-Step Breakdown 1 - 2β€’5 minutes
  • Step-by-Step Breakdown 3 A - Gβ€’15 minutes
  • Step-by-Step Breakdown 3 H - Nβ€’15 minutes
  • Step-by-Step Breakdown 4 - 6β€’10 minutes
  • Perplexity Calculationβ€’5 minutes
2 assignmentsβ€’Total 75 minutes
  • Assess Your Learning: RNNsβ€’30 minutes
  • Module 10 Quizβ€’45 minutes
1 app itemβ€’Total 10 minutes
  • Introduction to LSTM, GRU, and Residual Networksβ€’10 minutes

This module introduces students to advanced Natural Language Processing (NLP) techniques, focusing on foundational tasks such as Part-of-Speech (PoS) tagging, sentiment analysis, and sequence modeling with recurrent neural networks (RNNs). Students will examine how PoS tagging helps in understanding grammatical structures, enabling applications such as machine translation and named entity recognition (NER). The module delves into sentiment analysis, highlighting various approaches from traditional machine learning models (e.g., Naive Bayes) to advanced deep learning techniques (e.g., bidirectional RNNs and transformers). Students will learn to implement both forward and backward contextual understanding using bidirectional RNNs, which improves accuracy in tasks where sequence order impacts meaning. By the end of the course, students will gain hands-on experience building NLP models for real-world applications, equipping them to handle sequential data and capture complex dependencies in text analysis.

What's included

1 video15 readings4 assignments

1 videoβ€’Total 5 minutes
  • Introduction to PoS Tagging, Bidirectional RNNs, and Sentiment Analysisβ€’5 minutes
15 readingsβ€’Total 113 minutes
  • Week 11 Overviewβ€’2 minutes
  • Introduction to PoS Taggingβ€’10 minutes
  • How does PoS Tagging Works?β€’10 minutes
  • Challenges in & Advantages of PoS Taggingβ€’5 minutes
  • Using Recurrent Neural Networks (RNNs) for PoS Taggingβ€’10 minutes
  • Steps in PoS Tagging with RNNβ€’5 minutes
  • Using LSTM or GRU in Place of Simple RNNsβ€’10 minutes
  • Conclusionβ€’10 minutes
  • Motivationβ€’2 minutes
  • Bidirectional RNNsβ€’10 minutes
  • Multi-layer RNNsβ€’10 minutes
  • Introductionβ€’5 minutes
  • Approaches with RNNsβ€’20 minutes
  • Other Approaches for Sentiment Analysisβ€’2 minutes
  • Conclusionβ€’2 minutes
4 assignmentsβ€’Total 135 minutes
  • Assess Your Learning: PoSβ€’30 minutes
  • Assess Your Learning: Bidirectional RNNsβ€’30 minutes
  • Assess Your Learning: Sentiment Analysisβ€’30 minutes
  • Module 11 Quiz β€’45 minutes

This module introduces you to core tasks and advanced techniques in Natural Language Processing (NLP), with a focus on structured prediction, machine translation, and sequence labeling. You will explore foundational topics such as Named Entity Recognition (NER), Part-of-Speech (PoS) tagging, and sentiment analysis and use neural network architectures like Recurrent Neural Networks (RNNs), Long Short-Term Memory (LSTM) networks, and Conditional Random Fields (CRFs). The module will cover key concepts in sequence modeling, such as bidirectional and multi-layer RNNs, which capture both past and future context to enhance the accuracy of tasks like NER and PoS tagging. Additionally, you will delve into Neural Machine Translation (NMT), examining encoder-decoder models with attention mechanisms to address challenges in translating long sequences. Practical implementations will involve integrating these models into real-world applications, focusing on handling complex language structures, rare words, and sequential dependencies. By the end of this module, you will be proficient in building and optimizing deep learning models for a variety of NLP tasks.

What's included

3 videos18 readings4 assignments

3 videosβ€’Total 7 minutes
  • Introduction to CRFβ€’3 minutes
  • Introduction to NER and NMTβ€’4 minutes
  • Visualization of the NMT Process β€’0 minutes
18 readingsβ€’Total 164 minutes
  • Week 12 Overviewβ€’2 minutes
  • Definition of CRFβ€’10 minutes
  • CRF Model with LSTMβ€’10 minutes
  • Combining LSTM with CRFβ€’20 minutes
  • Calculating the Probability of a Sequence, Log-Probability & Training Objectiveβ€’15 minutes
  • Decoding: Finding the Best Label Sequenceβ€’5 minutes
  • Details on LSTM-CRF Componentsβ€’15 minutes
  • Summary of the Transition Matrix in CRFβ€’5 minutes
  • Named Entity Recognition (NER)β€’10 minutes
  • NER Using RNNs/LSTMsβ€’10 minutes
  • BiLSTM for NERβ€’10 minutes
  • CRF Layer for Sequencing Labelingβ€’10 minutes
  • Attention in NERβ€’10 minutes
  • Table: Alphabetical List of PoS Tags used in the Penn Treebank Projectβ€’5 minutes
  • Machine Translation Overviewβ€’5 minutes
  • Sequence-to-Sequence Model for NMTβ€’10 minutes
  • Learning in NMT: Optimization and Loss Functionβ€’10 minutes
  • Byte Pair Encoding (BPE) for Handling Rare Wordsβ€’2 minutes
4 assignmentsβ€’Total 135 minutes
  • Assess Your Learning: CRFsβ€’30 minutes
  • Assess Your Learning: NERsβ€’30 minutes
  • Assess Your Learning: NMTsβ€’30 minutes
  • Module 12 Quizβ€’45 minutes

In this module we’ll focus on attention mechanisms and explore the evolution and significance of attention in neural networks, starting with its introduction in neural machine translation. We’ll cover the challenges of traditional sequence-to-sequence models and how attention mechanisms, particularly in Transformer architectures, address issues like long-range dependencies and parallelization, which enhances the model's ability to focus on relevant parts of the input sequence dynamically. Then, we’ll turn our attention to Transformers and delve into the revolutionary architecture introduced by Vaswani et al. in 2017, which has significantly advanced natural language processing. We’ll cover the core components of Transformers, including self-attention, multi-head attention, and positional encoding to explain how these innovations address the limitations of traditional sequence models and enable efficient parallel processing and handling of long-range dependencies in text.

What's included

2 videos25 readings3 assignments2 app items

2 videosβ€’Total 9 minutes
  • Attention Mechanismsβ€’3 minutes
  • Transformersβ€’6 minutes
25 readingsβ€’Total 239 minutes
  • Week 13 Overviewβ€’2 minutes
  • Introduction and Motivationβ€’5 minutes
  • Sequence-to-Sequence Modelsβ€’5 minutes
  • Challenges of Seq2Seq Modelsβ€’15 minutes
  • Attention Mechanismsβ€’5 minutes
  • General Seq2Seq Modelsβ€’10 minutes
  • Detailed Attention Process in Seq2Seqβ€’15 minutes
  • Introduction and Transformer Architectureβ€’2 minutes
  • Applications of Transformer Architecturesβ€’5 minutes
  • Key, Query, Valueβ€’3 minutes
  • Self-Attentionβ€’15 minutes
  • Self-Attention as Routingβ€’5 minutes
  • Computing and Weighting Valuesβ€’10 minutes
  • Self-Attention in Matrix Formβ€’10 minutes
  • Position Representations β€’10 minutes
  • The Intuitionβ€’15 minutes
  • Elementwise Nonlinearityβ€’20 minutes
  • Multi-head Attentionβ€’10 minutes
  • Sequence-Tensor Formβ€’10 minutes
  • Transformersβ€’15 minutes
  • Types of Transformersβ€’20 minutes
  • Cross-Attentionβ€’15 minutes
  • Decoder Process with Cross-Attentionβ€’10 minutes
  • Drawbacks of Transformersβ€’5 minutes
  • Conclusionβ€’2 minutes
3 assignmentsβ€’Total 105 minutes
  • Assess Your Learning: Attentionβ€’30 minutes
  • Assess Your Learning: Transformerβ€’30 minutes
  • Module 13 Quizβ€’45 minutes
2 app itemsβ€’Total 40 minutes
  • Multi-Head Visualizationβ€’20 minutes
  • Encoder-Decoder Exampleβ€’20 minutes

In this module, we’ll hone in on pre-training and explore the foundational role of pre-training in modern NLP models, highlighting how models are initially trained on large, general datasets to learn language structures and semantics. This pre-training phase, often involving tasks like masked language modeling, equips models with broad linguistic knowledge, which can then be fine-tuned on specific tasks, enhancing performance and reducing the need for extensive task-specific data.

What's included

1 video19 readings2 assignments

1 videoβ€’Total 5 minutes
  • Pre-Trainingβ€’5 minutes
19 readingsβ€’Total 209 minutes
  • Week 14 Overviewβ€’2 minutes
  • Introduction to Pre-Trainingβ€’15 minutes
  • Pretrained Word Embeddingsβ€’10 minutes
  • Learning from Reconstructing Inputβ€’10 minutes
  • Pretraining Through Language Modelingβ€’20 minutes
  • Pretraining for Three Types of Architecturesβ€’10 minutes
  • BERT: Bidirectional Encoder Representations from Transformersβ€’15 minutes
  • BERT Pre-training β€’10 minutes
  • Fine-tuningβ€’15 minutes
  • Full fine-tuning vs Parameter-Efficient Fine-tuningβ€’15 minutes
  • Limitations of Pre-trained Encoders and Extensions of BERTβ€’10 minutes
  • Pretraining Decodersβ€’10 minutes
  • Generative Pretrained Transformer (GPT)β€’10 minutes
  • Scaling Lawsβ€’15 minutes
  • What kinds of things does pretraining teach?β€’10 minutes
  • Pretraining encoder-decoders: What pretraining objective to use?β€’15 minutes
  • Span Corruption: T5 modelβ€’10 minutes
  • Transfer Learning to Downstream Tasksβ€’5 minutes
  • Congratulations! β€’2 minutes
2 assignmentsβ€’Total 75 minutes
  • Assess Your Learning: Pre-trainingβ€’30 minutes
  • Module 14 Quizβ€’45 minutes

Instructor

Northeastern University
6 Coursesβ€’958 learners

Explore more from Machine Learning

Why people choose Coursera for their career

πŸ‘ Image

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."
πŸ‘ Image

Jennifer J.

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

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."
πŸ‘ Image

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."

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,