dropout is missing from Linear function in LSTM model.
Contributor guide
Tech stack
pythonpytorch
Domain
machine learning
Issue type
bug
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
2
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
under 1 hour
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
PyTorch basicsLSTM knowledge
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
80
Research direction
The issue is in fairseq/models/lstm.py at line 496. The Linear function call currently lacks a dropout argument. The fix involves adding dropout parameter from the configuration to this Linear layer. The repository has recent updates, but the bug remains. No linked PRs or comments exist. A newcomer should examine the model's init to see how dropout is defined and apply it consistently.
Missing dropout layer in LSTM model · facebookresearch/fairseq#888 | Good First Issue