logical-reasoning / scripts /tune-mgtv-internlm.sh
inflaton's picture
h100 results
df3521b
raw
history blame
741 Bytes
#!/bin/sh
BASEDIR=$(dirname "$0")
cd $BASEDIR/..
echo Current Directory:
pwd
BASEDIR=`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=config/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=config/internlm2_5_7b_lora_sft_bf16_p2_full.yaml
echo "Tuning with $CONFIG_FILE"
$BASEDIR/scripts/tune-lf.sh $CONFIG_FILE