This topic describes how to create and manage evaluation dimension templates.
Evaluation dimensions overview
Evaluation dimensions define the scoring rules for model evaluation tasks. Each dimension is configured with a scorer. After you create a dimension as a template, it can be referenced by multiple evaluation tasks, which enables unified management and reuse of evaluation criteria.
Model Studio provides the following five scorer types, covering the three evaluation paradigms of LLM-based automated evaluation, rule-based matching, and manual review:
- LLM evaluation - classification: a judge model classifies model outputs by user-defined labels (Pass/Fail). It suits judgment scenarios that require semantic understanding, such as content safety detection and answer correctness checking.
- LLM evaluation - numeric: a judge model assigns continuous numeric scores to model outputs (such as 0~5). It suits scenarios that require fine-grained quantification, such as Q&A quality evaluation and content generation quality scoring.
- Rule evaluation - string matching: programmatically determines the exact match relationship between the model output and the reference text (equal/not equal/contains). It suits scenarios with deterministic standard answers, such as Function Calling and NL2SQL.
- Rule evaluation - text similarity: uses algorithms to calculate the similarity between the model output and the reference text (BLEU/ROUGE/cosine, etc.). It suits quantifying the similarity of open-ended answers, such as translation, summarization, and rewriting.
- Manual evaluation - classification: evaluators manually classify model outputs by label. It suits scenarios that require subjective judgment, such as tone and style, and compliance review.
Dimension type | Evaluation method | Applicable scenarios | Reference answer required | Automation level |
|---|---|---|---|---|
LLM evaluation - classification | Judge model classifies by label | Content safety, answer correctness | No | Fully automated |
LLM evaluation - numeric | Judge model scores by range | Q&A quality, generation quality | No | Fully automated |
Rule evaluation - string matching | Exact/partial string matching | Function Calling、NL2SQL | Yes | Fully automated |
Rule evaluation - text similarity | Algorithms such as BLEU/ROUGE/cosine | Translation, summarization, rewriting | Yes | Fully automated |
Manual evaluation - classification | Manual review by label | Tone and style, compliance review | No | Manual |
- A standard answer with a fixed format: use rule evaluation - string matching first, which has the lowest cost and highest speed.
- A standard answer with varied wording: use rule evaluation - text similarity, which accommodates wording differences through algorithms.
- No standard answer and semantic understanding required: use LLM evaluation (classification or numeric), in which the judge model evaluates at the semantic level.
- Subjective judgment or professional review required: use manual evaluation - classification, in which evaluators review each item.
Define evaluation dimensions
Log on to the Model Studio console, choose Model Evaluation in the left-side navigation pane, switch to the Evaluation Dimensions tab, and click Create Evaluation Dimension to open the selection dialog: you can filter the Preset templates list by type and tag and click Use Template on a template card to apply it in one click, or click + Create Custom Evaluation Dimension to go to the custom configuration page. The top of the console page displays the current workspace (switchable) and region (China (Beijing) by default).
When you define an evaluation dimension, first fill in the following common fields:
- Dimension Name: Required, no more than 50 characters.
- Description: Optional, no more than 100 characters. Used to supplement the judging goals of this dimension.
- Type: Required. Select one of the five scorer types. The scorer type cannot be changed after creation; if you select the wrong one, you must delete it and create a new one.
Parameter | Description | Required | Value description |
|---|---|---|---|
Dimension name | Name of the evaluation dimension template | Yes | No more than 50 characters |
Description | Supplementary description of the dimension | No | No more than 100 characters |
Type | Evaluation method of the scorer, which cannot be changed after creation | Yes | Select one of the five types |
Judge model | LLM that performs the evaluation | Required for LLM evaluation types | Select from the drop-down list |
Scorer template | Prompt template that instructs the judge model | Required for LLM evaluation types | Preset template or custom |
Scoring range | Minimum and maximum values of numeric scores | Required for the numeric type | Integers, 0 to 5 by default |
Passing threshold | Minimum score or similarity for a pass | Required for the numeric and similarity types | Numeric value |
Important The scorer type cannot be changed after creation. If you select the wrong type, you must delete and recreate the dimension.After you select a type, you enter the configuration page specific to that type. The complete creation steps and configuration details for each dimension type:
- LLM evaluation (numeric/classification): judge model scoring, prompt variables, 19 preset templates, AI optimization, and trial runs. For details, see LLM evaluation.
- Rule evaluation (string matching/text similarity): algorithm-based direct scoring and 28 preset templates (14 similarity algorithms and 14 matching rules). For details, see Rule evaluation.
- Manual evaluation (classification): manual review by label and label design recommendations. For details, see Manual evaluation.
Manage evaluation dimension templates
On the evaluation dimension list page, you can view, modify, and delete the dimension templates you created.
View dimensions
The dimension list page displays all created dimension templates and supports the following operations:
- Search by name: enter a dimension name keyword in the search box for a fuzzy search.
- Filter by type: click the filter icon in the Type column header to filter by selecting multiple of the five scorer types.
- Sort by creation time: click Sort by creation time to switch between ascending and descending order.
Modify dimensions
On the dimension details page, you can modify configuration items such as the dimension name, description, scorer prompt, and labels. The scorer type cannot be changed after creation. Modifications take effect immediately after you save them.
Delete dimensions
Click Delete in the Actions column of a target dimension in the dimension list. The deletion operation is irreversible. If the dimension is referenced by an evaluation task, it cannot be deleted. You must remove the associated evaluation tasks before you can delete the dimension.
Evaluation dimension design recommendations
Well-designed evaluation dimensions help accurately measure model performance. The following are key recommendations from practice.
Type selection and iteration
Select an appropriate type based on the evaluation scenario: for scenarios with standard answers, use rule evaluation first (low cost and high speed); for scenarios that require semantic understanding, use LLM evaluation; for subjective quality judgment, use manual evaluation. For a detailed comparison of each type, see Evaluation dimensions overview.
We recommend that you first create a dimension from a preset template and run an evaluation on a small sample (10~20 data entries) to verify the effect. Based on the cases with large deviations in the evaluation results, adjust the scoring criteria and score definitions of the prompt, and scale up the evaluation after validation. Gradually move from preset templates to custom prompts.
Parameter configuration recommendations
Pass and Fail labels should be mutually exclusive and exhaustive, that is, all possible outputs can fall into one of the classes. Binary classification is sufficient for simple scenarios; for complex scenarios that require multiple labels, control the number of labels to reduce evaluation ambiguity.
For LLM evaluation - numeric, we recommend a scoring range of no more than 10 (an excessively large range reduces LLM scoring consistency). The default 0~5 range with a passing threshold of 3 is a common configuration. Set the passing threshold based on the business tolerance for quality — the higher the threshold, the stricter the pass standard.
Select an appropriate similarity algorithm based on the evaluation task type:
- Translation tasks: BLEU (measures n-gram exact matching).
- Summarization tasks: ROUGE-L (measures the longest common subsequence).
- Semantic relevance: Cosine Similarity (measures semantic vector distance).
- Classification tasks: Accuracy (measures the exact match rate).
Naming conventions
We recommend the naming pattern of "evaluation aspect + evaluation method", such as "Answer accuracy - LLM scoring", "Sentiment tendency - label classification", and "Format compliance - string matching". Clear naming helps you quickly identify and select dimensions in evaluation tasks.
FAQ
The following are common issues and solutions when you use the evaluation dimension feature.
Issue: I selected the wrong scorer type after defining the evaluation dimension.
Issue: I selected the wrong scorer type after defining the evaluation dimension.
Issue: An error message appears when I delete a dimension template.
Issue: An error message appears when I delete a dimension template.
Issue: I cannot submit the configuration after configuring Pass/Fail labels.
Issue: I cannot submit the configuration after configuring Pass/Fail labels.