From 778968fd3a4ab7e2e756d9f7e58aca0314bfbf5d Mon Sep 17 00:00:00 2001 From: Divyajyoti Panda <67417654+Divyajyoti02@users.noreply.github.com> Date: Sun, 24 Nov 2024 10:54:43 -0800 Subject: [PATCH] Add to onboarding reproduction logs (#2029) --- docs/conceptual-framework.md | 1 + docs/conceptual-framework2.md | 14 ++++++++++++++ docs/experiments-msmarco-passage.md | 1 + docs/experiments-nfcorpus.md | 1 + 4 files changed, 17 insertions(+) diff --git a/docs/conceptual-framework.md b/docs/conceptual-framework.md index 692534500..be507171d 100644 --- a/docs/conceptual-framework.md +++ b/docs/conceptual-framework.md @@ -369,3 +369,4 @@ Before you move on, however, add an entry in the "Reproduction Log" at the botto + Results reproduced by [@Raghav0005](/~https://github.com/Raghav0005) on 2024-10-09 (commit [`7ed8369`](/~https://github.com/castorini/pyserini/commit/7ed83698298139efdfd62b6893d673aa367b4ac8)) + Results reproduced by [@Pxlin-09](/~https://github.com/pxlin-09) on 2024-10-26 (commit [`af2d3c5`](/~https://github.com/castorini/pyserini/commit/af2d3c52953b916e242142dbcf4799ecdb9abbee)) + Results reproduced by [@Samantha-Zhan](/~https://github.com/Samantha-Zhan) on 2024-11-17 (commit [`a95b0e0`](/~https://github.com/castorini/pyserini/commit/a95b0e04a1636e0f4151197c235c961b3c832802)) ++ Results reproduced by [@Divyajyoti02](/~https://github.com/Divyajyoti02) on 2024-11-24 (commit [`f6f8ecc`](/~https://github.com/castorini/pyserini/commit/f6f8ecc657409504ce5f0794cad1b2111d3c0f60)) diff --git a/docs/conceptual-framework2.md b/docs/conceptual-framework2.md index a1152726b..d25b970bb 100644 --- a/docs/conceptual-framework2.md +++ b/docs/conceptual-framework2.md @@ -84,6 +84,19 @@ for i in range(10): print(f"Vector {i}: {vector}") ``` +
+Contriever: +
+ +```python +for i in range(10): + vector_c = index_c.reconstruct(i) + print(f"Vector {i}: {vector_c}") +``` + +
+
+ Pyserini stores the `docid` corresponding to each vector separately. In the code snippet below, we load in the mapping data and then look up the vector corresponding to `MED-4555`. @@ -612,3 +625,4 @@ Before you move on, however, add an entry in the "Reproduction Log" at the botto + Results reproduced by [@Raghav0005](/~https://github.com/Raghav0005) on 2024-10-09 (commit [`7ed8369`](/~https://github.com/castorini/pyserini/commit/7ed83698298139efdfd62b6893d673aa367b4ac8)) + Results reproduced by [@Pxlin-09](/~https://github.com/pxlin-09) on 2024-10-26 (commit [`af2d3c5`](/~https://github.com/castorini/pyserini/commit/af2d3c52953b916e242142dbcf4799ecdb9abbee)) + Results reproduced by [@Samantha-Zhan](/~https://github.com/Samantha-Zhan) on 2024-11-17 (commit [`a95b0e0`](/~https://github.com/castorini/pyserini/commit/a95b0e04a1636e0f4151197c235c961b3c832802)) ++ Results reproduced by [@Divyajyoti02](/~https://github.com/Divyajyoti02) on 2024-11-24 (commit [`f6f8ecc`](/~https://github.com/castorini/pyserini/commit/f6f8ecc657409504ce5f0794cad1b2111d3c0f60)) diff --git a/docs/experiments-msmarco-passage.md b/docs/experiments-msmarco-passage.md index 8f209f08f..a7175a060 100644 --- a/docs/experiments-msmarco-passage.md +++ b/docs/experiments-msmarco-passage.md @@ -407,3 +407,4 @@ Before you move on, however, add an entry in the "Reproduction Log" at the botto + Results reproduced by [@Raghav0005](/~https://github.com/Raghav0005) on 2024-10-07 (commit [`7ed8369`](/~https://github.com/castorini/pyserini/commit/7ed83698298139efdfd62b6893d673aa367b4ac8)) + Results reproduced by [@Pxlin-09](/~https://github.com/pxlin-09) on 2024-10-26 (commit [`af2d3c5`](/~https://github.com/castorini/pyserini/commit/af2d3c52953b916e242142dbcf4799ecdb9abbee)) + Results reproduced by [@Samantha-Zhan](/~https://github.com/Samantha-Zhan) on 2024-11-17 (commit [`a95b0e0`](/~https://github.com/castorini/pyserini/commit/a95b0e04a1636e0f4151197c235c961b3c832802)) ++ Results reproduced by [@Divyajyoti02](/~https://github.com/Divyajyoti02) on 2024-11-24 (commit [`f6f8ecc`](/~https://github.com/castorini/pyserini/commit/f6f8ecc657409504ce5f0794cad1b2111d3c0f60)) diff --git a/docs/experiments-nfcorpus.md b/docs/experiments-nfcorpus.md index 66e5af20f..ab86ef66b 100644 --- a/docs/experiments-nfcorpus.md +++ b/docs/experiments-nfcorpus.md @@ -407,3 +407,4 @@ Before you move on, however, add an entry in the "Reproduction Log" at the botto + Results reproduced by [@Raghav0005](/~https://github.com/Raghav0005) on 2024-10-09 (commit [`7ed8369`](/~https://github.com/castorini/pyserini/commit/7ed83698298139efdfd62b6893d673aa367b4ac8)) + Results reproduced by [@Pxlin-09](/~https://github.com/pxlin-09) on 2024-10-26 (commit [`af2d3c5`](/~https://github.com/castorini/pyserini/commit/af2d3c52953b916e242142dbcf4799ecdb9abbee)) + Results reproduced by [@Samantha-Zhan](/~https://github.com/Samantha-Zhan) on 2024-11-17 (commit [`a95b0e0`](/~https://github.com/castorini/pyserini/commit/a95b0e04a1636e0f4151197c235c961b3c832802)) ++ Results reproduced by [@Divyajyoti02](/~https://github.com/Divyajyoti02) on 2024-11-24 (commit [`f6f8ecc`](/~https://github.com/castorini/pyserini/commit/f6f8ecc657409504ce5f0794cad1b2111d3c0f60))