graykode / graykode/nlp-tutorial

May be a small mistake

未关闭
#48 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
14.9k
派生
3.9k
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

调研方向

打开 1-1.NNLM/NNLM-Torch.py 的第 50 行,将注释与 issue 中显示的 reshape 表达式进行比较。如有需要,更新注释,然后验证它是否准确描述了结果张量的形状。

由索引模型根据 Issue 内容生成。

评估

技术栈
python, pytorch
领域
documentation
Issue 类型
文档
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。