{"adoption": {"forks": 89, "observed_at": "2026-08-28T04:03:57.671878+00:00", "stars": 1198}, "canonical_url": "https://ross.abutalabs.com/products/coca-pytorch", "card": {"archived": false, "artifact_type": "library", "description": "Implementation of CoCa, Contrastive Captioners are Image-Text Foundation Models, in Pytorch", "domain": ["artificial-intelligence", "deep-learning", "computer-vision"], "enriched": true, "function": ["machine-learning", "deep-learning", "transformers"], "health_score": 23, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["lucidrains/CoCa-pytorch"], "name": "lucidrains/CoCa-pytorch", "platform": ["python"], "pushed_at": "2023-12-12T22:44:22+00:00", "repo": "lucidrains/CoCa-pytorch", "stars": 1198, "tags": ["contrastive-learning", "multimodal", "image-to-text", "image-captioning", "clip", "research-implementation", "vision-transformer", "natural-language-processing"], "topics": ["artificial-intelligence", "attention-mechanism", "contrastive-learning", "deep-learning", "multimodal", "transformers", "image-to-text"], "urls": [], "use_cases": ["train a multimodal image-text foundation model in pytorch", "generate captions for images with a transformer model", "get CLIP-style image and text embeddings for contrastive search", "implement contrastive captioning loss for vision-language pretraining", "fine-tune an image-to-text model on my own image-caption dataset", "reproduce CoCa paper results for research"], "what_it_is": "A Pytorch implementation of CoCa (Contrastive Captioners), an image-text foundation model that combines contrastive learning with an encoder-decoder transformer for image captioning and CLIP-like embeddings. It adopts the PaLM transformer architecture with parallel SwiGLU feedforwards and requires a pretrained vision transformer as the image encoder.", "when_to_avoid": ["you need a pretrained, ready-to-use model with weights out of the box", "you want a production inference service rather than a training library", "you prefer frameworks other than Pytorch"], "when_to_choose": ["you want a flexible, hackable Pytorch implementation of the CoCa architecture for research", "you need both captioning and contrastive (CLIP-like) objectives in one model", "you already have a pretrained vision transformer encoder to plug in"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/coca-pytorch", "repo": "lucidrains/CoCa-pytorch", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/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:03:57.671878+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:57.671878+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:21:10.732211+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a548aaa1994e2bb92be63288774011b724963dd8a033d5cbdc0bed9bd821e58f", "fetched_at": "2026-08-28T04:03:57.671878+00:00", "kind": "readme", "missing": false, "url": "https://github.com/lucidrains/CoCa-pytorch"}, {"content_hash": "9d8aa8d249441e554caa9b88cf2f511897624672cb2139f522e08e91f00e80c5", "fetched_at": "2026-08-29T12:28:39.478216+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/coca-pytorch/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1581, "days_push": 995, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}