File size: 708 Bytes
778d47d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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"