AIF-C01 · Question #114
A company has fine-tuned a large language model (LLM) to answer questions for a help desk. The company wants to determine if the fine-tuning has enhanced the model's accuracy. Which metric should…
The correct answer is C. F1 score. When evaluating a fine-tuned LLM for question-answering accuracy, the F1 score is a suitable metric to assess the balance between precision and recall of its responses.
Question
A company has fine-tuned a large language model (LLM) to answer questions for a help desk. The company wants to determine if the fine-tuning has enhanced the model's accuracy. Which metric should the company use for the evaluation?
Options
- APrecision
- BTime to first token
- CF1 score
- DWord error rate
How the community answered
(21 responses)- A5% (1)
- B5% (1)
- C76% (16)
- D14% (3)
Why each option
When evaluating a fine-tuned LLM for question-answering accuracy, the F1 score is a suitable metric to assess the balance between precision and recall of its responses.
Precision measures the proportion of true positive results among all positive results returned, but it doesn't account for false negatives (missed correct answers), making it an incomplete measure for overall accuracy.
Time to first token measures latency, indicating how quickly the model starts generating output, which is a performance metric, not an accuracy metric.
The F1 score is a commonly used metric for evaluating the performance of models, especially in classification and text generation tasks, as it provides a harmonic mean of precision and recall. For evaluating an LLM's accuracy in a question-answering context, it effectively measures how well the model identifies relevant information (recall) and avoids incorrect information (precision) in its responses.
Word error rate (WER) is primarily used for speech recognition or machine translation to measure the number of errors between a generated sequence and a reference, and is less directly applicable for evaluating the accuracy of answers in a general help desk scenario.
Concept tested: LLM evaluation metrics, F1 score
Source: https://learn.microsoft.com/en-us/azure/machine-learning/concept-identify-model-metrics?view=azureml-api-2
Topics
Community Discussion
No community discussion yet for this question.