-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheval_reasoner_StrategyQA.sh
More file actions
26 lines (24 loc) · 1.35 KB
/
eval_reasoner_StrategyQA.sh
File metadata and controls
26 lines (24 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export NCCL_P2P_LEVEL=NVL
export ACCELERATE_USE_FSDP=False
export CUDA_VISIBLE_DEVICES=3
BEAM_SIZE=1
data_format=reason # cot/direct/think
base_path=/local_data/xywen22/project/train_with_sftrainer/ckpts
DATASET=StrategyQA
Model_Series=Qwen
# Model_Series=meta-llama
Model_name=Qwen2.5-14B-Instruct
# Model_name=Llama-3.1-8B-Instruct
# checkpoint_NAME_prefix="lr=5e-05-dependency-packing=True"
# checkpoint_NAME_suffix="augmentModel=None-randomselected-gpt4o-futher_filtered-addtoken=False-load_in_4bit=True-lora_dropout=0.01-train_response_only=False-N_epochs=20"
# checkpoint_NAME=$checkpoint_NAME_prefix-$checkpoint_NAME_suffix
checkpoint_NAME='lr=1e-4-creator=qwen14bins-augment=dsv3-random_select=True-further_filter=False-filtered=True-load_in_4bit=False-response_only=False-N_epochs=10-unsloth=False-special_token=False-lora=all-linear'
checkpoint_id="checkpoint-390"
LOG_FILE_NAME=${checkpoint_NAME}_${checkpoint_id}
python eval_reasoner.py \
--beam $BEAM_SIZE \
--ckpt $base_path/$data_format/$Model_Series/$Model_name/$DATASET/$checkpoint_NAME/$checkpoint_id \
--data dataset/$DATASET/$data_format/verify_filtered/StrategyQA_gpt4o_knowledge_reason_test_reformated-filtered-175.json \
--log_path eval_results/$data_format/$DATASET/$Model_Series/${Model_name}-${LOG_FILE_NAME}.json \
--load_in_4bit false \
# 2>&1 | tee eval_results/${LOG_FILE_NAME}.txt