> king-man+woman=queen Is the famous example everyone uses when talking about word vectors, but is it actually just very cherry picked? I.e. are there a great number of other "meaningful" examples like this, or actually the majority of the time you end up with some kind of vaguely tangentially related word when adding and subtracting word vectors. (Which seems to be what this tool is helping to illustrate, having bri…
Show HN: Semantic Calculator (king-man+woman=?)
61–70 of 179 posts
Re: Show HN: Semantic Calculator (king-man+woman=?)
#62There was a site like this a few years ago (before all the LLM stuff kicked off) that had this and other NLP functionality. Styling was grey and basic. That’s all I remember. I’ve been unable to find it since. Does anyone know which site I’m thinking of?
Re: Show HN: Semantic Calculator (king-man+woman=?)
#63uncle + aunt = great-uncle (91%) great idea, but I find the results unamusing
Re: Show HN: Semantic Calculator (king-man+woman=?)
#64data + plural = number data - plural = research king - crown = (didn't work... crown gets circled in red) king - princess = emperor king - queen = kingdom queen - king = worker king + queen = queen + king = kingdom boy + age = (didn't work... boy gets circled in red) man - age = woman woman - age = newswoman woman + age = adult female body (tied with man) girl + age = female child girl + old = female child The other…
data + plural = datasets
data - plural = datum
king - crown = ruler
king - princess = man
king - queen = prince
queen - king = woman
king + queen = royalty
boy + age = man
man - age = boy
woman - age = girl
woman + age = elderly woman
girl + age = woman
girl + old = grandmother
The results are surprisingly good, I don't think I could've done better as a human. But keep in mind that this doesn't do embedding math like OP! Although it does show how generic LLMs can solve some tasks better than traditional NLP.The prompt I used:
> Remember those "semantic calculators" with AI embeddings? Like "king - man + woman = queen"? Pretend you're a semantic calculator, and give me the results for the following:
Re: Show HN: Semantic Calculator (king-man+woman=?)
#65Re: Show HN: Semantic Calculator (king-man+woman=?)
#66Neat! Reminds me of infinite craft https://neal.fun/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.
Re: Show HN: Semantic Calculator (king-man+woman=?)
#67uncle + aunt = great-uncle (91%) great idea, but I find the results unamusing
Your aunt's uncle is your great-uncle. It's more correct than your intuition.
Re: Show HN: Semantic Calculator (king-man+woman=?)
#68Neat! Reminds me of infinite craft https://neal.fun/infinite-craft/
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…
Re: Show HN: Semantic Calculator (king-man+woman=?)
#69Can someone explain me what the fuck this is supposed to be!?
Re: Show HN: Semantic Calculator (king-man+woman=?)
#70Earlier quoted context omitted.
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…
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