{"adoption": {"forks": 250, "observed_at": "2026-08-28T04:06:04.984993+00:00", "stars": 2009}, "canonical_url": "https://ross.abutalabs.com/products/torchkeras", "card": {"archived": false, "artifact_type": "library", "description": "Pytorch❤️  Keras 😋😋", "domain": ["deep-learning", "machine-learning", "developer-tools"], "enriched": true, "function": ["machine-learning", "deep-learning", "llm-training", "data-visualization", "logging"], "health_score": 64, "homepage": null, "language": "Jupyter Notebook", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["lyhue1991/torchkeras"], "name": "lyhue1991/torchkeras", "platform": ["python", "cross-platform"], "pushed_at": "2026-03-18T09:58:44+00:00", "repo": "lyhue1991/torchkeras", "stars": 2009, "tags": ["pytorch", "keras-api", "training-loop", "model-training", "jupyter", "early-stopping", "tensorboard", "wandb"], "topics": [], "urls": [], "use_cases": ["train pytorch models without writing training loops", "keras-style fit API for pytorch", "add early stopping and metrics to pytorch training", "visualize training curves in jupyter notebook", "finetune models with a simple trainer", "replace messy custom trainers in pytorch libraries"], "what_it_is": "torchkeras is a lightweight PyTorch model training template library that brings Keras-style compile/fit/evaluate APIs to PyTorch. Its core is only ~200 lines of modular code, with built-in progress bars, metrics, early stopping, checkpointing, and dynamic visualization in Jupyter notebooks.", "when_to_avoid": ["you need distributed training at scale or advanced Trainer features", "you already use PyTorch Lightning or Hugging Face Trainer workflows"], "when_to_choose": ["you want Keras-like simplicity for PyTorch training", "you need a short, hackable training template you can modify", "you train in Jupyter and want live plots and pretty logs"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/torchkeras", "repo": "lyhue1991/torchkeras", "role": "main", "score": 55}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "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:06:04.984993+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:04.984993+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:01:16.057206+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "082450e6e702aeb56ceb651dc0d54d7791dc18fc0b9a42575ee53b97df72e05d", "fetched_at": "2026-08-28T04:06:04.984993+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lyhue1991/torchkeras"}, {"content_hash": "047392cde2ab6ad10e7f36d5ce63ecfb38dee4fe830fed0a15167a0cb85cb9b2", "fetched_at": "2026-08-29T10:41:12.494479+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/torchkeras/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 72, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2264, "days_push": 168, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 55, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}