Spaces:
Build error
Build error
Create tune-mgtv-qwen2_7b.sh
Browse files
scripts/tune-mgtv-qwen2_7b.sh
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/sh
|
2 |
+
|
3 |
+
BASEDIR=$(dirname "$0")
|
4 |
+
cd $BASEDIR/..
|
5 |
+
echo Current Directory:
|
6 |
+
pwd
|
7 |
+
|
8 |
+
BASEDIR=`pwd`
|
9 |
+
|
10 |
+
nvidia-smi
|
11 |
+
uname -a
|
12 |
+
cat /etc/os-release
|
13 |
+
lscpu
|
14 |
+
grep MemTotal /proc/meminfo
|
15 |
+
|
16 |
+
#pip install -r requirements.txt
|
17 |
+
#cd ../LLaMA-Factory && pip install -e .[torch,bitsandbytes]
|
18 |
+
|
19 |
+
export LOGICAL_REASONING_DATA_PATH=datasets/mgtv
|
20 |
+
|
21 |
+
export LOGICAL_REASONING_RESULTS_PATH=results/mgtv-results_qwen2_7b.csv
|
22 |
+
export CONFIG_FILE=config/qwen2_7b_lora_sft_4bit.yaml
|
23 |
+
|
24 |
+
echo "Tuning with $CONFIG_FILE"
|
25 |
+
$BASEDIR/scripts/tune-lf.sh $CONFIG_FILE
|