Skip to content

Commit

Permalink
update Anserini command for indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
Thong Nguyen committed Dec 15, 2023
1 parent bbb607e commit 71cd1d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ When the installation is done, you can continue with the next steps.
#### 5.2 Index with Anserini
```
./anserini-lsr/target/appassembler/bin/IndexCollection \
-collection JsonTermWeightCollection \
-collection JsonSparseVectorCollection \
-input outputs/sparta_distil_sentence_transformers/inference/doc/ \
-index outputs/sparta_distil_sentence_transformers/index \
-generator TermWeightDocumentGenerator \
-generator SparseVectorDocumentGenerator \
-threads 60 -impact -pretokenized
```
Note that you have to change `sparta_distil_sentence_transformers` to the output defined in your experiment configuation flie (here: `lsr/configs/experiment/sparta_msmarco_distil.yaml`)
Expand Down

0 comments on commit 71cd1d3

Please sign in to comment.