Skip to content

Course Pass 4: Sequence models

RNN/LSTM/GRU LMs, seq2seq with attention, beam search in the CLI. About 4 weeks at 10 to 12 hours a week.

Part of: the course. Needs: Pass 3.

Gate: MS-P4 = MS-L3 + MS-L4.

Stages, chapter links, and check columns are in path.tsv. Use practice/bin/ol learn course-p04-p04-sequence-models to see progress.

Generated from path.tsv. Track progress locally with practice/bin/ol learn.

StageReadDone when
1LLN, CLT, confidence intervals, bootstrap
LLN, CLT, confidence intervals, bootstrap
Your implementation of M07.4 passes its course checks.
2Solve set: LLN/CLT, confidence intervals
Solve set: LLN/CLT, confidence intervals
You complete the S-M07c solve set and its check passes.
3Vanilla RNN with manual BPTT and truncation
Vanilla RNN with manual BPTT and truncation
Your implementation of L3.1 passes its course checks.
4LSTM (torch gate order)
LSTM (torch gate order)
Your implementation of L3.2 passes its course checks.
5GRU (torch gate order)
GRU (torch gate order)
Your implementation of L3.3 passes its course checks.
6Bidirectional RNN with length-aware reversal
Bidirectional RNN with length-aware reversal
Your implementation of L3.4 passes its course checks.
7RNN language model with stateful TBPTT
RNN language model with stateful TBPTT
Your implementation of L3.6 passes its course checks.
8Bahdanau additive attention
Bahdanau additive attention
Your implementation of L4.2 passes its course checks.
9Luong attention and input feeding
Luong attention and input feeding
Your implementation of L4.3 passes its course checks.
10Encoder-decoder with teacher forcing
Encoder-decoder with teacher forcing
Your implementation of L4.1 passes its course checks.
11Beam search, generic over a step function
Beam search, generic over a step function
Your implementation of L4.4 passes its course checks.
12Sequence metrics: exact match, BLEU, chrF
Sequence metrics: exact match, BLEU, chrF
Your implementation of L4.5 passes its course checks.
13Mutation testing in depth: equivalent mutants, semantic mutants from pitfalls, reading survivors
Mutation testing in depth: equivalent mutants, semantic mutants from pitfalls, reading survivors
Your implementation of craft.07 passes its course checks.
14Milestone L3
Pass 4 milestones
The MS-L3 gate passes for your system.
15Milestone L4
Pass 4 milestones
The MS-L4 gate passes for your system.
16Milestone P4
Pass 4 milestones
The MS-P4 gate passes for your system.
17ELMo: biLM, ScalarMix, linear probes
ELMo: biLM, ScalarMix, linear probes
Your implementation of L3.5 passes its course checks.