Markdown Test Page
This is a test page for markdown rendering.
Headings
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Text Formatting
Bold text
Italic text
Strikethrough text
Lists
Ordered list item 1 Ordered list item 2 Ordered list item 3 Unordered list item 1 Unordered list item 2 …
2025-07-224 字1 分钟
Hello World
💘 博麗 霊夢 💘
2025-07-222275 字11 分钟
Transformer torch 实现
Transformer torch 实现
Preparing
导包
import torch from torch import nn from torch import optim from torch.utils import data as Data import numpy as np 超参数设置
d_model = 512 # embedding size max_len = 1024 # max length of sequence d_ff = 2048 # feed forward neural network dimension d_k = d_v = 64 # …