graykode / graykode/nlp-tutorial
If create the Linear() casually, it won't be trained during training.
Open
- Dominant language
- Jupyter Notebook
- Stars
- 14.9k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/graykode/nlp-tutorial/blob/3b3a80dc63e69935731bcf09c951eb371692af8f/5-1.Transformer/Transformer(Greedy_decoder)-Torch.py#L98
Contributor guide
Research direction
Start at 5-1.Transformer/Transformer(Greedy_decoder)-Torch.py around line 98 and trace how the Linear layer is created and reached during training. Check the model's parameter registration and optimizer path; done means the issue's concern about the layer not being trained is resolved and the relevant training behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100