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.

貢獻者指南