File size: 528 Bytes
959d8cc
 
 
 
 
 
 
 
 
befaa88
959d8cc
 
 
 
 
 
 
286c5d6
959d8cc
 
b51f499
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

BASEDIR=$(dirname "$0")
cd $BASEDIR/..
echo Current Directory:
pwd

export LOGICAL_REASONING_DATA_PATH=datasets/mgtv
export RESIZE_TOKEN_EMBEDDINGS=true
#export USING_LLAMA_FACTORY=true
export USING_P1_PROMPT_TEMPLATE=false

export ORG_NAME=$1
export MODEL=$2
export MODEL_NAME=$ORG_NAME/$MODEL

export LOGICAL_REASONING_RESULTS_PATH=data/${MODEL}_results.csv
export ADAPTER_PATH_BASE=llama-factory/saves/$MODEL

echo "Eval $MODEL_NAME with $ADAPTER_PATH_BASE"
python llm_toolkit/eval_logical_reasoning_all_epochs.py