Embedding

In LLMs, embeddings are vectors that capture the semantic meaning of words, allowing the model to understand relationships between them.

  • Published on: August 17, 2024
  • Updated on: August 17, 2024

Meaning

A vector that captures the meaning and relationships of words in a continuous space for LLMs.

Definition

Embeddings are vectors that represent words or phrases in a continuous space, capturing their meanings and relationships based on the context in which they appear.

These numerical representations allow LLMs to understand the semantic connections between words, improving their ability to perform tasks like analogy completion or text classification.

Example

The words “king” and “queen” might have similar embeddings in an LLM, reflecting their related meanings and roles in language, which the model can use to generate contextually appropriate text.

Related Items

Discover more related items.

What is Parameter?

Parameters are the weights and biases in a neural network that the model adjusts during training to minimize error in predictions.

Learn More

What is Hallucination?

Hallucination refers to instances where the model produces outputs that are factually incorrect or not grounded in reality, despite sounding plausible.

Learn More

What is Chain-of-Thought (CoT) Prompting?

This technique prompts the model to articulate its thought process step-by-step, leading to more accurate and transparent outputs.

Learn More