{"adoption": {"forks": 172, "observed_at": "2026-08-28T04:03:34.636397+00:00", "stars": 1097}, "canonical_url": "https://ross.abutalabs.com/products/pbloem-former", "card": {"archived": false, "artifact_type": "library", "description": "Simple transformer implementation from scratch in pytorch. (archival, latest version on codeberg)", "domain": ["machine-learning", "deep-learning", "large-language-models", "tutorials"], "enriched": true, "function": ["machine-learning", "deep-learning"], "health_score": 27, "homepage": "http://peterbloem.nl/blog/transformers", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "abandoned", "member_repos": ["pbloem/former"], "name": "pbloem/former", "platform": ["python"], "pushed_at": "2025-03-20T15:05:30+00:00", "repo": "pbloem/former", "stars": 1097, "tags": ["transformer", "pytorch", "self-attention", "educational", "from-scratch", "archived"], "topics": ["machine-learning", "transformer", "pytorch"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pbloem-former", "repo": "pbloem/former", "role": "main", "score": 38}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.636397+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.971450+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00b04357061db12ee46b97e50ed712be2507db8297acffc9c793c7823bf41554", "fetched_at": "2026-08-28T04:03:34.636397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pbloem/former"}, {"content_hash": "489ab29c3ea98ec582b343b098dba07faf78825017931f8daae1716fbe39c4bd", "fetched_at": "2026-08-29T12:50:05.739236+00:00", "kind": "homepage", "missing": false, "url": "http://peterbloem.nl/blog/transformers"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 12, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2575, "days_push": 531, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 38, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}