{"adoption": {"forks": 629, "observed_at": "2026-08-28T04:07:47.591469+00:00", "stars": 3174}, "canonical_url": "https://ross.abutalabs.com/products/siamese-triplet", "card": {"archived": false, "artifact_type": "library", "description": "Siamese and triplet networks with online pair/triplet mining in PyTorch", "domain": ["machine-learning", "deep-learning", "image-processing"], "enriched": true, "function": ["machine-learning", "deep-learning"], "health_score": 20, "homepage": null, "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["adambielski/siamese-triplet"], "name": "adambielski/siamese-triplet", "platform": ["python"], "pushed_at": "2023-04-29T12:05:01+00:00", "repo": "adambielski/siamese-triplet", "stars": 3174, "tags": ["pytorch", "siamese-network", "triplet-loss", "contrastive-loss", "metric-learning", "embeddings", "online-mining", "mnist"], "topics": ["machine-learning", "deep-learning", "siamese-network", "triplet-loss", "contrastive-loss", "pytorch", "embedding", "triplet-network", "learning-embeddings"], "urls": [], "use_cases": ["train siamese networks for image similarity in pytorch", "learn embeddings with triplet loss and online mining", "implement contrastive loss for metric learning", "few-shot learning feature embeddings", "hard negative pair and triplet mining in minibatches"], "what_it_is": "A PyTorch library implementing siamese and triplet networks for learning image embeddings, with online pair/triplet mining strategies. It provides dataset wrappers, network architectures, loss functions, and selectors for hard negative mining.", "when_to_avoid": ["you need a maintained library compatible with recent PyTorch versions", "you want production-grade metric learning with broad dataset support", "you need text or multimodal embeddings rather than image-based ones"], "when_to_choose": ["you need reference implementations of siamese/triplet learning in PyTorch", "you want online hard negative mining strategies for embedding training", "you're learning metric learning concepts with runnable MNIST examples"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/siamese-triplet", "repo": "adambielski/siamese-triplet", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "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:47.591469+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:47.591469+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:45:26.353050+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e10a844c6115ffddc8c275210a616eec46151653148eb7cf7b6bd68bfd7b56e", "fetched_at": "2026-08-28T04:07:47.591469+00:00", "kind": "readme", "missing": false, "url": "https://github.com/adambielski/siamese-triplet"}], "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": 3102, "days_push": 1222, "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}}