
# # Truthfulness score -> Head Gate & Bottom-K Pruning
# CUDA_VISIBLE_DEVICES=1 python3 -m accelerate.commands.launch \
# 	--num_processes=1 \
# 	-m lmms_eval \
# 	--model llava \
# 	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
# 	--tasks pope_truthful_head_gate_k_intervention_ver2_bottom \
# 	--batch_size 1 \
# 	--log_samples \
# 	--log_samples_suffix llava_v1.5_7b_pope_truthful_head_gate_k_intervention_ver2_bottom \
# 	--output_path ./logs/ \
# 	--process_with_media 

# Truthfulness score (ver.7,8,9) -> Head Gate (contrast)
CUDA_VISIBLE_DEVICES=0 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_truthful_head_ver7 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_truthful_head_ver7 \
	--output_path ./logs/ \
	--process_with_media 

CUDA_VISIBLE_DEVICES=0 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_truthful_head_ver8 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_truthful_head_ver8 \
	--output_path ./logs/ \
	--process_with_media 

CUDA_VISIBLE_DEVICES=0 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope_truthful_head_ver9 \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope_truthful_head_ver9 \
	--output_path ./logs/ \
	--process_with_media 


CUDA_VISIBLE_DEVICES=0 python3 -m accelerate.commands.launch \
	--num_processes=1 \
	-m lmms_eval \
	--model llava \
	--model_args pretrained=liuhaotian/llava-v1.5-7b,attn_implementation=eager \
	--tasks pope \
	--batch_size 1 \
	--log_samples \
	--log_samples_suffix llava_v1.5_7b_pope \
	--output_path ./logs/ \
	--process_with_media 