pytorch/examples

word_language_model with torch.nn.modules.transformer

Open

#1,112 创建于 2023年2月9日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Python (21,634 star) (9,429 fork)batch import
docsgood first issuenlp

描述

The torch.nn.modules.transformer documentation says the word_language_model example in this repo is an example of its use. But it seems to instead DIY a transformer and uses that instead. Is this intentional? I would offer my help to write it for torch.nn.modules.transformer but I'm here to learn how to use it.

贡献者指南