News for hackers. Stuff that matters.
Re:Albert Einstein's theory of relativity in words of four l... by probably_wrong on Monday April 14, 2025 @05:30AM (#43679556)
I tried something like that some time ago. The problem with that strategy is the lack of backtracking.

Let's say I prompt my LLM to exclusively use the letters 'aefghilmnoprst' and the LLM generates "that's one small step for a man, one giant leap for man-"[1]. Since the next token with the highest probability ("-kind") isn't allowed, it may very well be that the next appropriate word is something really generic or, if your grammar is really restrictive, straight up nonsense because nothing fits. And then there's pathological stuff like "... one giant leap for man, one small step for a man, one giant leap for man- ...".

[1] Toy example - I'm sure these specific rules are not super restrictive and "management" is right there.

Re:Albert Einstein's theory of relativity in words of four l... by wizzwizz4 on Monday April 14, 2025 @05:50AM (#43679635)
The next token is obviously "goes". (Any language model that disagrees is simply wrong.)
Re:Albert Einstein's theory of relativity in words of four l... by JohnKemeny on Monday April 14, 2025 @05:09PM (#43686361)
I'm not sure if my chain's bein' yanked right now, but surely you mean "gos"‽
Re:Albert Einstein's theory of relativity in words of four l... by wizzwizz4 on Monday April 14, 2025 @06:39PM (#43687074)
The plural of mangoe is mangoes. https://en.wiktionary.org/wiki/mangoe