pytorch/examples

word_language_model with torch.nn.modules.transformer

オープン

#1,112 opened on 2023/02/09

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Python (9,429 件のフォーク)batch import
docsgood first issuenlp

Repository metrics

Stars
 (21,634 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド