0% found this document useful (0 votes)
10 views

Vector DB Export Paper

Vector database export paper

Uploaded by

Roli Xir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Vector DB Export Paper

Vector database export paper

Uploaded by

Roli Xir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Vector Database

Query
Data how are you who are you who am I am I you

Word Embeddings a an the how why who what are is am be was you we I they she he she me him her

0 -1 0 1 0 1 0 0 -1 1 0 0 0 3 1 0 -1 0 0 0 -1 0
2 0 2 0 0 0 -1 1 0 0 0 2 1 0 2 0 2 0 0 2 0 0
-1 0 -1 1 2 0 0 1 0 1 -1 0 0 -1 0 3 0 0 -1 0 2 -1
0 1 0 0 1 0 1 0 1 0 1 -2 0 0 0 1 0 1 0 1 0 1

Text Embeddings 1 1 1 1 1 1 1 1 1 1 1 1

Encoder 1 1 0 0 0
0 1 0 1 0
1 0 1 0 -1
Linear &
ReLU 1 -1 0 0 0

Mean Pooling

Indexing Projection
1 1 0 0 Vector
Storage
0 0 1 1

Retrieval Dot Products

Nearest Neighbor (argmax)

© 2024 Tom Yeh


2.1.24
Vector Database
Query
Data how are you who are you who am I am I you

Word Embeddings a an the how why who what are is am be was you we I they she he she me him her

0 -1 0 1 0 1 0 0 -1 1 0 0 0 3 1 0 -1 0 0 0 -1 0
2 0 2 0 0 0 -1 1 0 0 0 2 1 0 2 0 2 0 0 2 0 0
-1 0 -1 1 2 0 0 1 0 1 -1 0 0 -1 0 3 0 0 -1 0 2 -1
0 1 0 0 1 0 1 0 1 0 1 -2 0 0 0 1 0 1 0 1 0 1

Text Embeddings 1 1 1 1 1 1 1 1 1 1 1 1

Encoder 1 1 0 0 0
0 1 0 1 0
1 0 1 0 -1
Linear &
ReLU 1 -1 0 0 0

Mean Pooling

Indexing Projection
1 1 0 0 Vector
Storage
0 0 1 1

Retrieval Dot Products

Nearest Neighbor (argmax)

© 2024 Tom Yeh


2.1.24

You might also like