Skip to content

Reduce heavy dependencies and add extras; --qrels improvements#3

Merged
andrewyates merged 1 commit into
mainfrom
dependency-cleanup
Jun 11, 2026
Merged

Reduce heavy dependencies and add extras; --qrels improvements#3
andrewyates merged 1 commit into
mainfrom
dependency-cleanup

Conversation

@andrewyates

Copy link
Copy Markdown
Contributor
  • Defer torch/transformers/datasets/ir_datasets imports so the anserini and seismic index/search paths, which use already-encoded jsonl files, run without those imports
  • Add encode/anserini/seismic/all extras to make the base install lightweight
  • Let --qrels take a TREC qrels file in additioni to an ir_datasets name
  • Search fails early when --qrels is invalid

…encies, --qrels can take a file

- Defer torch/transformers/datasets/ir_datasets imports so the anserini and
  seismic index/search paths, which use already-encoded jsonl files, run without those imports
- Add encode/anserini/seismic/all extras to make the base install lightweight
- Let --qrels take a TREC qrels file in additioni to an ir_datasets name
- Search fails early when --qrels is invalid
@andrewyates andrewyates merged commit c7d677c into main Jun 11, 2026
4 checks passed
@andrewyates andrewyates deleted the dependency-cleanup branch June 11, 2026 15:43
andrewyates added a commit that referenced this pull request Jun 11, 2026
…encies, --qrels can take a file (#3)

- Defer torch/transformers/datasets/ir_datasets imports so the anserini and
  seismic index/search paths, which use already-encoded jsonl files, run without those imports
- Add encode/anserini/seismic/all extras to make the base install lightweight
- Let --qrels take a TREC qrels file in additioni to an ir_datasets name
- Search fails early when --qrels is invalid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant