{"adoption": {"forks": 642, "observed_at": "2026-08-28T04:08:55.554891+00:00", "stars": 4645}, "canonical_url": "https://ross.abutalabs.com/products/transformer", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Transformer: PyTorch Implementation of \"Attention Is All You Need\"", "domain": ["deep-learning", "tutorials"], "enriched": true, "function": ["deep-learning", "machine-learning"], "health_score": 39, "homepage": null, "language": "Python", "license": null, "license_family": "other", "maturity": "maintenance", "member_repos": ["hyunwoongko/transformer"], "name": "hyunwoongko/transformer", "platform": ["python"], "pushed_at": "2025-07-15T06:19:46+00:00", "repo": "hyunwoongko/transformer", "stars": 4645, "tags": ["transformer", "attention", "pytorch-implementation", "educational", "attention-is-all-you-need", "natural-language-processing"], "topics": ["pytorch", "transformer", "attention", "dataset"], "urls": [], "use_cases": ["learn how the transformer architecture works internally", "understand multi-head attention with code", "study positional encoding implementation in pytorch", "reference implementation of attention is all you need", "teach transformer concepts with a minimal codebase"], "what_it_is": "A from-scratch PyTorch implementation of the Transformer model from the paper 'Attention Is All You Need', written for educational purposes. It includes readable implementations of positional encoding, multi-head attention, and other core Transformer components.", "when_to_avoid": ["you need a production-grade, well-tested Transformer implementation (use Hugging Face Transformers or PyTorch's built-in nn.Transformer)", "you need ongoing maintenance or bug-free guarantees - the author explicitly warns the code is not well maintained"], "when_to_choose": ["you want to read a simple, annotated implementation of the Transformer to learn the architecture", "you need a small educational codebase rather than a production library"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/transformer", "repo": "hyunwoongko/transformer", "role": "main", "score": 46}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "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:08:55.554891+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:55.554891+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:19:32.208846+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e4ea5316577031481a4edafb652ae23ce678c97e46987ba3a77c48bcc9fd0d84", "fetched_at": "2026-08-28T04:08:55.554891+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyunwoongko/transformer"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 31, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2514, "days_push": 414, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 46, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}