62
you are viewing a single comment's thread
view the rest of the comments
[-] BigWeed@hexbear.net 9 points 1 month ago* (last edited 1 month ago)

A very simple vector example:

Assume we have an array of 26 binary variables, one for each letter of the alphabet. We flip to 1 if the letter is present in the word. Dog -> [0,0,0,1,0…] Cat -> [1,0,1,0,0…]

Then we can do a search by taking a target word and doing a cosine similarly search, roughly we find the binary array most similar to a given array to compute a score.

Modern models compute a much more complicated vector by using the context of the words around them. Multimodal image models use a combination of images and text to train a model so later you can use pass it some text to get a vector.

There are some things out there about doing math on vectors because the form a latent space, for example: ‘king - man + woman = queen’ but empirical tests show that this doesn’t quite hold up on modern models. 3blue1brown has a video on vector math which is worth a watch.

this post was submitted on 21 Nov 2025
62 points (100.0% liked)

Chapotraphouse

14232 readers
668 users here now

Banned? DM Wmill to appeal.

No anti-nautilism posts. See: Eco-fascism Primer

Slop posts go in c/slop. Don't post low-hanging fruit here.

founded 5 years ago
MODERATORS