Concept

Components of a Simple RNN Language Model

A standard recurrent neural network (RNN) language model is structurally composed of three primary stages: input encoding, which transforms raw tokens into mathematical vectors; RNN modeling, which processes the sequence of input vectors to continuously update hidden states; and output generation, which maps the final hidden states to a probability distribution over the vocabulary to predict the next token.

0

1

Updated 2026-05-14

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L