| Input | |||
|---|---|---|---|
| Required Input | Type | Description | |
expected | string | Reference content with the expected numeric value. | |
output | string | Model-generated content containing the numeric prediction. |
| Output | ||
|---|---|---|
| Field | Description | |
| Result | Returns a score representing the normalized difference between the numeric values. | |
| Reason | Provides a detailed explanation of the numeric similarity assessment. |
Purpose of Numeric Similarity Eval
- It evaluate the accuracy of numerical values in model-generated outputs.
- Unlike semantic or lexical metrics which can overlook numeric discrepancies,
Numeric Similarityensures that numeric correctness is measured explicitly.