{"adoption": {"forks": 129, "observed_at": "2026-08-28T04:03:39.811698+00:00", "stars": 1121}, "canonical_url": "https://ross.abutalabs.com/products/attention-cnn", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Source code for \"On the Relationship between Self-Attention and Convolutional Layers\"", "domain": ["deep-learning", "computer-vision"], "enriched": true, "function": ["deep-learning", "machine-learning", "image-processing", "benchmarking"], "health_score": 20, "homepage": "https://arxiv.org/pdf/1911.03584.pdf", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["epfml/attention-cnn"], "name": "epfml/attention-cnn", "platform": ["python"], "pushed_at": "2023-01-10T10:00:25+00:00", "repo": "epfml/attention-cnn", "stars": 1121, "tags": ["self-attention", "convolution", "vision-transformer", "iclr-2020", "research-code", "pytorch", "reproducibility", "research", "linux", "gpu"], "topics": [], "urls": [], "use_cases": ["reproduce experiments from the self-attention vs convolution paper", "study how attention layers learn convolutional behavior", "compare multi-head self-attention with CNN layers on image tasks", "get a reference PyTorch implementation of attention-based vision models", "explore research on attention mechanisms in computer vision"], "what_it_is": "Official PyTorch source code for the ICLR 2020 paper 'On the Relationship between Self-Attention and Convolutional Layers', which proves and empirically shows that multi-head self-attention layers can learn to perform convolution. It includes experiment scripts to reproduce all results from the paper.", "when_to_avoid": ["you need a production-ready vision transformer library", "you want maintained, general-purpose deep learning tooling rather than research code", "you need a framework with broad model support and community maintenance"], "when_to_choose": ["you want to reproduce or extend the paper's experiments", "you are researching the relationship between self-attention and convolution", "you need a reference implementation of multi-head self-attention for vision"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/attention-cnn", "repo": "epfml/attention-cnn", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "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:39.811698+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:39.811698+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:41:00.337272+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64f93c0bf0c9a8b117116111b5edadcc0b7294783804c87bde0c717c0984013c", "fetched_at": "2026-08-28T04:03:39.811698+00:00", "kind": "readme", "missing": false, "url": "https://github.com/epfml/attention-cnn"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "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": 2626, "days_push": 1331, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}