This repository provides an education-oriented, mathematically faithful collection of positional encoding (PE) methods. Each implementation is written with an emphasis on mathematical clarity, transparent tensor operations, and conceptual fidelity to the original formulation.
-
Updated
Dec 13, 2025 - Python