How ghazalkhalighinejad/multimodalqa works
ChemQA is presented as a chemistry multiple-choice benchmark dataset with scripts for evaluating LLMs. The principal workflow in the sampled runner loads and filters a dataset, builds image-question prompts, dispatches model calls, checks answers against labels, and writes per-model results and accuracy. Provider adapters cover several text and vision models; local Llama adapters exist but are not wired into this runner in the shown code. The README describes a ChemQA dataset on Hugging Face, while eval.py loads SciBench; unsampled details are not inferred.
Main entry points: eval.py Evaluation runner · gpt4.py GPT adapter · gemini.py Gemini adapter · claude3.py Claude adapter
Components 14
Evaluation runner
- Evaluation runner
eval.py
Model adapters
- GPT adapter
api/gpt4.py - Gemini adapter
api/gemini.py - Claude adapter
api/claude3.py - Together adapter
api/together_api.py - LLaVA adapter
api/llava.py - Llama 7B adapter
api/llama2_7b.py - Llama 13B adapter
api/llama2_13b.py - Llama 70B adapter
api/llama2_70b.py
Benchmark artifacts
- Per-model results
chemistry_benchmark - Accuracy reports
chemistry_benchmark
Other components
- Benchmark user
- SciBench validation set
- Hugging Face
Connections 10
- Benchmark user → Evaluation runner: runs evaluation
eval.py - Evaluation runner → SciBench validation set: loads and filters
eval.py - Hugging Face → SciBench validation set: hosts dataset
README.md - Evaluation runner → GPT adapter: dispatches calls
eval.py - Evaluation runner → Gemini adapter: dispatches calls
eval.py - Evaluation runner → Claude adapter: dispatches calls
eval.py - Evaluation runner → Together adapter: dispatches calls
eval.py - Evaluation runner → LLaVA adapter: dispatches calls
eval.py - Evaluation runner → Per-model results: writes responses
eval.py - Evaluation runner → Accuracy reports: writes score
eval.py