model1 / scripts /eval /mmbench_cn.sh
multitensor's picture
Upload folder using huggingface_hub
bbfa6f6 verified
raw
history blame contribute delete
738 Bytes
#!/bin/bash
SPLIT="mmbench_dev_cn_20231003"
python -m llava.eval.model_vqa_mmbench \
--model-path liuhaotian/llava-v1.5-13b \
--question-file ./playground/data/eval/mmbench_cn/$SPLIT.tsv \
--answers-file ./playground/data/eval/mmbench_cn/answers/$SPLIT/llava-v1.5-13b.jsonl \
--lang cn \
--single-pred-prompt \
--temperature 0 \
--conv-mode vicuna_v1
mkdir -p playground/data/eval/mmbench/answers_upload/$SPLIT
python scripts/convert_mmbench_for_submission.py \
--annotation-file ./playground/data/eval/mmbench_cn/$SPLIT.tsv \
--result-dir ./playground/data/eval/mmbench_cn/answers/$SPLIT \
--upload-dir ./playground/data/eval/mmbench_cn/answers_upload/$SPLIT \
--experiment llava-v1.5-13b