MixEval is a dynamic large language model evaluation suite based on a mixture of real user queries and existing benchmarks. It aims to bridge the gap between real user queries and efficient, reproducible evaluation by mining user queries from the web and matching them with similar queries in existing benchmarks to construct benchmarks.
Key capabilities:
- Provides accurate model rankings with up to 0.96 correlation with Chatbot Arena.
- Runs quickly and at low cost, requiring only 6% of the time and cost of MMLU, and does not rely on human input.
- Dynamic update mechanism: regularly updates data points every month to avoid data contamination, with stable updates and significant differences between versions (85% unique query ratio).
- Supports open-source and proprietary models, and provides a click-and-use evaluation suite, including model response generation and score calculation.
- Supports registering custom models and benchmark data.
- Includes two benchmarks: MixEval and MixEval-Hard, each with free-form and multiple-choice splits.
- MixEval-Hard is a harder version of MixEval, designed to better distinguish strong models, using a rejection sampling process to ensure the distribution aligns with real queries.
How to use:
- Clone the repository and set up the environment.
- Set the OpenAI API key for the model parser (GPT-3.5-Turbo-0125 is used by default, and open-source model parsers are also supported).
- Run the evaluation command to perform inference and score calculation at the same time. You can also perform only model inference or only score calculation.
- Register a new model: add a model file in mixeval/models/, inherit from the corresponding base class, and add an entry in mixeval.models.init.AVAILABLE_MODELS.
- Supports evaluation on local checkpoints.
Applicable scenarios:
- Researchers or developers who need fast, low-cost evaluation of large language model performance.
- Those who want model rankings highly correlated with Chatbot Arena.
- Scenarios that require dynamic benchmarks to avoid data contamination.
- Evaluating custom models or local models.
Limitations:
- Evaluation depends on a model parser (GPT-3.5-Turbo by default), which may incur API costs.
- Requires some technical setup, such as environment configuration and API key management.
- Dynamic data is updated monthly, which may affect comparability between versions.
- MixEval-X is another independent multimodal version that does not include the text-to-text modality and is evaluated separately from MixEval。