{"adoption": {"forks": 369, "observed_at": "2026-08-28T04:07:30.148476+00:00", "stars": 2919}, "canonical_url": "https://ross.abutalabs.com/products/s4", "card": {"archived": false, "artifact_type": "library", "description": "Structured state space sequence models", "domain": ["deep-learning", "machine-learning"], "enriched": true, "function": ["machine-learning", "deep-learning", "nlp", "audio-processing"], "health_score": 20, "homepage": null, "language": "Jupyter Notebook", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["state-spaces/s4"], "name": "state-spaces/s4", "platform": ["python", "windows"], "pushed_at": "2024-07-17T17:04:39+00:00", "repo": "state-spaces/s4", "stars": 2919, "tags": ["state-space-models", "sequence-modeling", "pytorch", "s4", "research-code", "hippo", "time-series", "natural-language-processing", "audio", "gpu", "linux", "macos"], "topics": ["state-space-models", "sequence-models", "pytorch"], "urls": [], "use_cases": ["train state space models on long sequences", "reproduce S4 paper experiments", "use S4 layer in my own pytorch model", "model long-range dependencies in audio or text", "compare transformers with state space sequence models", "generate audio waveforms with SaShiMi"], "what_it_is": "Official implementations of Structured State Space (S4) sequence models and related variants like S4D, HiPPO, and SaShiMi, built in PyTorch. It provides self-contained model layers, custom CUDA/KeOps kernels, and experiment reproduction code for research on long-sequence modeling.", "when_to_avoid": ["you need a production-ready pip-installable library (packaging is still on the roadmap)", "you want a plug-and-play high-level API rather than research code", "you're unwilling to compile custom CUDA kernels or set up PyKeOps for best performance"], "when_to_choose": ["you need efficient modeling of very long sequences (thousands to millions of tokens)", "you want the official, research-faithful S4/S4D implementations", "you're doing research on sequence models beyond transformers"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/s4", "repo": "state-spaces/s4", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "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:07:30.148476+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:30.148476+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:34:00.791619+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "55c169c4cbd939db33c86f5c52c48d946cd553d980fd0b99cc2ba5bc3c1886f2", "fetched_at": "2026-08-28T04:07:30.148476+00:00", "kind": "readme", "missing": false, "url": "https://github.com/state-spaces/s4"}], "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": 1764, "days_push": 777, "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}}