forked from thunlp/LLMxMapReduce
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheval_all.sh
More file actions
20 lines (16 loc) · 732 Bytes
/
eval_all.sh
File metadata and controls
20 lines (16 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# modify the LD_LIBRARY_PATH to your actual python environmental path
export LD_LIBRARY_PATH=${HOME}/anaconda3/envs/YOUR_ENV_NAME/lib/YOUR_PYTHON_VERSION/site-packages/nvidia/nvjitlink/lib:${LD_LIBRARY_PATH}
export PYTHONPATH=$(pwd):${PYTHONPATH}
current_datetime=$(date +%Y%m%d_%H%M%S)
jsonl_file=$1
echo "start to eval"
echo "logging to ./output/eval/log/${current_datetime}_eval_survey.log"
mkdir -p ./output/eval/log
sleep 1
python ./evaluation/all_eval.py \
--jsonl_file $jsonl_file \
--saving_path ./output/eval/${current_datetime} \
--eval_model gemini-2.0-flash-thinking-exp-1219 \
--infer_type OpenAI \
--method_name LLMxMRv2 \
2>&1 | tee ./output/eval/log/${current_datetime}_eval_survey.log