Overview of ChemBench
devChemBench is a modular Python package designed for building and running benchmarks for Large Language Models (LLMs) and multimodal models (such as vision-language models). It is specifically optimized for chemistry-related tasks but is extensible for other domains.
Key capabilities include:
- Standardized Tasks: Uses a format based on Google's Big Bench.
- Unified Model Interface: Supports LLMs and VLLMs, often utilizing
LiteLLMas a backend. - Advanced Evaluation: Supports floating-point answers (including scientific notation) and various extraction techniques (e.g., LLM-based extraction).
- Extensibility: A pipeline system allows customization of prompts, models, extraction, and evaluation methods.
- Performance Features: Includes result caching, parallelized inference, and refusal detection to handle models that decline to answer.