mats-sql-bundle / code /scripts /collab_phase_b_rollout.sh
thanhdath's picture
Push code: scripts, slurm sbatch, recipes, utils (v3 + selector series)
778d47d verified
Raw
History Blame Contribute Delete
708 Bytes
#!/bin/bash
# Run K=4 / K_val=2 / K_fix=1 rollouts on BIRD-train via the 3-stage pipeline.
# Endpoints assumed up via collab_phase_b_serve.sh.
set -e
cd /home/datht/mats-sql-tist
PYTHONPATH=. /home/datht/anaconda3/envs/mats/bin/python scripts/run_pipeline_rollouts.py \
--input_file data/sft_bird_with_evidence_train_text2sql.json \
--output_file data/rollouts/bird_train_3stage_K4.jsonl \
--planner_host http://localhost:8100 \
--validator_host http://localhost:8101 \
--fixer_host http://localhost:8102 \
--K 4 --K_val 2 --K_fix 1 \
--temperature 0.7 --top_p 0.9 \
--max_questions 1500 \
--n_threads 16 2>&1 | tee /tmp/collab_rollouts.log
echo "DONE_COLLAB_ROLLOUTS"