cloudcatcher2/VCBench 已完整同步
Overview
VCBench provides a standardized framework for evaluating vision-language models. This document outlines the procedures for both standard evaluation and GPT-assisted evaluation of your model's outputs.
1. Standard Evaluation
1.1 Output Format Requirements
Models must produce outputs in JSONL format with the following structure:
{"id": <int>, "pred_answer": "<answer_letter>"}
{"id": <int>, "pred_answer": "<answer_letter>"}
...
Example File (submit.jsonl):
{"id": 1, "pred_answer": "A"}
{"id": 2, "pred_answer": "B"}
{"id": 3, "pred_answer": "C"}
1.2 Evaluation Procedure
- Ensure your predictions file follows the specified format
- Run the evaluation script:
python evaluate_vcbench.py -p ./path/to/predictions.jsonl -g ./path/to/VCBench_with_answer.json
VCBench_with_answer.json is the ground truth file which can be downloaded from here.
2. GPT-Assisted Evaluation
2.1 Output Format Requirements
For natural language responses, use this JSONL format:
{"id": <int>, "pred_answer": "<natural_language_response>"}
{"id": <int>, "pred_answer": "<natural_language_response>"}
...
Example File (nl_predictions.jsonl):
{"id": 1, "pred_answer": "The correct answer is A"}
{"id": 2, "pred_answer": "After careful analysis, option B appears correct"}
{"id": 3, "pred_answer": "C is the right choice"}
2.2 Environment Setup
Set your Dashscope API key:
export DASHSCOPE_KEY="your_api_key_here"
2.3 Evaluation Procedure
python evaluate_vcbench_by_gpt.py -p ./path/to/nl_predictions.jsonl -g ./path/to/VCBench_with_answer.json
3. Expected Output
Both evaluation scripts will provide:
- Overall accuracy percentage
- Per-question-type accuracy breakdown
- Progress updates during evaluation
8423 个文件
浏览文件数据集版权信息
本数据集的许可证为 Apache License 2.0。如有违反相关条款,请联系 WEHUB,我们将及时处理。 查看许可证
通过 WeHub CLI 下载当前数据集快照。下列命令会固定为当前页面展示的数据版本(如果页面提供版本)。文件字节由本机直连存储下载,浏览器不会签发或保存下载链接。
前置要求
需要 Node.js 18 及以上,以及 npm(或 npx)。
1. 安装 CLI
npm install -g wehub-cli@latest
2. 下载此数据集
wehub datasets download ds_ext_3527_4726bddeb8 --revision ae984742de01e639a0fb6626a15adb789b2de9b8 --output ./ds_ext_3527_4726bddeb8
若中断或部分失败,在同一目录重新执行同一命令即可续传。默认会校验 SHA-256。
免全局安装
npx --yes wehub-cli@latest datasets download ds_ext_3527_4726bddeb8 --revision ae984742de01e639a0fb6626a15adb789b2de9b8 --output ./ds_ext_3527_4726bddeb8
高级选项
以下为 wehub datasets download 已支持的参数示例:
强制重新下载,不复用已校验的本地文件
wehub datasets download ds_ext_3527_4726bddeb8 --revision ae984742de01e639a0fb6626a15adb789b2de9b8 --output ./ds_ext_3527_4726bddeb8 --overwrite
仅包含匹配路径
wehub datasets download ds_ext_3527_4726bddeb8 --revision ae984742de01e639a0fb6626a15adb789b2de9b8 --output ./ds_ext_3527_4726bddeb8 --include "*.jsonl"
排除匹配路径
wehub datasets download ds_ext_3527_4726bddeb8 --revision ae984742de01e639a0fb6626a15adb789b2de9b8 --output ./ds_ext_3527_4726bddeb8 --exclude "*.md"
提高并发下载数
wehub datasets download ds_ext_3527_4726bddeb8 --revision ae984742de01e639a0fb6626a15adb789b2de9b8 --output ./ds_ext_3527_4726bddeb8 --jobs 8
完整帮助:wehub datasets download --help