for depth in 6 8 10 do for size in 26 50 100 200 500 do od="output/depth_${depth}_size_${size}_seed_1" COMMAND="python -m phantom_wiki -od ${od} --depth ${depth} --max-tree-size ${size} --seed 1 --valid-only --question-format json --article-format json" echo $COMMAND eval $COMMAND done done