RNNs · Level 1 of 5
Sequence Length
The number of units in a sequence.
Longer sequences can increase memory and computation requirements.
Example
A batch contains sentences of up to 128 tokens.
Listen to the definition and example
Audio transcript
Sequence Length. The number of units in a sequence. Longer sequences can increase memory and computation requirements. For example: A batch contains sentences of up to 128 tokens.
Explore this concept
Why it matters
This helps you trace information and gradient flow through sequence models.
Related concepts
Quick recall question
Try answering before looking back at the definition.