{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/code/biencoder","entry":"BiEncoder","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-10-05T00:36:11+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 = n_papers_ran_no_instrument_failure (papers with a run with no instrument failure) + n_papers_ran_instrument_only (papers where every run was a failure of Syntology's instrument); n_samples_ran = n_samples_ran_checked (honoured, violated, no contract) + n_samples_instrument (failures of Syntology's instrument, not of the code).","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; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":8,"n_papers_ran":7,"n_papers_ran_no_instrument_failure":7,"n_papers_ran_instrument_only":0,"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":14,"n_samples_ran":12,"n_samples_constructed":8,"n_samples_ran_checked":12,"n_samples_instrument":0,"n_samples_unverified":2,"n_samples_fingerprinted":0,"n_places":14,"n_places_pointer_only":10,"n_places_pointer_only_link_open":0,"inline_ok_is":"inline_ok is true only when both licence gates allow Syntology to serve this code's text: this paper's link (inline_ok_link, from the licence of this paper's copy) and the stored copy of the same code that Syntology serves, which may have been first harvested from another repository. withheld_clause is Syntology's own wording of which gate keeps the text a pointer and why, and is null when inline_ok is true. This site shows no code text either way; n_places_pointer_only_link_open counts the places where this paper's link allows the text and the stored copy does not","by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":12,"unverified":2},"key_notes":{"n_samples_ran_checked":"legacy name, kept unchanged so existing readers do not break: it counts the samples that ran with no instrument failure (honoured, violated, and ran with no contract checked); it does not mean a contract was checked, and the pages print it as 'K with no instrument failure', not 'K checked'","n_samples_constructed":"a sub-count of the samples that ran, never subtracted from them and never a failure: an executed sample whose run returned an instance of its own class (fixture_out_type equals the entry name): the run built an object and did not compute a result (Syntology's RAN record, counts.constructed)"},"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":"2310.02954","arxiv_id_is_arxiv":true,"paper":"/paper/dq-lore-dual-queries-with-low-rank","title":"DQ-LoRe: Dual Queries with Low Rank Approximation Re-ranking for In-Context Learning","date":"2023-10-04","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"ai4fun/dq-lore","path":"src/models/biencoder.py","file_url":"https://github.com/ai4fun/dq-lore/blob/HEAD/src/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, ai4fun/dq-lore when it was checked","code_sha256":"dfaca1f598a59445","code_sha256_prefix":"dfaca1f598a59445","mcp_get_code":{"code_sha256":"dfaca1f598a59445"}},{"arxiv_id":"2305.04320","arxiv_id_is_arxiv":true,"paper":"/paper/unified-demonstration-retriever-for-in","title":"Unified Demonstration Retriever for In-Context Learning","date":"2023-05-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"KaiLv69/UDR","path":"DPR/dpr/models/biencoder.py","file_url":"https://github.com/KaiLv69/UDR/blob/HEAD/DPR/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, KaiLv69/UDR when it was checked","code_sha256":"b3d28ee836daee7a","code_sha256_prefix":"b3d28ee836daee7a","mcp_get_code":{"code_sha256":"b3d28ee836daee7a"}},{"arxiv_id":"2302.05698","arxiv_id_is_arxiv":true,"paper":"/paper/compositional-exemplars-for-in-context","title":"Compositional Exemplars for In-context Learning","date":"2023-02-11","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"hkunlp/icl-ceil","path":"src/models/biencoder.py","file_url":"https://github.com/hkunlp/icl-ceil/blob/HEAD/src/models/biencoder.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"235b32ed3c02ddf7","code_sha256_prefix":"235b32ed3c02ddf7","mcp_get_code":{"code_sha256":"235b32ed3c02ddf7"}},{"arxiv_id":"2206.03281","arxiv_id_is_arxiv":true,"paper":"/paper/unsupervised-context-aware-sentence","title":"Unsupervised Context Aware Sentence Representation Pretraining for Multi-lingual Dense Retrieval","date":"2022-06-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"wuning0929/ccp_ijcai22","path":"dpr/models/biencoder.py","file_url":"https://github.com/wuning0929/ccp_ijcai22/blob/HEAD/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, wuning0929/ccp_ijcai22 when it was checked","code_sha256":"15d98041422f482d","code_sha256_prefix":"15d98041422f482d","mcp_get_code":{"code_sha256":"15d98041422f482d"}},{"arxiv_id":"2203.06942","arxiv_id_is_arxiv":true,"paper":"/paper/hyperlink-induced-pre-training-for-passage-1","title":"Hyperlink-induced Pre-training for Passage Retrieval in Open-domain Question Answering","date":"2022-03-14","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"jzhoubu/HLP","path":"dpr/models/biencoder.py","file_url":"https://github.com/jzhoubu/HLP/blob/HEAD/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, jzhoubu/HLP when it was checked","code_sha256":"3697201ea8ad8013","code_sha256_prefix":"3697201ea8ad8013","mcp_get_code":{"code_sha256":"3697201ea8ad8013"}},{"arxiv_id":"2110.04889","arxiv_id_is_arxiv":true,"paper":"/paper/distantly-supervised-evidence-retrieval","title":"Distantly-Supervised Evidence Retrieval Enables Question Answering without Evidence Annotation","date":"2021-10-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"henryzhao5852/DistDR","path":"dpr/models/biencoder.py","file_url":"https://github.com/henryzhao5852/DistDR/blob/HEAD/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, henryzhao5852/DistDR when it was checked","code_sha256":"62ffa5a88e381163","code_sha256_prefix":"62ffa5a88e381163","mcp_get_code":{"code_sha256":"62ffa5a88e381163"}},{"arxiv_id":"2103.08784","arxiv_id_is_arxiv":true,"paper":"/paper/lightningdot-pre-training-visual-semantic","title":"LightningDOT: Pre-training Visual-Semantic Embeddings for Real-Time Image-Text Retrieval","date":"2021-03-16","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"towhee-io/towhee","path":"towhee/models/lightning_dot/bi_encoder.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/lightning_dot/bi_encoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"b1d2979560699a3e","code_sha256_prefix":"b1d2979560699a3e","mcp_get_code":{"code_sha256":"b1d2979560699a3e"}},{"arxiv_id":"2004.04906","arxiv_id_is_arxiv":true,"paper":"/paper/dense-passage-retrieval-for-open-domain","title":"Dense Passage Retrieval for Open-Domain Question Answering","date":"2020-04-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"hongyuntw/DPR","path":"dpr/models/biencoder.py","file_url":"https://github.com/hongyuntw/DPR/blob/HEAD/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub could not classify the licence of this paper's repository, hongyuntw/DPR (NOASSERTION)","code_sha256":"0c54070c4beb2fe8","code_sha256_prefix":"0c54070c4beb2fe8","mcp_get_code":{"code_sha256":"0c54070c4beb2fe8"}},{"arxiv_id":"2004.04906","arxiv_id_is_arxiv":true,"paper":"/paper/dense-passage-retrieval-for-open-domain","title":"Dense Passage Retrieval for Open-Domain Question Answering","date":"2020-04-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"oriram/spider","path":"dpr/models/biencoder.py","file_url":"https://github.com/oriram/spider/blob/HEAD/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"e07f372e147c2a51","code_sha256_prefix":"e07f372e147c2a51","mcp_get_code":{"code_sha256":"e07f372e147c2a51"}},{"arxiv_id":"2004.04906","arxiv_id_is_arxiv":true,"paper":"/paper/dense-passage-retrieval-for-open-domain","title":"Dense Passage Retrieval for Open-Domain Question Answering","date":"2020-04-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"AkariAsai/XORQA","path":"baselines/DPR/dpr/models/biencoder.py","file_url":"https://github.com/AkariAsai/XORQA/blob/HEAD/baselines/DPR/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"49b5e44493f56195","code_sha256_prefix":"49b5e44493f56195","mcp_get_code":{"code_sha256":"49b5e44493f56195"}},{"arxiv_id":"2004.04906","arxiv_id_is_arxiv":true,"paper":"/paper/dense-passage-retrieval-for-open-domain","title":"Dense Passage Retrieval for Open-Domain Question Answering","date":"2020-04-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"luyug/GC-DPR","path":"dpr/models/biencoder.py","file_url":"https://github.com/luyug/GC-DPR/blob/HEAD/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub could not classify the licence of this paper's repository, luyug/GC-DPR (NOASSERTION)","code_sha256":"2a7bedc5746a0acb","code_sha256_prefix":"2a7bedc5746a0acb","mcp_get_code":{"code_sha256":"2a7bedc5746a0acb"}},{"arxiv_id":"2004.04906","arxiv_id_is_arxiv":true,"paper":"/paper/dense-passage-retrieval-for-open-domain","title":"Dense Passage Retrieval for Open-Domain Question Answering","date":"2020-04-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"alexlimh/DPR_MUF","path":"dpr/models/biencoder.py","file_url":"https://github.com/alexlimh/DPR_MUF/blob/HEAD/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, alexlimh/DPR_MUF when it was checked","code_sha256":"2636897c847a74e7","code_sha256_prefix":"2636897c847a74e7","mcp_get_code":{"code_sha256":"2636897c847a74e7"}},{"arxiv_id":"2004.04906","arxiv_id_is_arxiv":true,"paper":"/paper/dense-passage-retrieval-for-open-domain","title":"Dense Passage Retrieval for Open-Domain Question Answering","date":"2020-04-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"nidhikamal-emb/DPR_repo","path":"dpr/models/biencoder.py","file_url":"https://github.com/nidhikamal-emb/DPR_repo/blob/HEAD/dpr/models/biencoder.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub could not classify the licence of this paper's repository, nidhikamal-emb/DPR_repo (NOASSERTION)","code_sha256":"f395e69cf2723c98","code_sha256_prefix":"f395e69cf2723c98","mcp_get_code":{"code_sha256":"f395e69cf2723c98"}},{"arxiv_id":"2004.04906","arxiv_id_is_arxiv":true,"paper":"/paper/dense-passage-retrieval-for-open-domain","title":"Dense Passage Retrieval for Open-Domain Question Answering","date":"2020-04-10","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"facebookresearch/DPR","path":"dpr/models/biencoder.py","file_url":"https://github.com/facebookresearch/DPR/blob/HEAD/dpr/models/biencoder.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub could not classify the licence of this paper's repository, facebookresearch/DPR (NOASSERTION)","code_sha256":"ce8859f3bf1c3bff","code_sha256_prefix":"ce8859f3bf1c3bff","mcp_get_code":{"code_sha256":"ce8859f3bf1c3bff"}}],"record_sha256":"9b421217dc473e17c1b1d0f53893638b11f5290531298bc753118aacf83ee428","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}