AI Terminology Course
AI Terminology
/
Intermediate

Vector Representations

Definition

The array of numbers resulting from the embedding process. It allows semantic relationships to be calculated using basic linear algebra.

Explain Like I'm New

The actual list of numbers that represents a word. For example, the vector for 'Cat' might be `[0.42, -0.88, 0.12, 0.99]`. You can add and subtract these lists of numbers to do word-math.

Real World Example

The famous Word2Vec math equation: `Vector('King') - Vector('Man') + Vector('Woman') = Vector('Queen')`. By adding and subtracting the GPS coordinates of the concepts, the AI perfectly calculates the gender-flipped royal title.

Common Use Cases

  • •Vector Databases
  • •Cosine Similarity calculations

Interview Questions

basic

  • In AI, what is a Vector?

intermediate

  • How does a computer figure out if two sentences mean the exact same thing, even if they use completely different words?

Flash Cards

Question

What is a Vector?

Click to reveal answer
Answer

Simply an array (list) of numbers.

Question

How to check sentence meaning?

Click to reveal answer
Answer

It converts both sentences into Vectors. It then measures the mathematical distance between those two vectors. If the distance is very small, the computer knows the sentences are semantically identical.