Chiang0111/transformer-from-scratch-pytorch

A modular, heavily-commented PyTorch implementation of the original Transformer architecture from 'Attention Is All You Need'. Focused on code clarity, tensor shape tracking, and bridging the gap between paper and production.

26
/ 100
Experimental
No Package No Dependents
Maintenance 13 / 25
Adoption 2 / 25
Maturity 11 / 25
Community 0 / 25

How are scores calculated?

Stars

2

Forks

Language

Python

License

MIT

Last pushed

Apr 06, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/Chiang0111/transformer-from-scratch-pytorch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.