{"adoption": {"forks": 91, "observed_at": "2026-08-28T04:03:54.627708+00:00", "stars": 1184}, "canonical_url": "https://ross.abutalabs.com/products/neighborhood-attention-transformer", "card": {"archived": false, "artifact_type": "library", "description": "Neighborhood Attention Transformer, arxiv 2022 / CVPR 2023. Dilated Neighborhood Attention Transformer, arxiv 2022", "domain": ["deep-learning", "computer-vision", "image-processing"], "enriched": true, "function": ["machine-learning", "deep-learning", "image-processing"], "health_score": 20, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["SHI-Labs/Neighborhood-Attention-Transformer"], "name": "SHI-Labs/Neighborhood-Attention-Transformer", "platform": ["python"], "pushed_at": "2024-05-15T01:12:12+00:00", "repo": "SHI-Labs/Neighborhood-Attention-Transformer", "stars": 1184, "tags": ["vision-transformer", "neighborhood-attention", "pytorch", "image-classification", "semantic-segmentation", "object-detection", "research-code", "cvpr", "gpu", "linux"], "topics": ["neighborhood-attention", "pytorch"], "urls": [], "use_cases": ["train a vision transformer for image classification", "semantic segmentation on ADE20K or Cityscapes", "object detection and instance segmentation on COCO", "efficient attention alternative to Swin Transformer", "reproduce CVPR 2023 neighborhood attention paper results", "image generation with StyleNeT"], "what_it_is": "Official PyTorch implementation of the Neighborhood Attention Transformer (NAT/DiNAT), a family of efficient vision transformers with localized, sliding-window attention, published at CVPR 2023. It provides pretrained models and code for image classification, object detection, segmentation, and image generation tasks.", "when_to_avoid": ["you need a general-purpose production vision model rather than research code", "you lack a CUDA GPU since the NATTEN extension is required", "you need non-PyTorch frameworks"], "when_to_choose": ["you need an efficient localized-attention vision transformer backbone", "you want pretrained models for detection or segmentation research", "you are reproducing or building on NAT/DiNAT papers"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/neighborhood-attention-transformer", "repo": "SHI-Labs/Neighborhood-Attention-Transformer", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-Transformer"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-Transformer"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-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:03:54.627708+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-Transformer"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-Transformer"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-Transformer"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:54.627708+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-Transformer"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-Transformer"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-Transformer"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:24:14.031515+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3de8e253dc5900758e66beb4039e1fd0499fb0060aed3a1403208f4a40f6f010", "fetched_at": "2026-08-28T04:03:54.627708+00:00", "kind": "readme", "missing": false, "url": "https://github.com/SHI-Labs/Neighborhood-Attention-Transformer"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1602, "days_push": 841, "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}}