Re:A: A CLI tool to generate code snippets from GPT3 written...
by IdiocyInAction on Thursday March 02, 2023 @05:04PM
(#35002723)
Because the computer in this case is relying on a vast repository of human knowledge encoded in these languages to go from 1 to 3. Machine code was probably not in the training set.
Would be interesting if you could train a GPT-N model to be a compiler somehow.
Re:A: A CLI tool to generate code snippets from GPT3 written...
by mr_toad on Thursday March 02, 2023 @05:11PM
(#35002801)
True of GTP and other LLMs, but an AI trained on machine code could simply output machine code. The difficulty would be that it wouldn’t then understand natural language prompts.
Re:A: A CLI tool to generate code snippets from GPT3 written...
by kupopuffs on Friday March 03, 2023 @06:36AM
(#35008252)
Why not have it be human readable as well? Good to be redundant. They can automate the compilation, and we can't always rely on the machine
Re:A: A CLI tool to generate code snippets from GPT3 written...
by omnicognate on Thursday March 02, 2023 @05:08PM
(#35002764)
Because we don't have a system that understands language and generates code. We have a token predictor trained on a huge corpus of code mixed with explanatory language. And the existing huge corpus of code mixed with explanatory language consists, necessarily, almost entirely of code written in human-oriented languages.
Re:A: A CLI tool to generate code snippets from GPT3 written...
by pfisherman on Thursday March 02, 2023 @05:07PM
(#35002759)
Interesting idea. The verifying correctness kind of seems like the most important part though, and entirely non trivial. Test driven development maybe?
Re:A: A CLI tool to generate code snippets from GPT3 written...
by frebord on Thursday March 02, 2023 @05:09PM
(#35002781)
It seems like we might look back at writing code in 15-20 years the way we now look back at something like punch card programming
Re:A: A CLI tool to generate code snippets from GPT3 written...
by ergonaught on Thursday March 02, 2023 @05:15PM
(#35002848)
For auditing the generated instructions, as auditing machine language itself is unrealistic.
Re:A: A CLI tool to generate code snippets from GPT3 written...
by smeagull on Thursday March 02, 2023 @06:25PM
(#35003532)
Step 2 is more token efficient, I suspect we'll not get rid of it.
Re:A: A CLI tool to generate code snippets from GPT3 written...
by mpalmer on Thursday March 02, 2023 @10:19PM
(#35005386)
If we eliminated step 2 and achieved equivalency with or even slightly improved upon the state of the art, we would still be at a significant disadvantage.
The problem is that the current best (publicly known) results are nowhere near good enough not to be verified by a human prior to deployment. So if we get to _that_ point having skipped step 2, the verification will have to be done on machine language.
And since there's no human-abstracted code intermediate between the spoken language and the assembly, the algorithmically-searched-out analogies of language to purpose are fairly likely to baffle everyone.
1. english -> 2. programming language -> 3. machine language
We need step 2 right now because a human has to manually push text around to actually make it to step 3.
But programming langagues are for humans only; computers don't need them. So why should step 2 even exist in the future? Especially if a computer becomes capable of verifying it's ouput better than a human could.