File size: 513 Bytes
7c17cd1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8ca00c1
 
7c17cd1
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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_qwen2_7b.csv
export CONFIG_FILE=config/qwen2_7b_lora_sft_4bit.yaml

echo "Tuning with $CONFIG_FILE"
$BASEDIR/scripts/tune-lf.sh $CONFIG_FILE