← AI glossary

Embedding

Turning the meaning of text or an image into a list of numbers, so similar things can be found.

Short answer

An embedding is a list of numbers (a vector) that represents the meaning of a piece of text or an image. Texts with similar meaning get vectors that are close together, so a program can find them by distance instead of matching exact words.

An embedding model converts a sentence into a vector of a few hundred numbers. Sentences with similar meaning get nearby vectors — even if they share no words.

Embeddings power search, recommendations, duplicate detection and RAG.

Example

“How do I get my money back?” and “What is the refund rule?” use different words but have close embeddings.

How it works

  1. A model reads the text, for example a Bangla sentence.
  2. It outputs a vector — typically a few hundred to a few thousand numbers.
  3. Similar meanings give nearby vectors, which you compare with a similarity score such as cosine similarity.

Frequently asked questions

What is the meaning of embedding in Bengali?

In Bengali, embedding is এমবেডিং: turning the meaning of text or an image into numbers (a vector).

What is an embedding used for?

Semantic search, recommendations, finding duplicates, clustering and retrieval for RAG.

Do I need a GPU to create embeddings?

Small embedding models run on a CPU. A GPU helps when you embed many documents quickly.

বাংলায়: এমবেডিং — লেখা বা ছবির অর্থকে একগুচ্ছ সংখ্যায় রূপান্তর — যাতে অর্থে মিল থাকা জিনিস খুঁজে পাওয়া যায়।

Planning a project? A GPU guide for every workload — memory, GPU and cost:

Try it on a real AI Computer

JupyterLab opens in about a minute. Pay in taka with bKash, billed by the minute — stop whenever you like.