Data Preparation for ML and AI

A fine-tuning dataset contains safe, well-formed responses, but a join error may have attached responses to unrelated prompts. Which validation should the engineer prioritize?

Show the answer

Correct answerA. Check prompt-response semantic alignment

AWhy this is right: Semantic alignment validation checks whether each response meaningfully answers its paired prompt.

BWhy not this: Content safety screening detects prohibited material, not mismatched associations between otherwise safe prompts and responses.

CWhy not this: Completeness checks find absent fields; incorrectly paired records can have every required field populated.

DWhy not this: Demographic proportions reveal representation differences, not incorrect prompt-response associations.

Prompt-response semantic alignment checks whether each response addresses its associated prompt. Content safety screening can identify prohibited material but cannot establish that a safe response answers the correct prompt.