Spaces:
Build error
Build error
BASEDIR=$(dirname "$0") | |
cd $BASEDIR/.. | |
echo Current Directory: | |
pwd | |
BASEDIR=`pwd` | |
nvidia-smi | |
uname -a | |
cat /etc/os-release | |
lscpu | |
grep MemTotal /proc/meminfo | |
export LOGICAL_REASONING_DATA_PATH=datasets/mgtv | |
export RESIZE_TOKEN_EMBEDDINGS=true | |
export START_EPOCH=0 | |
export USING_LLAMA_FACTORY=true | |
export MODEL_NAME=Qwen/Qwen2-7B-Instruct | |
export MODEL_PREFIX=qwen2_7b_instruct_p1 | |
export LOGICAL_REASONING_RESULTS_PATH=results/$MODEL_PREFIX.csv | |
export ADAPTER_PATH_BASE=llama-factory/saves/qwen2_7b_instruct/lora/sft_4bit_p1 | |
export USING_P1_PROMPT_TEMPLATE=false | |
echo "Eval $MODEL_NAME with $ADAPTER_PATH_BASE" | |
python llm_toolkit/eval_logical_reasoning_all_epochs.py | |