Skip to content

Commit

Permalink
Update HGF Regressions (#1987)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToluClassics authored Oct 1, 2022
1 parent bfbc5e4 commit 4a9a97c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/regressions-msmarco-doc-hgf-wp.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ After indexing has completed, you should be able to perform retrieval as follows
```
target/appassembler/bin/SearchCollection \
-index indexes/lucene-index.msmarco-doc-hgf-wp/ \
-topics src/main/resources/topics-and-qrels/topics.msmarco-doc.dev.wp.tsv.gz \
-topics src/main/resources/topics-and-qrels/topics.msmarco-doc.dev.txt \
-topicreader TsvInt \
-output runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.wp.txt \
-output runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.txt \
-bm25 -analyzeWithHuggingFaceTokenizer bert-base-uncased &
```

Evaluation can be performed using `trec_eval`:

```
tools/eval/trec_eval.9.0.4/trec_eval -c -m map src/main/resources/topics-and-qrels/qrels.msmarco-doc.dev.txt runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.wp.txt
tools/eval/trec_eval.9.0.4/trec_eval -c -M 100 -m recip_rank src/main/resources/topics-and-qrels/qrels.msmarco-doc.dev.txt runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.wp.txt
tools/eval/trec_eval.9.0.4/trec_eval -c -m recall.100 src/main/resources/topics-and-qrels/qrels.msmarco-doc.dev.txt runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.wp.txt
tools/eval/trec_eval.9.0.4/trec_eval -c -m recall.1000 src/main/resources/topics-and-qrels/qrels.msmarco-doc.dev.txt runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.wp.txt
tools/eval/trec_eval.9.0.4/trec_eval -c -m map src/main/resources/topics-and-qrels/qrels.msmarco-doc.dev.txt runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.txt
tools/eval/trec_eval.9.0.4/trec_eval -c -M 100 -m recip_rank src/main/resources/topics-and-qrels/qrels.msmarco-doc.dev.txt runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.txt
tools/eval/trec_eval.9.0.4/trec_eval -c -m recall.100 src/main/resources/topics-and-qrels/qrels.msmarco-doc.dev.txt runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.txt
tools/eval/trec_eval.9.0.4/trec_eval -c -m recall.1000 src/main/resources/topics-and-qrels/qrels.msmarco-doc.dev.txt runs/run.msmarco-doc.bm25-default.topics.msmarco-doc.dev.txt
```

## Effectiveness
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/regression/mrtydi-v1.1-te.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ index_options: -storePositions -storeDocvectors -storeRaw -language te
index_stats:
documents: 548224
documents (non-empty): 548224
total terms: 27173644
total terms: 26812052

metrics:
- metric: MRR@100
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/regression/msmarco-doc-hgf-wp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ qrels_root: src/main/resources/topics-and-qrels/
topics:
- name: "[MS MARCO Doc: Dev](https://github.com/microsoft/MSMARCO-Document-Ranking)"
id: dev
path: topics.msmarco-doc.dev.wp.tsv.gz
path: topics.msmarco-doc.dev.txt
qrel: qrels.msmarco-doc.dev.txt

models:
Expand Down

0 comments on commit 4a9a97c

Please sign in to comment.