Building AI Intensive Python Applications
by Rachelle Palmer, Ben Perlmutter, Ashwin Gangadhar, Nicholas Larew, Sigfrido Narváez, Thomas Rueckstiess, Henry Weller, Richmond Alake, Shubham Ranjan
4
Embedding Models
Embedding models are powerful machine learning techniques that simplify high-dimensional data into lower-dimensional space, while preserving essential features. Crucial in natural language processing (NLP), they transform sparse word representations into dense vectors, capturing semantic similarities between words. Embedding models also process images, audio, video, and structured data, enhancing applications in recommendation systems, anomaly detection, and clustering.
Here is an example of an embedding model in action. Suppose the full plot in a database of movies has been previously embedded using OpenAI’s text-embedding-ada-002 embedding model. Your goal is to find all movies and animations for Guardians of the Galaxy ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access