█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

EvalScope

LLMs, VLMs, embeddings और AIGC models के लिए एक-कमांड वाला benchmark harness

Benchmark Harnessesओपन सोर्स
भाषा
Python
लाइसेंस
Apache-2.0
$pip install evalscope
संक्षेप में

EvalScope क्या है?

EvalScope LLMs, VLMs, embeddings और AIGC models के लिए एक-कमांड वाला benchmark harness. यह Evaluation & Production Ops टूल्स की Benchmark Harnesses श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: इंस्टॉल करें.

सारांश

EvalScope, ModelScope कम्युनिटी द्वारा मेंटेन किया जाने वाला evaluation framework है। एक `evalscope eval` कमांड किसी benchmark suite को या तो लोकल checkpoint पर, या किसी भी OpenAI-API-compatible endpoint पर चलाती है, और हर dataset और subset के लिए स्कोर वाली तालिका प्रिंट करती है। इसमें MMLU, C-Eval, GSM8K, ARC जैसे इंडस्ट्री-स्टैंडर्ड benchmarks पहले से शामिल हैं, और यह केवल text-only LLMs नहीं, बल्कि large language models, vision-language models, embedding models, rerankers और AIGC models को सपोर्ट करता है।

एक-बार के स्कोरिंग से आगे, इसमें एक agent evaluation mode है, जो GSM8K, AIME और SWE-bench Agentic जैसे benchmarks को एक नियंत्रित multi-turn AgentLoop के भीतर चलाता है, जिसमें pluggable strategies, tools और Docker sandbox होते हैं। यह हर sample का पूरा per-sample agent trace रिकॉर्ड करता है, जिसे आप dashboard में replay कर सकते हैं। एक External Agent Bridge तैयार agent CLIs, जैसे Claude Code और Codex, का मूल्यांकन करता है। यह उनके Anthropic Messages, OpenAI Chat और OpenAI Responses ट्रैफ़िक (SSE streaming सहित) को पारदर्शी तरीके से आपके evaluation model तक forward करता है और trajectory रिकॉर्ड करता है।

इसके चारों ओर तीन और हिस्से हैं। कई evaluation backends, जैसे OpenCompass, VLMEvalKit और RAGEval, एक ही CLI के पीछे plug in होते हैं। एक inference performance stress tester चल रही सर्विस के मुकाबले throughput, time-to-first-token और time-per-output-token मापता है, और नतीजे Weights & Biases या SwanLab पर रिकॉर्ड किए जा सकते हैं। और एक web dashboard runs में मॉडलों की तुलना करता है, report overviews देखता है और अलग-अलग predictions में गहराई से जाता है। Arena mode pairwise model battles जोड़ता है, जिनमें win rates और confidence intervals होते हैं।

यह क्या करता है

  • Built-in benchmarks, जिनमें MMLU, C-Eval, GSM8K और ARC शामिल हैं, और बढ़ता कैटलॉग जो agents, code, long context, multimodal और OCR को कवर करता है
  • एक CLI और एक Python API के ज़रिए LLMs, VLMs, embedding models, rerankers और AIGC models का मूल्यांकन
  • Agent evaluation mode: pluggable strategies, tools और Docker sandbox के साथ एक नियंत्रित multi-turn AgentLoop, जो हर sample के लिए पूरा agent trace रिकॉर्ड करता है
  • External Agent Bridge, जो Claude Code और Codex जैसे agent CLIs का मूल्यांकन करता है, उनके LLM ट्रैफ़िक को आपके evaluation model तक forward करके
  • एक ही interface के पीछे OpenCompass, VLMEvalKit और RAGEval के साथ multi-backend इंटीग्रेशन
  • TTFT और TPOT metrics के साथ inference stress testing; नतीजे wandb और SwanLab पर रिकॉर्ड किए जा सकते हैं
  • Multi-model तुलना, report overviews और prediction-level inspection के लिए interactive web dashboard
  • Pairwise model battles के लिए Arena mode, जिसमें win rates और confidence intervals होते हैं, साथ ही custom datasets, models और metrics

शुरू करें

EvalScope PyPI पर एक Python package है और इसके लिए Python 3.10 या उससे नया वर्शन चाहिए। किसी hosted API endpoint का मूल्यांकन करने के लिए GPU की ज़रूरत नहीं होती।

इंस्टॉल करें

bashbash
pip install evalscope

OpenAI-compatible endpoint का मूल्यांकन करें

सबसे तेज़ तरीका: अपना base URL और key सेट करें, datasets के नाम दें, और सेटअप करते समय sample count सीमित कर दें।

bashbash
evalscope eval \
 --model your-model-name \
 --api-url $OPENAI_API_BASE_URL \
 --api-key $OPENAI_API_KEY \
 --eval-type openai_api \
 --datasets gsm8k arc \
 --limit 5

लोकल मॉडल का मूल्यांकन करें

इसके बजाय model id पास करें, और EvalScope उसे ModelScope से अपने आप डाउनलोड कर लेता है।

bashbash
evalscope eval \
 --model Qwen/Qwen2.5-0.5B-Instruct \
 --datasets gsm8k arc \
 --limit 5

Python से चलाएं

run_task एक TaskConfig, एक सादा dictionary, या YAML या JSON config फ़ाइल का path लेता है।

pythonpython
from evalscope import run_task, TaskConfig

task_cfg = TaskConfig(
    model='your-model-name',
    api_url='https://your-openai-compatible-endpoint/v1',
    api_key='your_api_key',
    eval_type='openai_api',
    datasets=['gsm8k', 'arc'],
    limit=5
)

run_task(task_cfg)

Dashboard खोलें

service extra इंस्टॉल करें और visualisation server शुरू करें, फिर runs की तुलना के लिए http://127.0.0.1:9000 पर जाएं।

bashbash
pip install 'evalscope[service]'
evalscope service

Run को tune करें

Model loading, generation और per-dataset settings, सब command-line JSON में होती हैं।

bashbash
evalscope eval \
 --model Qwen/Qwen3-0.6B \
 --model-args '{"revision": "master", "precision": "torch.float16", "device_map": "auto"}' \
 --generation-config '{"do_sample":true,"temperature":0.6,"max_tokens":512}' \
 --dataset-args '{"gsm8k": {"few_shot_num": 0, "few_shot_random": false}}' \
 --datasets gsm8k \
 --limit 10

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • जब आप बिना harness लिखे, अपनी सर्व की जा रही मॉडल का standard academic benchmarks पर स्कोर देखना चाहें, तब इसे इस्तेमाल करें।
  • जब परखी जा रही चीज़ एक single completion न होकर agent loop हो, और आपको trajectory रिकॉर्ड चाहिए, तब इसे इस्तेमाल करें।
  • कई checkpoints या providers की JSON के ढेर के बजाय dashboard में साथ-साथ तुलना करने के लिए इसे इस्तेमाल करें।
  • ट्रैफ़िक लेने से पहले, किसी deploy की गई inference service को throughput, TTFT और TPOT के लिए stress-test करने के लिए इसे इस्तेमाल करें।

How EvalScope compares

EvalScope alongside other open-source benchmark harnesses tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
LM Evaluation Harness★ 14.6kएक ही कमांड से 60+ अकादमिक benchmarks पर language models चलाएँ
OpenCompass★ 7.7k100+ datasets पर LLM बेंचमार्क करने का वन-स्टॉप प्लेटफ़ॉर्म
SWE-bench★ 6.3kजाँचें कि भाषा मॉडल असली GitHub issues हल कर सकते हैं या नहीं
simple-evals★ 4.7kOpenAI का हल्का हार्नेस, जिससे मानक zero-shot, chain-of-thought LLM benchmarks चलाए जा सकें
lmms-eval★ 4.5kimage, video और audio में बड़े मल्टीमोडल मॉडल्स के लिए reproducible evaluation suite
AgentBench★ 3.8kऑपरेटिंग सिस्टम, डेटाबेस, वेब और गेम्स में LLM को एजेंट के रूप में benchmark करें
EvalScope★ 3.8kLLMs, VLMs, embeddings और AIGC models के लिए एक-कमांड वाला benchmark harness
MTEB★ 3.5kसैकड़ों टास्क पर embedding मॉडल चलाएं और सार्वजनिक leaderboard पर उसकी तुलना देखें