Download scripts/reproduce_scifact.sh from Angshul/SparseGeometricRAG: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/datasets/Angshul/SparseGeometricRAG/resolve/main/scripts/reproduce_scifact.sh
- Command line
-
hf download hf://datasets/Angshul/SparseGeometricRAG/scripts/reproduce_scifact.sh
-
curl -L -o reproduce_scifact.sh https://huggingface.co/datasets/Angshul/SparseGeometricRAG/resolve/main/scripts/reproduce_scifact.sh
366 Bytes
| set -euo pipefail | |
| DATA=${1:-data/scifact.zip} | |
| INDEX=${2:-artifacts/scifact_index} | |
| mkdir -p "$(dirname "$INDEX")" results/reproduced | |
| python -m geomretrieval.cli build "$DATA" "$INDEX" --split test | |
| python experiments/beir/run_pool_sweep.py "$DATA" "$INDEX" --split test --pools 25 50 100 200 500 --output results/reproduced/scifact_pool_sweep.json | |