experiments / run_exp2a_nvila.sh
ch-min's picture
Add files using upload-large-folder tool
3404d44 verified
#!/bin/bash
# Run Experiment 2-A for NVILA
# Run this with: conda activate vila && ./run_exp2a_nvila.sh
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
OUTPUT_DIR="/data/shared/Qwen/experiments/exp2a_results"
SAMPLES=${1:-50} # Default 50 samples per category
SEED=42
echo "=============================================="
echo "Experiment 2-A: NVILA"
echo "=============================================="
echo "Output directory: $OUTPUT_DIR"
echo "Samples per category: $SAMPLES"
echo ""
python "$SCRIPT_DIR/exp2a_embedding_analysis.py" \
--model_type nvila \
--scales vanilla 80k 400k 800k 2m \
--output_dir "$OUTPUT_DIR" \
--samples_per_category $SAMPLES \
--seed $SEED
echo ""
echo "NVILA experiments completed!"
echo "Results saved to: $OUTPUT_DIR/nvila"