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.…