Reference 11 stops to get here

Attention Score

The weight determining how much each value contributes to the output, computed from query-key similarity.

Your route here

11 stops · basics first
  1. Machine Learning ✓ understood

    Building systems that learn patterns from data instead of following hand-written rules, getting better at a task as they see more examples.

  2. Neural Network ✓ understood

    A computational model inspired by biological neural networks, consisting of interconnected nodes (neurons) organized in layers that process information through weighted connections.

  3. Activation Function ✓ understood

    A non-linear function applied to neuron outputs that introduces non-linearity, enabling networks to learn complex patterns.

  4. Softmax ✓ understood

    A function that turns a list of scores (logits) into probabilities that are all positive and sum to 1; the standard output of classifiers and language models.

  5. Dataset ✓ understood

    A collection of data examples used for training, validating, or testing machine learning models.

  6. Feature ✓ understood

    A single measurable property of an example, such as a house's floor area or how many links an email contains, used as an input to a model.

  7. Deep Learning ✓ understood

    A subset of machine learning that uses neural networks with multiple layers (deep neural networks) to learn hierarchical representations of data.

  8. Representation Learning ✓ understood

    Learning useful features or representations of data automatically, rather than hand-crafting them.

  9. Embedding ✓ understood

    A list of numbers (a vector) that represents a word, sentence, image or other item, learned so that similar items end up close together.

  10. Attention Mechanism ✓ understood

    A technique that lets a neural network weigh every part of its input when producing each output, focusing on the parts most relevant at that step.

  11. Query-Key-Value ✓ understood

    The three learned projections in attention mechanisms used to compute attention weights and outputs.

  12. Attention Score · you are here ✓ understood

The weight determining how much each value contributes to the output, computed from query-key similarity.

This concept is essential for understanding large language models and forms a key part of modern AI systems.

  • Attention Mechanism
  • Query-Key-Value
  • Softmax

Where it sits

Attention Score

Leads to

Nothing yet: a destination in its own right.

Explore nearby