Skip to content

Commit

Permalink
Added new chapter 2
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeySaw committed Apr 9, 2024
1 parent 9b60554 commit bff1f78
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 54 deletions.
13 changes: 0 additions & 13 deletions content/chapters/02_dl_basics/02_01_optimization.md

This file was deleted.

13 changes: 13 additions & 0 deletions content/chapters/02_dl_basics/02_01_rnn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: "Chapter 02.01: Recurrent Neural Networks"
weight: 2001

---
This chapter introduces Recurrent Neural Networks in the context of Language Modelling and discusses different types of RNNs, such as LSTMs and Bidirectional RNNs.

<!--more-->

### Lecture slides

{{< pdfjs file="https://github.com/slds-lmu/lecture_dl4nlp/blob/main/slides/chapter02-deeplearningbasics/slides-21-rnn.pdf" >}}

12 changes: 12 additions & 0 deletions content/chapters/02_dl_basics/02_02_attention.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Chapter 02.02 Attention"
weight: 2002
---

This chapter provides a first introduction to the Attention mechanism as a way to model long range dependencies.

<!--more-->

### Lecture slides

{{< pdfjs file="https://github.com/slds-lmu/lecture_dl4nlp/blob/main/slides/chapter02-deeplearningbasics/slides-22-attention.pdf" >}}
12 changes: 0 additions & 12 deletions content/chapters/02_dl_basics/02_02_dnns_activations.md

This file was deleted.

12 changes: 0 additions & 12 deletions content/chapters/02_dl_basics/02_03_backpropagation.md

This file was deleted.

12 changes: 12 additions & 0 deletions content/chapters/02_dl_basics/02_03_elmo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Chapter 02.03: ELMo"
weight: 2003
---
In this chapter we introduce ELMo, a modelling approach, that enables us to contextualize word embeddings.

<!--more-->

### Lecture slides

{{< pdfjs file="https://github.com/slds-lmu/lecture_dl4nlp/blob/main/slides/chapter02-deeplearningbasics/slides-23-elmo.pdf" >}}

11 changes: 11 additions & 0 deletions content/chapters/02_dl_basics/02_04_tokenization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Chapter 02.04 Revisiting words: Tokenization"
weight: 2004
---
In order to feed text data into a model we have to tokenize it first. This chapter discusses various types of text tokenization.

<!--more-->

### Lecture slides

{{< pdfjs file="https://github.com/slds-lmu/lecture_dl4nlp/blob/main/slides/chapter02-deeplearningbasics/slides-24-tokenization.pdf" >}}
11 changes: 0 additions & 11 deletions content/chapters/02_dl_basics/02_regularization.md

This file was deleted.

8 changes: 2 additions & 6 deletions content/chapters/02_dl_basics/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
---
title: "Chapter 2: Deep Learning Basics"
---
This chapter gives a quick introduction to the basic concepts of deep learning, such as optimization, simple Feedforward networks, backpropagation and regularization. A comprehensive introduction is given in [1].
This chapter gives a quick introduction to the basic concepts of deep learning in the context of NLP, such as RNN, attention, ELMo and tokenization.

<!--more-->

### References

- [1] [Goodfellow et al., 2016](https://www.deeplearningbook.org/)
<!--more-->

0 comments on commit bff1f78

Please sign in to comment.