FCMBench — Vision Language Track Evaluation
This repository provides evaluation scripts for FCMBench (Vision-Language track).
The workflow is:
- download the image data
- run inference with your model to produce a JSONL prediction file
- evaluate predictions against the test groundtruth (when available)
Environments
- Python 3.10+
uvfor environment management (recommended)
Quickstart
1) Download image data and uncompress
The image data are hosted on both ModelScope and Hugging Face.
unzip FCMBench_v1.1_Images.zip
2) Run inference and save results (JSONL)
Use any inference framework or API to generate predictions, and save them as a JSONL file (one JSON object per line).
- Example API request code:
example_api_request.py - Example prediction(output) file format:
prediction_results_example.jsonl
Tip: Keep the prediction file in UTF-8 and ensure each line is valid JSON.
3) Evaluate predictions
FCMBench provides two test annotation files:
FCMBench_v1.1_testset_small.jsonl: a subset where ground-truth annotations are provided.
Use this file for self-testing, debugging, and diagnosis.
FCMBench_v1.1_testset_full.jsonl: the full test set that only provides prompts (no ground-truth).
Use this file to generate results for leaderboard submission.
Note: The subset (*_small.jsonl) is generally conservative for ranking compared with the full set, meaning relative ordering among models is often stable. However, absolute metric values may differ between the subset and the full test set.
From the repository root:
For uv users:
cd vision_language # this folder
uv sync
uv run evaluation.py prediction_results.jsonl FCMBench_v1.0_testset_small.jsonl
For pip users:
cd vision_language # this folder
pip3 install openai>=2.14.0 pandas>=2.3.3
python3 evaluation.py prediction_results.jsonl FCMBench_v1.0_testset_small.jsonl
Where:
prediction_results.jsonlis your model output file; useprediction_results_example.jsonlif you haven't generated your own resultsFCMBench_v1.1_testset_small.jsonlis the official self-test subset annotation file (ground-truth provided).
Leaderboard submission
To join the FCMBench leaderboard:
1. Run inference on FCMBench_v1.1_testset_full.jsonl
2. Save your predictions to a JSONL file (same format as the example)
3. Email the JSONL file to [yangyehuisw@126.com] with the following information:
• Model name / version
• Inference framework (or API) and key settings (e.g., temperature, max tokens)
• Any special post-processing (if applicable)
After validation, we will compute the official metrics on the hidden ground-truth and update the leaderboard.
Output
The evaluator prints summary metrics to stdout.
