inflaton commited on
Commit
645dc8d
·
1 Parent(s): 4e8cffe

updated script

Browse files
Files changed (1) hide show
  1. scripts/tune-mgtv.sh +11 -2
scripts/tune-mgtv.sh CHANGED
@@ -5,14 +5,23 @@ cd $BASEDIR/..
5
  echo Current Directory:
6
  pwd
7
 
 
 
 
 
 
 
 
 
 
8
  export LOGICAL_REASONING_DATA_PATH=datasets/mgtv
9
 
10
  export LOGICAL_REASONING_RESULTS_PATH=results/mgtv-results_p1_full.csv
11
  export CONFIG_FILE=configs/internlm2_5_7b_lora_sft_bf16_p1_full.yaml
12
  echo "Tuning with $CONFIG_FILE"
13
- ./scripts/tune-lf.sh $CONFIG_FILE
14
 
15
  export LOGICAL_REASONING_RESULTS_PATH=results/mgtv-results_p2_full.csv
16
  export CONFIG_FILE=configs/internlm2_5_7b_lora_sft_bf16_p2_full.yaml
17
  cho "Tuning with $CONFIG_FILE"
18
- ./scripts/tune-lf.sh $CONFIG_FILE
 
5
  echo Current Directory:
6
  pwd
7
 
8
+ nvidia-smi
9
+ uname -a
10
+ cat /etc/os-release
11
+ lscpu
12
+ grep MemTotal /proc/meminfo
13
+
14
+ pip install -r requirements.txt
15
+ cd ../LLaMA-Factory && pip install -e .[torch,bitsandbytes]
16
+
17
  export LOGICAL_REASONING_DATA_PATH=datasets/mgtv
18
 
19
  export LOGICAL_REASONING_RESULTS_PATH=results/mgtv-results_p1_full.csv
20
  export CONFIG_FILE=configs/internlm2_5_7b_lora_sft_bf16_p1_full.yaml
21
  echo "Tuning with $CONFIG_FILE"
22
+ $BASEDIR/scripts/tune-lf.sh $CONFIG_FILE
23
 
24
  export LOGICAL_REASONING_RESULTS_PATH=results/mgtv-results_p2_full.csv
25
  export CONFIG_FILE=configs/internlm2_5_7b_lora_sft_bf16_p2_full.yaml
26
  cho "Tuning with $CONFIG_FILE"
27
+ $BASEDIR/scripts/tune-lf.sh $CONFIG_FILE