dh-mc commited on
Commit
162cc09
·
1 Parent(s): 2e606cd

eval rpp on fine-tuned checkpoints:

Browse files
Files changed (2) hide show
  1. scripts/eval-mac.sh +9 -6
  2. scripts/eval-rpp.sh +16 -0
scripts/eval-mac.sh CHANGED
@@ -24,15 +24,18 @@ grep MemTotal /proc/meminfo
24
 
25
  # ./scripts/eval-model.sh shenzhi-wang/Llama3.1-8B-Chinese-Chat
26
 
 
27
 
28
- export START_EPOCH=2
29
 
30
- ./scripts/eval-epochs.sh internlm internlm2_5-7b-chat
31
 
32
- export START_EPOCH=1
33
 
34
- ./scripts/eval-epochs.sh Qwen Qwen2-7B-Instruct
35
 
36
- ./scripts/eval-epochs.sh shenzhi-wang Mistral-7B-v0.3-Chinese-Chat
37
 
38
- ./scripts/eval-epochs.sh shenzhi-wang Llama3.1-8B-Chinese-Chat
 
 
 
24
 
25
  # ./scripts/eval-model.sh shenzhi-wang/Llama3.1-8B-Chinese-Chat
26
 
27
+ # ./scripts/eval-epochs.sh internlm internlm2_5-7b-chat
28
 
29
+ # ./scripts/eval-epochs.sh Qwen Qwen2-7B-Instruct
30
 
31
+ # ./scripts/eval-epochs.sh shenzhi-wang Mistral-7B-v0.3-Chinese-Chat
32
 
33
+ # ./scripts/eval-epochs.sh shenzhi-wang Llama3.1-8B-Chinese-Chat
34
 
35
+ ./scripts/eval-rpp.sh internlm internlm2_5-7b-chat checkpoint-140
36
 
37
+ ./scripts/eval-rpp.sh Qwen Qwen2-7B-Instruct checkpoint-105
38
 
39
+ ./scripts/eval-rpp.sh shenzhi-wang Mistral-7B-v0.3-Chinese-Chat checkpoint-70
40
+
41
+ # ./scripts/eval-rpp.sh shenzhi-wang Llama3.1-8B-Chinese-Chat checkpoint-105
scripts/eval-rpp.sh ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+
3
+ BASEDIR=$(dirname "$0")
4
+ cd $BASEDIR/..
5
+ echo Current Directory:
6
+ pwd
7
+
8
+ export ORG_NAME=$1
9
+ export MODEL=$2
10
+ export CHECKPOINT=$3
11
+
12
+ export MODEL_NAME=$ORG_NAME/$MODEL
13
+ export ADAPTER_NAME_OR_PATH=llama-factory/saves/$MODEL/$CHECKPOINT
14
+
15
+ echo Evaluating $MODEL_NAME
16
+ python llm_toolkit/eval_rpp.py