logical-reasoning / scripts /tune-mgtv.sh
inflaton's picture
updated script
645dc8d
raw
history blame
723 Bytes
#!/bin/sh
BASEDIR=$(dirname "$0")
cd $BASEDIR/..
echo Current Directory:
pwd
nvidia-smi
uname -a
cat /etc/os-release
lscpu
grep MemTotal /proc/meminfo
pip install -r requirements.txt
cd ../LLaMA-Factory && pip install -e .[torch,bitsandbytes]
export LOGICAL_REASONING_DATA_PATH=datasets/mgtv
export LOGICAL_REASONING_RESULTS_PATH=results/mgtv-results_p1_full.csv
export CONFIG_FILE=configs/internlm2_5_7b_lora_sft_bf16_p1_full.yaml
echo "Tuning with $CONFIG_FILE"
$BASEDIR/scripts/tune-lf.sh $CONFIG_FILE
export LOGICAL_REASONING_RESULTS_PATH=results/mgtv-results_p2_full.csv
export CONFIG_FILE=configs/internlm2_5_7b_lora_sft_bf16_p2_full.yaml
cho "Tuning with $CONFIG_FILE"
$BASEDIR/scripts/tune-lf.sh $CONFIG_FILE