Skip to main content
Sshuhari.ai
  • Courses
    • Start here
    • Learning paths9 paths
    • Modules15 modules
    • Projects10 projects
    • Quizzes
    • Flashcards
    • Homework
    • Interview prep12 question banks
    • Cheat sheets15 sheets
    • Glossary292 terms
    • Code snippets
    • Ask the mentor
    • My notes
    • My progress
SearchStart here
Menu
  • Courses
    • Start here
    • Learning paths9 paths
    • Modules15 modules
    • Projects10 projects
    • Quizzes
    • Flashcards
    • Homework
    • Interview prep12 question banks
    • Cheat sheets15 sheets
    • Glossary292 terms
    • Code snippets
    • Ask the mentor
    • My notes
    • My progress
Part of the courseBack to Generative AI
  1. Reference
  2. Contrastive training

Glossary

Contrastive training

Training that pulls matching pairs of texts together and pushes others apart in vector space. It is why close vectors tend to mean similar meaning.

Where it is explained

  • Embeddings and similarity searchEmbeddings and vector search

See also

Terms explained in the same lessons.

  • Cosine similarity
  • Dot product
  • Embedding model
  • Euclidean distance
  • Semantic search
  • Vector normalization
Previous termContinuous batchingNext termCorrective RAG (CRAG)

All terms, A to Z

Sshuhari.ai

Learn the fundamentals. Break the limits. Build what's next.

  • Privacy
  • Search