Spaces:
Build error
Build error
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 | |