| #SBATCH --job-name=sp-spv | |
| #SBATCH --partition=gpu | |
| #SBATCH --gres=gpu:nvidia_rtx_a6000:1 | |
| #SBATCH --mem=32G | |
| #SBATCH --nodes=1 | |
| #SBATCH --array=7 | |
| #SBATCH --ntasks-per-node=1 | |
| #SBATCH --time=25:00:00 | |
| #SBATCH --output=logs/%x-%a.out | |
| source $HOME/.bashrc | |
| initconda | |
| conda activate autollmrerank | |
| cd $HOME/APRIL | |
| mkdir -p runs/${MODEL##*/} | |
| DATASETS=( | |
| "beir@arguana" | |
| "beir@climate-fever" | |
| "beir@fever/test" | |
| "beir@fiqa/test" | |
| "beir@hotpotqa/test" | |
| "beir@nq" | |
| "beir@quora/test" | |
| "beir@scifact/test" | |
| ) | |
| dataset=${DATASETS[$SLURM_ARRAY_TASK_ID]} | |
| benchmark=$(echo $dataset | cut -d'@' -f1) | |
| subset=$(echo $dataset | cut -d'@' -f2) | |
| for r in bm25 splade-v3 nomicai-modernbert-embed qwen3-embed-600m colbert-small;do | |
| for seed in $(seq 1 10); do | |
| mkdir -p "runs/supervised/sample-$seed" | |
| for method in rankfirst rankzephyr; do | |
| inital_run=$HOME/runs-and-qrels/runs/${benchmark}/run.${benchmark}.${r}.${subset%%/*}.txt | |
| output_run=runs/supervised/sample-$seed/run.${benchmark}.${r}-rerank-${method}.${subset%%/*}.txt | |
| if [ -f "$output_run" ]; then | |
| echo "Skipping $output_run (already exists)" | |
| continue | |
| fi | |
| echo "=== RUNNING: dataset=$dataset r=$r seed=$seed method=$method ===" | |
| python -m autollmrerank.wrapper_sample \ | |
| --sampling=true --sampling_size=32 --sampling_seed=$seed \ | |
| --config=$HOME/APRIL/src/autollmrerank/configs/${method}.yaml \ | |
| --data.dataset_name=${benchmark}/${subset} \ | |
| --data.input_run=${inital_run} \ | |
| --data.output_run=${output_run} | |
| done | |
| done | |
| done | |
Xet Storage Details
- Size:
- 1.53 kB
- Xet hash:
- a72cf448c0c37a9ea4f3091fa91405f4271de7eaa55d18b564c38b7093f8ed2b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.