graykode / graykode/nlp-tutorial

May be a small mistake

Open
#48 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
14.9k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

Excuse me, https://github.com/graykode/nlp-tutorial/blob/master/1-1.NNLM/NNLM-Torch.py#L50 The comment here may be wrong. It should be `X = X.view(-1, n_step * m) # [batch_size, n_step * m]`

Sorry for disturbing you.

Contributor guide

Open the contributing guide

Research direction

Open 1-1.NNLM/NNLM-Torch.py at line 50 and compare the comment with the reshape expression shown in the issue. Update the comment if needed, then verify that it accurately describes the resulting tensor shape.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.