Why Vectors?

We all know what is AWS S3 right? Probably most well known AWS Service - amazing, cheap, durable object store that has been widely known and used for decades. Many questions arise when you first hear S3 Vectors: what are vectors, is it for mathematicians only? How is it related to AI? Why it has S3 prefix? I will answer all of that in a minute, keep reading!

What is vector store in general and why do we need it in AI? Let’s begin from how ChatGPT and similar LLMs work under the hood. When you write a query for example: "Tell me a joke?", message is divided and consumed as tokens. Token is semi-word or whole word like ["Tell", "me", "a", "joke"] and models have embedding layers that convert tokens into vectors, but the vector is context-dependent. "tell"…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help