{ "
This predicts the tokens and gives the lof softmax of those. You don't need this if you are using _^_0_^_.
\n": "\n\u8fd9\u4f1a\u9884\u6d4b\u8fd9\u4e9b\u6807\u8bb0\u5e76\u7ed9\u51fa\u5b83\u4eec\u7684 softmax \u7684\u5bf9\u6570\u3002\u5982\u679c\u4f60\u4f7f\u7528_^_0_^_\uff0c\u5219\u4e0d\u9700\u8981\u8fd9\u6837\u505a\u3002
\n", "\nThis can act as an encoder layer or a decoder layer. We use pre-norm.
\n": "\n\u8fd9\u53ef\u4ee5\u4f5c\u4e3a\u7f16\u7801\u5668\u5c42\u6216\u89e3\u7801\u5668\u5c42\u3002\u6211\u4eec\u4f7f\u7528\u9884\u6b63\u5219\u5316\u3002
\n", "Add the feed-forward results back
\n": "\u5c06\u524d\u9988\u7ed3\u679c\u6dfb\u52a0\u56de\u6765
\n", "Add the self attention results
\n": "\u6dfb\u52a0\u81ea\u6ce8\u610f\u529b\u7ed3\u679c
\n", "Add the source attention results
\n": "\u6dfb\u52a0\u6e90\u5173\u6ce8\u7ed3\u679c
\n", "Attention to source. i.e. keys and values are from source
\n": "\u5173\u6ce8\u6e90\u6570\u636e\uff0c\u5373\u952e\u548c\u503c\u6765\u81ea\u6e90\u6570\u636e
\n", "Final normalization layer
\n": "\u6700\u7ec8\u7684\u5f52\u4e00\u5316\u5c42
\n", "Finally, normalize the vectors
\n": "\u6700\u540e\uff0c\u5bf9\u5411\u91cf\u8fdb\u884c\u5f52\u4e00\u5316
\n", "If a source is provided, get results from attention to source. This is when you have a decoder layer that pays attention to encoder outputs
\n": "\u5982\u679c\u63d0\u4f9b\u4e86\u6e90\u6570\u636e\uff0c\u5219\u4ece\u6ce8\u610f\u529b\u673a\u5236\u4e2d\u83b7\u53d6\u7ed3\u679c\u3002\u8fd9\u662f\u6307\u5f53\u89e3\u7801\u5668\u5c42\u5173\u6ce8\u7f16\u7801\u5668\u8f93\u51fa\u65f6\u3002
\n", "Make copies of the transformer layer
\n": "\u5236\u4f5c Transformer \u5c42\u7684\u526f\u672c
\n", "Normalize for feed-forward
\n": "\u6807\u51c6\u5316\u4ee5\u8fdb\u884c\u524d\u9988
\n", "Normalize the vectors before doing self attention
\n": "\u5728\u8fdb\u884c\u81ea\u6211\u6ce8\u610f\u4e4b\u524d\u5bf9\u5411\u91cf\u8fdb\u884c\u5f52\u4e00\u5316
\n", "Normalize vectors
\n": "\u5f52\u4e00\u5316\u5411\u91cf
\n", "Pass through the feed-forward network
\n": "\u901a\u8fc7\u524d\u9988\u7f51\u7edc\u4f20\u9012
\n", "Run encodings and targets through decoder
\n": "\u901a\u8fc7\u89e3\u7801\u5668\u8fd0\u884c\u7f16\u7801\u548c\u76ee\u6807
\n", "Run the source through encoder
\n": "\u901a\u8fc7\u7f16\u7801\u5668\u8fd0\u884c\u6e90\u4ee3\u7801
\n", "Run through each transformer layer
\n": "\u8fd0\u884c\u6bcf\u4e2a Transformer \u5c42
\n", "Run through self attention, i.e. keys and values are from self
\n": "\u901a\u8fc7\u81ea\u6ce8\u610f\u529b\u673a\u5236\u8fd0\u884c\uff0c\u5373\u952e\u548c\u503c\u6765\u81ea\u4e8e\u81ea\u8eab
\n", "Save the input to the feed forward layer if specified
\n": "\u5982\u679c\u5df2\u6307\u5b9a\uff0c\u5219\u5c06\u8f93\u5165\u4fdd\u5b58\u5230\u524d\u9988\u5c42
\n", "This was important from their code. Initialize parameters with Glorot / fan_avg.
\n": "\u8fd9\u662f\u4ee3\u7801\u4e2d\u5f88\u91cd\u8981\u7684\u90e8\u5206\u3002\u4f7f\u7528 Glorot/fan_avg \u521d\u59cb\u5316\u53c2\u6570\u3002
\n", "Whether to save input to the feed forward layer
\n": "\u662f\u5426\u5c06\u8f93\u5165\u4fdd\u5b58\u5230\u524d\u9988\u5c42
\n", "