pytorch/examples

word_language_model with torch.nn.modules.transformer

开放

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

 (3 条评论) (0 个反应) (0 位负责人)Python (9,429 个派生)batch import
docsgood first issuenlp

仓库指标

星标
 (21,634 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南