Skip to content

Evaluation Task

After a fine-tune task completes, you can select an evaluation dataset, create an evaluation task, and view the model evaluation results.

Prerequisites

  • A fine-tune task has been created and is in Success status.
  • An evaluation dataset and version have been prepared; their content and field mapping should suit this evaluation. See Dataset Management.

Steps

  1. In the left navigation, expand Model Fine-tuning, choose Fine-tune Task, and click the target task in Success status. On the details page, select the Model Evaluation tab and click Evaluate Model.

  2. Enter the task name, and select the evaluation dataset and version. The page brings in the current fine-tune configuration and fine-tune task; confirm the evaluation target is correct.

  3. Set CPU, memory, and GPU resources, then adjust the evaluation configuration and environment variables as needed, and click OK.

    Parameter Description
    Task Name Required. The page notes a length of 2–64 characters, only lowercase letters, numbers, and -, starting with a letter and ending with a letter or number.
    Fine-tune Configuration, Fine-tune Task Brought in from the current task; verify the evaluation target before submitting.
    Evaluation Dataset, Dataset Version Select the data and version for evaluation. Required.
    CPU, Memory, GPU Allocate resources for the evaluation task. Decide whether to enable GPU based on the model size.
    Max Input Length Inputs longer than this value are truncated.
    Max Evaluation Samples Limit the number of samples read in this evaluation.
    Number of Threads Control the number of evaluation threads running concurrently.
    Override Cache Data Regenerate cached data as needed.
    Batch Size Set the number of samples processed per batch during evaluation.
    Timeout Set the task timeout. The page unit is seconds.
    Use Generative Evaluation Enable generative evaluation depending on the evaluation method.
    Environment Variables Advanced configuration; add as required by the runtime environment.
  4. Check the evaluation task status on the Model Evaluation tab. After the task succeeds, click ┇ to the right of the task and choose Evaluation Results.

  5. View the evaluation metrics and values. Metrics shown in the result dialog may include ROUGE, BLEU, inference time, sample throughput, and inference speed. The specific metrics and results are subject to this evaluation run.

    Metric Description
    ROUGE-1, ROUGE-2 Measure the overlap of single words or consecutive two-word pairs between the generated text and the reference text.
    ROUGE-L Measure text overlap based on the longest common subsequence between the generated and reference texts.
    BLEU-4 Combine the matching precision of consecutive one- to four-word segments, with a penalty for overly short generated text.
    Inference Time Total time spent on inference in this evaluation.
    Sample Throughput Average number of evaluation samples processed per second.
    Inference Speed Average number of evaluation steps executed per second.
    Model Preparation Time Time spent preparing the model before evaluation.

    ROUGE and BLEU reflect textual overlap only; they do not alone represent the factual accuracy or overall quality of the answers. When comparing results, use the same dataset and evaluation configuration, and judge based on the actual outputs.

Next Steps

To save the fine-tuned model files, create an export task.

Comments