Skip to content
#

positional-encoding

Here are 72 public repositories matching this topic...

A clean, ground-up implementation of the Transformer architecture in PyTorch, including positional encoding, multi-head attention, encoder-decoder layers, and masking. Great for learning or building upon the core model.

  • Updated Aug 30, 2025
  • Jupyter Notebook

本仓库定位为 AI论文复现 / 从零实现 Transformer。 代码遵循原论文的模块划分,包含位置编码、多头注意力、前馈网络、编码器‑解码器等全部组件,并附带详细的中文拆解文档与英文注释,方便学习与二次开发。

  • Updated May 3, 2025
  • Python

Improve this page

Add a description, image, and links to the positional-encoding topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the positional-encoding topic, visit your repo's landing page and select "manage topics."

Learn more