How AI Is Built
How AI Is Built
Nicolay Gerold
Oct 10, 2024 · 46 min

#026 Embedding Numbers, Categories, Locations, Images, Text, and The World

MP3
Today’s guest is Mór Kapronczay. Mór is the Head of ML at superlinked. Superlinked is a compute framework for your information retrieval and feature engineering systems, where they turn anything into embeddings.When most people think about embeddings, they think about ada, openai.You just take your text and throw it in there.But that’s too crude.OpenAI embeddings are trained on the internet.But your data set (most likely) is not the internet.You have different nuances.And you have more than just text.So why not use it.Some highlights:Text Embeddings are Not a Magic Bullet➡️ Pouring everything into a text embedding model won't yield magical results ➡️ Language is lossy - it's a poor compression method for complex informationEmbedding Numerical Data➡️ Direct number embeddings don't work well for vector search ➡️ Consider projecting number ranges onto a quarter circle ➡️ Apply logarithmic transforms for skewed distributionsMulti-Modal Embeddings➡️ Create separate vector parts for different data aspects ➡️ Normalize individual parts ➡️ Weight vector parts based on importanceA Multi-Vector approach can help you understand the contributions of each modality or embedding and give you an easier time to fine-tune your retrieval system without fine-tuning your embedding models by tuning your vector database like you would a search database (like Elastic).Mór KapronczayLinkedInSuperlinkedX (Twitter)Nicolay Gerold:⁠LinkedIn⁠⁠X (Twitter)

This podcast uses Anchor (from Spotify) for stats, tracking, and dynamic audio. What this means Timestamps may be slightly off because ads are inserted dynamically. Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.