Spaces:
Running
Running
File size: 4,888 Bytes
8553d06 b552779 8553d06 b552779 8553d06 |
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
import os
HF_TOKEN = os.environ.get("HF_TOKEN")
LEADERBOARD_INTRODUCTION = """# MEGA-Bench Leaderboard
## π Introduction
[MEGA-Bench](https://tiger-ai-lab.github.io/MEGA-Bench/) is a comprehensive benchmark scaling multimodal evaluation to 500+ real-world tasks!
We aim to provide cost-effective and accurate evaluation for multimodal models, covering a wide range of real-world tasks. You don't have to run models on dozens of benchmarks -- MEGA-Bench delivers a comprehensive performance report in a single benchmark.
## π§ Highlights of MEGA-Bench
- 505 diverse tasks evaluating multimodal models across 8 grand application types, 7 input visual formats, 6 output formats, and 10 general multimodal skills, covering single-image, multi-image, and video tasks
- Moves beyond multiple-choice questions, offering diverse output formats like numbers, code, LATEX, phrases, free-form responses, and more. We developed 45 customized metrics to accurately evaluate these diverse outputs
- Focuses on task diversity rather than repetitive examples, ensuring cost-efficient evaluation
- Provides fine-grained capability reports across application type, input/output formats, and required skills
## π¨ Systematic Annotation Process
- Guided by an initial application-driven taxonomy tree
- 16 expert annotators contributing to a 2-round process to develop 505 tasks
- Utilizes advanced tools for task design, review, and quality control
- Ensures high-quality data through continuous refinement and balanced task distribution
## ππ Results & Takeaways from Evaluating Top Models
- GPT4o leads the benchmark, outperforming others by 3.5% over Claude3.5
- Qwen2VL stands out among open-source models, nearing flagship-level performance
- Chain-of-Thought (CoT) improves proprietary models but has limited impact on open-source models
- Efficiency models like Gemini 1.5 Flash perform well but struggle with UI and document tasks
- Many open-source models face challenges in adhering to output format instructions
## π― Interactive Visualization
Visit our [project page](https://tiger-ai-lab.github.io/MEGA-Bench/) to explore the interactive task taxonomy and radar maps, offering deep insights into model capabilities across multiple dimensions. Discover a comprehensive breakdown far beyond single-score evaluations.
## π More Information
- Our evaluation pipeline is available on our [GitHub repo](https://github.com/TIGER-AI-Lab/MEGA-Bench).
- Check full details of our paper at [https://arxiv.org/abs/2410.10563](https://arxiv.org/abs/2410.10563)
- Hugging Face Datasets: [https://huggingface.co/datasets/TIGER-Lab/MEGA-Bench](https://huggingface.co/datasets/TIGER-Lab/MEGA-Bench)
"""
TABLE_INTRODUCTION = """
"""
DATA_INFO = """
### Data Sources
The data source of MEGA-Bench tasks have three main types:
- **Purely Self-designed:** The task is designed entirely by the annotator, and the annotator looks for the image or video resources from the Internet or even using code/simulator.
- **Inspired and adapted from existing benchmarks:** The task is inspired by existing benchmarks or datasets. The annotator collects the raw image/video data from existing datasets but does not use the original annotation. The annotator redesigns/repurposes the data by writing concrete task descriptions and creating new questions and answers, or using scripts to re-process the data for the designed task.
- **Directly converted from existing benchmarks:** The task is directly converted from existing benchmarks or datasets. The annotator randomly samples a subset from the existing benchmark, directly using its image/video and the annotation without redesign.
In our annotation process, the first two task types are encouraged. The task reviewers strictly control the number of the third type and reject the task if an annotator submits many tasks of the third type.
Please refer to Table 17 of our [paper](https://arxiv.org/abs/2410.10563) for the detailed data source of all tasks in MEGA-Bench.
"""
CITATION_BUTTON_LABEL = "Copy the following snippet to cite our paper and evaluation results below"
CITATION_BUTTON_TEXT = r"""
@article{chen2024mega-bench,
title={MEGA-Bench: Scaling Multimodal Evaluation to over 500 Real-World Tasks},
author={Chen, Jiacheng and Liang, Tianhao and Siu, Sherman and Wang, Zhengqing and Wang, Kai and Wang, Yubo and Ni, Yuansheng and Zhu, Wang and Jiang, Ziyan and Lyu, Bohan and Jiang, Dongfu and He, Xuan and Liu, Yuan and Hu, Hexiang and Yue, Xiang and Chen, Wenhu},
journal={arXiv preprint arXiv:2410.10563},
year={2024},
}
"""
SUBMIT_INTRODUCTION = """# Submit on MEGA-Bench Leaderboard
Our evaluation pipeline is released on our [GitHub repository](https://github.com/TIGER-AI-Lab/MEGA-Bench). We will provide details on how to submit third-party results to this leaderboard.
""" |