{"adoption": {"forks": 92, "observed_at": "2026-08-28T04:04:11.592299+00:00", "stars": 1269}, "canonical_url": "https://ross.abutalabs.com/products/visualizer", "card": {"archived": false, "artifact_type": "library", "description": "assistant tools for attention visualization in deep learning", "domain": ["deep-learning", "machine-learning", "data-visualization", "artificial-intelligence"], "enriched": true, "function": ["deep-learning", "machine-learning", "data-visualization"], "health_score": 20, "homepage": null, "language": "Jupyter Notebook", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["luo3300612/Visualizer"], "name": "luo3300612/Visualizer", "platform": ["python"], "pushed_at": "2022-06-09T14:27:01+00:00", "repo": "luo3300612/Visualizer", "stars": 1269, "tags": ["pytorch", "transformer", "attention-map", "interpretability", "decorator", "model-debugging", "explainable-ai", "vision-transformer", "hooks", "bytecode"], "topics": [], "urls": [], "use_cases": ["visualize attention maps from a vision transformer", "extract attention weights from a pytorch model without registering hooks", "get intermediate outputs from deeply nested transformer blocks", "capture all attention maps across transformer layers at once", "debug what attention heads look at in a trained model", "grab nested local variables from pytorch model functions non-invasively"], "what_it_is": "A lightweight Python library that extracts attention maps and other local variables from deep inside PyTorch models for visualization. It works by decorating the attention function with a get_local decorator that captures named local variables via bytecode manipulation, non-invasively and without touching model code.", "when_to_avoid": ["You work with TensorFlow, JAX, or other non-PyTorch frameworks", "You already know your module names and simple register_forward_hook calls are enough", "You need a full-featured, actively maintained model-interpretability suite rather than a small single-purpose tool"], "when_to_choose": ["You use PyTorch and need attention maps from Transformer-style models like ViT where the modules are buried in nn.Sequential and hard to address by name", "You want a zero-code-change approach so the same decorated model can be used for both training and visualization", "You need to pull out any named intermediate variable from a model function, not just attention maps"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/visualizer", "repo": "luo3300612/Visualizer", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "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:04:11.592299+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:11.592299+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:03:32.611707+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6efb1cb5e13880c77d52400f425b4727ea245d28716c84473019e021c509e0bb", "fetched_at": "2026-08-28T04:04:11.592299+00:00", "kind": "readme", "missing": false, "url": "https://github.com/luo3300612/Visualizer"}], "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": 1850, "days_push": 1546, "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}}