{"published":"2022-01-04 18:33:04","url":"https://cookie-box.hatenablog.com/entry/2022/01/04/183304","blog_url":"https://cookie-box.hatenablog.com/","provider_url":"https://hatena.blog","height":"190","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/57244776/1636350600578263","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcookie-box.hatenablog.com%2Fentry%2F2022%2F01%2F04%2F183304\" title=\"torch.nn.Transformer \u306e\u52c9\u5f37 - \u30af\u30c3\u30ad\u30fc\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"cookie-box","blog_title":"\u30af\u30c3\u30ad\u30fc\u306e\u65e5\u8a18","provider_name":"Hatena Blog","description":"2026-04-12 \u8ffd\u8a18\uff1a torch.nn.TransformerEncoderLayer \u306e\u5185\u90e8\u69cb\u9020\u306b\u3064\u3044\u3066\u306f Qiita \u306b\u66f8\u3044\u305f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u306e\u65b9\u304c\u53c2\u8003\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002 torch.nn.Transformer \u3092\u4f7f\u7528\u3057\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u305b\u3093\u2026\u2026\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u3088\u308b\u3068\u300cBERT \u304c\u69cb\u7bc9\u3067\u304d\u307e\u3059\u300d\u3068\u306e\u3053\u3068\u306a\u306e\u3067 transformers.BertModel \u3068\u540c\u69d8\u306e\u30e2\u30c7\u30eb\u3067\u3042\u308b\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u767e\u805e\u306f\u4e00\u898b\u306b\u3057\u304b\u305a\u3001torch.nn.Transformer \u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002pytorch/torch/nn/modules/transformer.py at v1.10.1 \u00b7 py\u2026","categories":["PyTorch"],"author_url":"https://blog.hatena.ne.jp/cookie-box/","version":"1.0","width":"100%","title":"torch.nn.Transformer \u306e\u52c9\u5f37","type":"rich"}