A model built from layers of simple weighted units, trained by adjusting those weights until the output matches the target.
A list of numbers representing a piece of data, arranged so that similar things end up close together.
Also known as: Vector Embedding
An embedding maps something discrete — a token, a sentence, an image, a product — to a vector of floating-point numbers, typically a few hundred to a few thousand of them. The mapping is learned, and the useful property is geometric: things that are similar in meaning end up near each other in the space.
That property is what makes semantic search work. Instead of matching keywords, you embed the query and the documents and look for the nearest vectors, which finds "how do I cancel my plan" in a document that only ever says "terminating a subscription".
Distances are usually measured by cosine similarity, which compares direction and ignores magnitude.
A model built from layers of simple weighted units, trained by adjusting those weights until the output matches the target.
When a model learns the training data so closely — including its noise — that it performs worse on anything new.
Training on examples that come with the right answer attached, so the model learns to map inputs to known labels.
Finding structure in data that has no labels — clusters, groupings, or a compressed representation.
Learning by acting in an environment and adjusting behaviour based on rewards, rather than from labelled examples.
Reusing a model trained on one task as the starting point for another, instead of training from scratch.
Definitions are reviewed by our editorial team. Spotted a problem? Tell us.