Skip to content

syedmohaiminulhoque

transformer-from-scratch

syedmohaiminulhoque/transformer-from-scratch

transformer-from-scratch is a machine learning model from syedmohaiminulhoque. Use it for the machine learning task on the model card, and read the license before you ship it in a product.

A complete, annotated implementation of the Transformer architecture from "Attention Is All You Need" (Vaswani et al., 2017) in pure PyTorch. No external dependencies beyond torch.

Downloads · 30 days

0

Access

Public

Updated Apr 24, 2026

Repo size

—

Likes

0

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.py37.4 KB · 82%

At a glance

Access
Public
Created
Apr 24, 2026
Updated
Apr 24, 2026
SHA
31366885
Created
Apr 24, 2026
Updated
Apr 24, 2026