dh-mc commited on
Commit
679dc6a
·
1 Parent(s): 09e6035

Update tune-mgtv-qwen2_72b.sh

Browse files
Files changed (1) hide show
  1. scripts/tune-mgtv-qwen2_72b.sh +12 -2
scripts/tune-mgtv-qwen2_72b.sh CHANGED
@@ -18,14 +18,24 @@ grep MemTotal /proc/meminfo
18
 
19
  export LOGICAL_REASONING_DATA_PATH=datasets/mgtv
20
 
 
21
  export MODEL_PREFIX=qwen2_72b_lora_sft_4bit
22
 
23
  export CONFIG_FILE=config/$MODEL_PREFIX-p1.yaml
24
- export LOGICAL_REASONING_RESULTS_PATH=results/$MODEL_PREFIX-p1.csv
25
  echo "Tuning with $CONFIG_FILE"
26
  $BASEDIR/scripts/tune-lf.sh $CONFIG_FILE
27
 
 
 
 
 
 
 
28
  export CONFIG_FILE=config/$MODEL_PREFIX-p2.yaml
29
- export LOGICAL_REASONING_RESULTS_PATH=results/$MODEL_PREFIX-p2.csv
30
  echo "Tuning with $CONFIG_FILE"
31
  $BASEDIR/scripts/tune-lf.sh $CONFIG_FILE
 
 
 
 
 
 
18
 
19
  export LOGICAL_REASONING_DATA_PATH=datasets/mgtv
20
 
21
+ export MODEL_NAME=Qwen/Qwen2-72B-Instruct
22
  export MODEL_PREFIX=qwen2_72b_lora_sft_4bit
23
 
24
  export CONFIG_FILE=config/$MODEL_PREFIX-p1.yaml
 
25
  echo "Tuning with $CONFIG_FILE"
26
  $BASEDIR/scripts/tune-lf.sh $CONFIG_FILE
27
 
28
+ export LOGICAL_REASONING_RESULTS_PATH=results/$MODEL_PREFIX-p1.csv
29
+ export ADAPTER_PATH_BASE=llama-factory/saves/qwen2-72b/lora/sft_4bit_p1_full
30
+ echo "Eval $MODEL_NAME with $ADAPTER_PATH_BASE"
31
+ python llm_toolkit/eval_logical_reasoning_all_epochs.py
32
+
33
+
34
  export CONFIG_FILE=config/$MODEL_PREFIX-p2.yaml
 
35
  echo "Tuning with $CONFIG_FILE"
36
  $BASEDIR/scripts/tune-lf.sh $CONFIG_FILE
37
+
38
+ export LOGICAL_REASONING_RESULTS_PATH=results/$MODEL_PREFIX-p2.csv
39
+ export ADAPTER_PATH_BASE=llama-factory/saves/qwen2-72b/lora/sft_4bit_p2_full
40
+ echo "Eval $MODEL_NAME with $ADAPTER_PATH_BASE"
41
+ python llm_toolkit/eval_logical_reasoning_all_epochs.py