pbloem/former
Simple transformer implementation from scratch in pytorch. (archival, latest version on codeberg) observed · 2026-08-28
Health v2 · maintenance only
38/100
- Activity 12
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2575
- days_rel: n/a
- days_push: 531
- n_releases_24m: 0
Adoption not part of the score
1097 stars · 172 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A minimal, from-scratch implementation of the transformer architecture in PyTorch, accompanying a tutorial blog post on how modern transformers work. The GitHub repository is archived and no longer maintained; the latest version lives on Codeberg.
Use cases
- learn how transformer self-attention works
- read a simple transformer implementation in pytorch
- understand transformers without historical baggage
- teach a deep learning class about attention
- experiment with a minimal transformer codebase
- study self-attention sequence-to-sequence operations
When to choose
- you want a small, readable transformer implementation for learning
- you are following the accompanying 'Transformers from scratch' tutorial
- you need educational code rather than production performance
When to avoid
- you need a production-grade or feature-complete transformer library
- you want maintained software with active support
- you need optimized training of large language models
Facets
library · maturity abandoned
machine-learning deep-learning machine-learning deep-learning large-language-models tutorials python transformer pytorch self-attention educational from-scratch archived
2 sources
- readme: https://github.com/pbloem/former · fetched 2026-08-28 · 00b04357061d
- homepage: http://peterbloem.nl/blog/transformers · fetched 2026-08-29 · 489ab29c3ea9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pbloem/former | main | 38 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem