System One Evaluation#
Use eval_type='systemone_api' for text decision models returning structured results and probabilities. This page focuses on existing multiple-choice benchmarks, demonstrations and configuration. For Choice, Noul and Score evaluation, Bailian API access and Clef-Flash deployment, see the decision evaluation best practice.
Bailian example#
import os
from evalscope import TaskConfig, run_task
run_task(TaskConfig(
model='decision-model-preview',
eval_type='systemone_api',
api_url='https://trial.cn-beijing.maas.aliyuncs.com/compatible-mode/v1',
api_key=os.environ['DASHSCOPE_API_KEY'],
datasets=['ceval', 'banking77'],
dataset_args={
'ceval': {
'subset_list': ['computer_network'],
'few_shot_num': 5,
'system_prompt': 'Choose the best answer using the question and examples.',
},
},
generation_config={'timeout': 60, 'retries': 3, 'retry_interval': 2},
eval_batch_size=8,
limit=5,
))
The API base URL must end in /v1; requests append /systemone. Bailian also supports workspace domains; consult its current API documentation. TypeSafe Jev uses the same evaluation type with its own API base URL, key and pinned model version.
TypeSafe Jev example#
Set TYPESAFE_API_KEY in the environment, then run:
from evalscope import TaskConfig, run_task
run_task(TaskConfig(
model='jev-1.13.0',
eval_type='systemone_api',
api_url='https://api.typesafe.ai/v1',
datasets=['boolq'],
limit=2,
eval_batch_size=1,
))
An explicit api_key takes precedence. When it is omitted, None, empty or the default placeholder EMPTY, the adapter reads TYPESAFE_API_KEY only for the official HTTPS host api.typesafe.ai. Bailian and custom endpoints require an explicit key; the TypeSafe environment key is not forwarded to them. See the TypeSafe API reference.
Instructions and demonstrations#
system_promptbecomes part of the task instructions. System One has no native system message role or chat-role priority.few_shot_numretains the benchmark’s defaults, sampling rules and permitted counts. Demonstrations go intostate.examples; GPQA and SuperGPQA retain their fixed examples.dataset_args.<benchmark>.choice_instructionsreplaces the default decision instructions. Refer to state fields such asquestionandexamplesusing backticks.Default generation formatting and reasoning instructions are removed. Explicit generation templates, output filters and
use_cotare incompatible.Configure transport controls such as timeout, retries and concurrency. Temperature, max_tokens, streaming and generation-specific parameters are unsupported.
Supported benchmarks#
mmlu, ceval, cmmlu, mmlu_pro, arc, gpqa_diamond, hellaswag, winogrande, general_mcq, musr, super_gpqa, anli, boolq, banking77, contract_nli, reward_bench.
ARC-C is the
ARC-Challengesubset ofarc.ANLI exposes
r1,r2,r3: test evaluation with demonstrations from the corresponding training round.BoolQ uses original validation labels and binary Choice by default; set
extra_params.decision_kind='noul'to evaluate judgment probabilities.BANKING77 retains all 77 intents without candidate pruning.
ContractNLI uses full-document
contractnli_b, evaluating classification only, without evidence extraction.RewardBench uses v1 filtered pairs with deterministic position shuffling. Overall accuracy is weighted by sample count, not the official category-weighted leaderboard score.
The list above covers existing multiple-choice adapters. jevbench, open_decisions, stsb and general_decision also support native typed decisions with zero-shot rule grading; see the best practice.
Public datasets default to ModelScope. ContractNLI uses the contractnli_b configuration of evalscope/contract-nli. Their local_path and dataset_revision settings select local data or pin a dataset version. Images, audio, video, multiple-correct questions, tools and LLM judging are unsupported.
Results and reproducibility#
System One uses the existing Model.generate(messages) entry point. MCQ adapters attach conversion data such as the original question, candidates and demonstrations to the existing ChatMessage.internal field. SystemOneAPI.generate() converts these messages into the protocol request. No additional sample or model-output fields are needed; arbitrary chat text without MCQ conversion data cannot be converted directly.
Returned labels are rendered in the benchmark’s existing answer format, such as ANSWER: A, 答案:A or ANSWER: 51, and then use the existing answer extraction, scoring, cache and report flow.
Prediction JSONL files retain raw labels, probabilities and provider confidence in model_output.metadata.choice_response.answers.answer; choice_request retains the complete actual request. Two-decimal probability distributions are validated with their rounding tolerance; original values stay unchanged. Scoring distributions and normalization flags are stored separately in review metadata, and the Web UI can switch between the two views. Message text displays the question and options; system messages and internal retain the instructions, context and demonstrations needed for conversion.
Configurations and original requests retain Choice instructions and few-shot settings. Execution statistics distinguish successes, failures and incomplete runs. Invalid responses terminate a run by default; with ignore_errors=True, failed samples are excluded and their coverage is reported.
Pin model and dataset versions, splits, demonstrations and instructions for comparisons. Cache reuse and rerun_review follow EvalScope’s existing rules; the saved original request records the actual model input when predictions are reused. A model alias cannot guarantee an unchanged remote model version.
References: TypeSafe API, public Jev evaluation code. Scores obtained with different splits, shots, reasoning settings or aggregation metrics are not directly comparable.