←back to thread

176 points nxa | 1 comments | | HN request time: 0.576s | source

I've been playing with embeddings and wanted to try out what results the embedding layer will produce based on just word-by-word input and addition / subtraction, beyond what many videos / papers mention (like the obvious king-man+woman=queen). So I built something that doesn't just give the first answer, but ranks the matches based on distance / cosine symmetry. I polished it a bit so that others can try it out, too.

For now, I only have nouns (and some proper nouns) in the dataset, and pick the most common interpretation among the homographs. Also, it's case sensitive.

Show context
antidnan ◴[] No.43988592[source]
Neat! Reminds me of infinite craft

https://neal.fun/infinite-craft/

replies(1): >>43989904 #
thaumasiotes ◴[] No.43989904[source]
I went to look at infinite craft.

It provides a panel filled with slowly moving dots. Right of the panel, there are objects labeled "water", "fire", "wind", and "earth" that you can instantiate on the panel and drag around. As you drag them, the background dots, if nearby, will grow lines connecting to them. These lines are not persistent.

And that's it. Nothing ever happens, there are no interactions except for the lines that appear while you're holding the mouse down, and while there is notionally a help window listing the controls, the only controls are "select item", "delete item", and "duplicate item". There is also an "about" panel, which contains no information.

replies(1): >>43989914 #
n2d4 ◴[] No.43989914[source]
In the panel, you can drag one of the items (eg. Water) onto another one (eg. Earth), and it will create a new word (eg. Plant). It uses AI, so it goes very deep
replies(1): >>43989925 #
thaumasiotes ◴[] No.43989925[source]
No, that was the first thing I tried. The only thing that happens is that the two objects will now share their location. There are no interactions.
replies(3): >>43989944 #>>43993230 #>>43993307 #
1. n2d4 ◴[] No.43989944[source]
Probably a bug then, you can check YouTube to find videos of people playing it (eg. [0])

[0] https://youtu.be/8-ytx84lUK8