{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/code/ntxentloss","entry":"NTXentLoss","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-09-24T18:15:14+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample.","status_vocabulary":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; our fixture could not drive it","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":5,"n_papers_ran":5,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":6,"n_samples_ran":6,"n_samples_fingerprinted":3,"n_places":6,"n_places_pointer_only":3,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":6,"unverified":0},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2204.01558","paper":"/paper/con-2-da-simplifying-semi-supervised-domain","title":"Con$^{2}$DA: Simplifying Semi-supervised Domain Adaptation by Learning Consistent and Contrastive Feature Representations","date":"2022-04-04","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"mperezcarrasco/Con2DA","path":"loss.py","file_url":"https://github.com/mperezcarrasco/Con2DA/blob/HEAD/loss.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"86336396181e050f","mcp_get_code":{"code_sha256":"86336396181e050f"}},{"arxiv_id":"2203.15205","paper":"/paper/spact-self-supervised-privacy-preservation","title":"SPAct: Self-supervised Privacy Preservation for Action Recognition","date":"2022-03-29","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"daveishan/spact","path":"anonymization_training/train_ssl_minimax2.py","file_url":"https://github.com/daveishan/spact/blob/HEAD/anonymization_training/train_ssl_minimax2.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"11294f85b69f97ac","mcp_get_code":{"code_sha256":"11294f85b69f97ac"}},{"arxiv_id":"2111.00899","paper":"/paper/equivariant-contrastive-learning","title":"Equivariant Contrastive Learning","date":"2021-10-28","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"rdangovs/essl","path":"photonics/ssl_mode.py","file_url":"https://github.com/rdangovs/essl/blob/HEAD/photonics/ssl_mode.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"fac76267546bbb2e","mcp_get_code":{"code_sha256":"fac76267546bbb2e"}},{"arxiv_id":"2106.07345","paper":"/paper/self-guided-contrastive-learning-for-bert","title":"Self-Guided Contrastive Learning for BERT Sentence Representations","date":"2021-06-03","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"galsang/SG-BERT","path":"loss.py","file_url":"https://github.com/galsang/SG-BERT/blob/HEAD/loss.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"fd99f1665c97f963","mcp_get_code":{"code_sha256":"fd99f1665c97f963"}},{"arxiv_id":"2002.05709","paper":"/paper/a-simple-framework-for-contrastive-learning","title":"A Simple Framework for Contrastive Learning of Visual Representations","date":"2020-02-13","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"hemakaraveenhansika/convirt","path":"loss/nt_xent.py","file_url":"https://github.com/hemakaraveenhansika/convirt/blob/HEAD/loss/nt_xent.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"f3d9092135724cbd","mcp_get_code":{"code_sha256":"f3d9092135724cbd"}},{"arxiv_id":"2002.05709","paper":"/paper/a-simple-framework-for-contrastive-learning","title":"A Simple Framework for Contrastive Learning of Visual Representations","date":"2020-02-13","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"talipucar/PyFlow_SimCLR","path":"src/model.py","file_url":"https://github.com/talipucar/PyFlow_SimCLR/blob/HEAD/src/model.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"93679e35512cbdb7","mcp_get_code":{"code_sha256":"93679e35512cbdb7"}}]}