export HF_HUB_OFFLINE=1 export DATASET_ROOT="./evaluate/dataset/C_C++_Java_Python" export RESULT_ROOT="./evaluate/result" export EVAL_SCRIPT="./dataset_eval.py" export MODEL="Qwen/Qwen2.5-Coder-0.5B-Instruct" export PEFT="./backend/model/PEFT/patchouli-qwc2.5-0.5b" export OUTPUT_DIR="$RESULT_ROOT/patchouli" mkdir -p $OUTPUT_DIR export INCLUDE_MSG="no" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -p $PEFT -o "$OUTPUT_DIR/nomsg.jsonl" 2>&1 | tee $OUTPUT_DIR/nomsg.log export INCLUDE_MSG="yes" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -p $PEFT -o "$OUTPUT_DIR/msg.jsonl" 2>&1 | tee $OUTPUT_DIR/msg.log export MODEL="Qwen/Qwen2.5-Coder-0.5B-Instruct" export OUTPUT_DIR="$RESULT_ROOT/qwen-0.5b" mkdir -p $OUTPUT_DIR export INCLUDE_MSG="no" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -o "$OUTPUT_DIR/nomsg.jsonl" 2>&1 | tee $OUTPUT_DIR/nomsg.log export INCLUDE_MSG="yes" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -o "$OUTPUT_DIR/msg.jsonl" 2>&1 | tee $OUTPUT_DIR/msg.log export MODEL="Qwen/Qwen2.5-Coder-7B-Instruct" export OUTPUT_DIR="$RESULT_ROOT/qwen-7b" mkdir -p $OUTPUT_DIR export INCLUDE_MSG="no" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -o "$OUTPUT_DIR/nomsg.jsonl" 2>&1 | tee $OUTPUT_DIR/nomsg.log export INCLUDE_MSG="yes" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -o "$OUTPUT_DIR/msg.jsonl" 2>&1 | tee $OUTPUT_DIR/msg.log export MODEL="deepseek-ai/deepseek-coder-7b-instruct-v1.5" export OUTPUT_DIR="$RESULT_ROOT/dsc-7b" mkdir -p $OUTPUT_DIR export INCLUDE_MSG="no" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -o "$OUTPUT_DIR/nomsg.jsonl" 2>&1 | tee $OUTPUT_DIR/nomsg.log export INCLUDE_MSG="yes" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -o "$OUTPUT_DIR/msg.jsonl" 2>&1 | tee $OUTPUT_DIR/msg.log export MODEL="codellama/CodeLlama-7b-Instruct-hf" export OUTPUT_DIR="$RESULT_ROOT/codellama-7b" mkdir -p $OUTPUT_DIR export INCLUDE_MSG="no" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -o "$OUTPUT_DIR/nomsg.jsonl" 2>&1 | tee $OUTPUT_DIR/nomsg.log export INCLUDE_MSG="yes" python $EVAL_SCRIPT -d $DATASET_ROOT/test.jsonl -t local -m $MODEL -o "$OUTPUT_DIR/msg.jsonl" 2>&1 | tee $OUTPUT_DIR/msg.log