News for hackers. Stuff that matters.

nxa

Re:Show HN: Semantic Calculator (King-Man+woman=?) on Thursday May 15, 2025 @02:31PM (#43997888)
My interpretation of negative numbers is that no "synonym" was found (no vector pointing in the same direction), and that the closest expression on record is something with an opposite meaning (pointing in reverse direction), so I'd say that's an antonym.
Re:Show HN: Semantic Calculator (King-Man+woman=?) on Wednesday May 14, 2025 @08:11PM (#43990517)
artificial intelligence - bullsh*t = computer science (34%)
Re:Show HN: Semantic Calculator (King-Man+woman=?) on Wednesday May 14, 2025 @05:40PM (#43989502)
Yes, that's pretty much what it is. Watch out for homographs.
Re:Show HN: Semantic Calculator (King-Man+woman=?) on Wednesday May 14, 2025 @05:24PM (#43989378)
This might be helpful: I haven't implemented it in the UI, but from the API response you can see what the word definitions are, both for the input and the output. If the output has homographs, likeliness is split per definition, but the UI only shows the best one.

Also, if it gets buried in comments, proper nouns need to be capitalized (Paris-France+Germany).

I am planning on patching up the UI based on your feedback.

Re:Show HN: Semantic Calculator (King-Man+woman=?) on Wednesday May 14, 2025 @04:56PM (#43989121)
Thank you! I actually had a hard time finding prior work on this, so I appreciate the references.

The dictionary is based on https://wordnet.princeton.edu/, no word2vec. It's just a plain lookup among precomputed embeddings (with mxbai-embed-large). And yes, I'm excluding words that are present in the query because.

It would be interesting to see how other models perform. I tried one (forgot the name) that was focused on coding, and it didn't perform nearly as well (in terms of human joy from the results).

Re:Show HN: Semantic Calculator (King-Man+woman=?) on Wednesday May 14, 2025 @04:41PM (#43988964)
I probably should have prefaced this with "try at your own risk, results don't reflect the author's opinions"
Re:Show HN: Semantic Calculator (King-Man+woman=?) on Wednesday May 14, 2025 @04:40PM (#43988944)
when I first tried it, king was referring to the instrument and I was getting a result king-man+woman=flute ... :-D
Re:Show HN: Semantic Calculator (King-Man+woman=?) on Wednesday May 14, 2025 @04:39PM (#43988929)
Yes, word in red = word not found mostly the case when you try plurals or non-nouns (for now)

Show HN: Semantic Calculator (King-Man+woman=?)

https://calc.datova.ai

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...

( Read More... | 172 comments | 9 points | on HN )
Re:Show HN: A web server written in plain English on Friday May 24, 2024 @12:37PM (#40467854)
Update: A news endpoint, took a few builds to generate a valid build, but it now shows a set of 3 made-up news items: https://nie.avoguard.com/news

Show HN: A web server written in plain English

https://github.com/vitprajzler/node-in-english

What do I mean by plain English? I mean there's no source code, no programming language. Just plain English "compiled" and CI/CDed into "production" at https://nie.avoguard.com/.Why did I build this? Just for fun. I wanted to see how close to a production-ready code can an LLM generate, and what would it take to actually take it into production. With today's technology, could an English...

( Read More... | 2 comments | 5 points | on HN )
Re:100Gbps RF Sample Offload for RFSoC Using GNU Radio and PYNQ on Thursday December 07, 2023 @01:57PM (#38560281)
> FFT of a full 2GHz bandwidth RF signal at 60 frames per second

Is this useful for anything else than visualization of the spectrum in a waterfall diagram?

Re:Nordic Is Getting Involved in RISC-V on Friday November 10, 2023 @10:55AM (#38220403)
Have you looked at Mouser or Digikey? $9.60 for per unit, in single unit quantities, heaps in stock as of today.