Menu

What Is an Embedding? Two Models Rated “Boris Paid Anna” Closer Than the Right Answer
📰

What Is an Embedding? Two Models Rated “Boris Paid Anna” Closer Than the Right Answer

#devcommunity#dev#model#embedding#paraphrase
Long article (1856 words) — no AI summary yet.
Reading 0:00
15s threshold

An embedding turns text into a list of numbers so that texts with similar meaning get similar numbers. I tested two open embedding models on my laptop with 55 pairs of sentences. Both knew what a sentence was about. Neither reliably knew what it said.

An embedding is a list of numbers that a model makes from a piece of text, so that texts with similar meaning get similar numbers. It is how a search engine finds a document that answers your question in different words, and how a RAG system decides what to put in front of a language model. I tested two open embedding models on my laptop with 55 pairs of sentences. Both of them scored a sentence with the roles swapped, such as "Boris paid Anna 100 dollars" for "Anna paid Boris 100 dollars", as closer to the original than a correct paraphrase. That happened in all 10 sentences I tried, in English and in Russian.

What an embedding is

Take the sentence "The payment went through." An embedding model turns it into 768 numbers.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.