I have this except you can see every single word in any dictionary at once in space, it renders individual glyphs. It can show an entire dictionary of words - definitions and roots - and let you fly around in them. It’s fun. I built a sample that “plays” a sentence and its definitions. GitHub.com/tikimcfee/LookAtThat The more I see stuff like this, the more i want to complete it. It’s heartening to see so many people fancied with seeing words… I just wish I knew where to find these people to like.. befriend and get better. Im getting the feeling I just kinda exist between worlds of lofty ideas and people that are incredibly smart sticking around other people that are incredibly smart.
Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
11–20 of 43 posts
Re: Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
#12Re: Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
#13I wish there were more context and maybe the ability to do math on the vectors Eg what is the real distance between the two vectors? That should be easy to compute Similarly: what do I get from summing two vectors and what are some nearby vectors? Maybe just generally: what are some nearby vectors? Without any additional context it's just a point cloud with a couple of randomly labeled elements
Re: Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
#14Interesting that "cromulent" and "hentai" seem to map right next to each other, as well as the words "decorate" and "spare".
Re: Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
#15Earlier quoted context omitted.
In the bottom left "?" button it says it performs PCA down to 3 dimensions. That's going to lose a ton of information, rendering the space mostly useless.
Yeah, it's a fun useless project.
Imagine walking around the world and seeing everyone’s slightly unique relationship space of words. This is something I have envisioned for a very long time.
Re: Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
#16Re: Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
#17I would love a quickest path between two words. For example between color and colour
Re: Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
#18I wish there were more context and maybe the ability to do math on the vectors Eg what is the real distance between the two vectors? That should be easy to compute Similarly: what do I get from summing two vectors and what are some nearby vectors? Maybe just generally: what are some nearby vectors? Without any additional context it's just a point cloud with a couple of randomly labeled elements
People rarely have to get down to the real true metal on the embeddings models, and they're not what people think they are from their memory of word2vec. Ex. there's actually one vector emitted _per token_, the final vector is the mean. And cosine distance for similarity is the only metric anyone is training for.
In summary, there's ~no reason to think a visualization trying to show multiple vectors will ever be meaningful. Even just starting from "they have way way way more dimensions than we can represent visually" is enough to rule it out
Mini LM v2, foundation of most vector dbs, is 384 dims.
n.b. dear reader, if you've heard of that: you should be using v3! V3 is for asymmetric search, aka query => result docs. V2 is for symmetric search, aka chunk of text => similarly worded chunks of texts. It's very very funny how few people read the docs, in this case, the sentence transformers site.
Re: Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
#19I wish there were more context and maybe the ability to do math on the vectors Eg what is the real distance between the two vectors? That should be easy to compute Similarly: what do I get from summing two vectors and what are some nearby vectors? Maybe just generally: what are some nearby vectors? Without any additional context it's just a point cloud with a couple of randomly labeled elements
If I gave you a live GPU shader that let you arbitrarily position any of say a few million words with simple Cartesian coordinates, what would you do with it? Whole words expressed as Individual letters - not symbols, representations, or abstractions. Just letters arranged in a specific order to form words.
Re: Latent Dictionary: 3D map of Oxford3000+search words via DistilBert embeddings
#20Earlier quoted context omitted.
If I gave you a live GPU shader that let you arbitrarily position any of say a few million words with simple Cartesian coordinates, what would you do with it? Whole words expressed as Individual letters - not symbols, representations, or abstractions. Just letters arranged in a specific order to form words.
I would want to have multi lingual embeddings so I can learn languages more efficiently. Being able to see clouds of different words in different languages would allow me to contextualize them more easily. Same for phrases and sentences.
However, this is exactly where I want to go. A dictionary is a cyclic graph of words mapping to words. That means there’s at least one finite way to visit every single node and give it a position, with a direct relationship to the words that define it, and those words that define them, and so on.
This creates an arbitrary and unique geometric structure per language, and if you get fancy and create modifiers for an individual’s vocabulary, you can even create transforms for a “base” dictionary, and the way someone chooses to use certain words differently. You would be able to see, but likely not understand, the “structure” of types of text - poetry, storytelling, instructional writing, etc.