|
|
|
|
|
by WithinReason
65 days ago
|
|
I'm responding to: > Fundamentally there's no way to deterministically guarantee anything about the output. with the fact that you can e.g. force a network to output e.g. syntactically correct code, as long as you can syntax check each token. |
|
If you're syntax checking every token, you're doing it AFTER the llm has spat out its output. You didn't actually do anything to force the llm to produce correct code. You just reject invalid output after the fact.
If you could force it to emit syntactically correct code, you wouldn't need to perform a separate manual syntax check afterwards.