Embedding models normalise vectors to unit length before computing cosine similarity: (with clamped below by eps).
Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial