by nottorp · 1y ago · 0 comments
For natural language processing you need a different kind of neural network don't you?
The precise mechanism LLMs use for reaching their probability distributions is why they are able to pass most undergraduate level exams, whereas the Markov chain projects I made 15-20 years ago were not.
Even as an intermediary, word2vec had to build a space in which the concept of "gender" exists such that "man" -> "woman" ~= "king" -> "queen".
Maybe I'm asking for an explanation :)
Since you seem to understand the mechanism, can you do a 3 line summary please?
"The user has requested 'remind me to pay my bills 8 PM tomorrow'. The current date is 2025-02-24. Your available commands are 'set_reminder' (time, description), 'set_alarm' (time), 'send_email' (to, subject, content). Respond with the command and its inputs."
And the most likely response will be what the user wanted.A Markov chain (only using the probabilities of word orders from sentences in its training set) could never output a command that wasn't stitched together from existing ones (i.e. it would always output a valid command name, but if no one had requested a reminder for a date in 2026 before it was trained, it would never output that year). No amount of documents saying "2026 is the year after 2025" would make a Markov chain understand that fact, but LLMs are able to "understand" that.
I don’t ask Siri for facts (just like I don’t ask LLM’s for facts). As long as it can correctly, understand what and when I ask to be reminded about something, that would be a huge improvement for me.
That and being able to map “Bedroom Fan”/“Bedroom Fan Light” to “Bedroom Fan Lights” without having to specify aliases (and even then it hearing me wrong).
I’ve see Home Assistant working with LLMs and it can understand groupings that I never explicitly defined which is very nice. I can say “Turn off all overhead lights” and it will find all my overhead lights and turn them off. Siri/Alexa can’t handle those tasks currently.
Try asking ChatGPT to remember some obscure film you can only remember very hazy details about - really random stuff - I bet it will identify it for you I a few tries.
You can also totally miss spell words, use messed up grammar and it has no problems at all