Re:I wish GPT4 had never happened
by throw__away7391 on Saturday April 08, 2023 @12:15PM
(#35494743)
Shell scripting and JavaScript are strengths, any kind of server-side language like Scala or C# it really falls apart quite quickly. I think that integrating into existing APIs is the Achilles' heel, GPT-4 doesn't seem to do any better here either. It makes me wonder if someday we might not get better results completely eschewing libraries altogether and letting the transformers generate literally everything--perhaps recreating similar client libraries over and over and perhaps based on specific existing human-authored libraries, but each one unique to the service, e.g. no external dependencies at all.
[ Parent
| on HN ]
I think it will be quite the opposite. Generating a lot of code means generating a lot of bugs. LMMs should get the (battle tested) libs they have to use as part of the prompt, and they should just use those APIs.
Re:I wish GPT4 had never happened
by passion__desire on Saturday April 08, 2023 @12:41PM
(#35495052)
Just as nobody should roll their own cryptographic library, the same rules apply to LLMs.
Re:I wish GPT4 had never happened
by halfjoking on Saturday April 08, 2023 @01:47PM
(#35495791)
I’ve also been wondering if no framework coding will be more productive for LLM driven software.
How many times have frameworks like React changed since it was created? A changing framework means the LLM may mix training from multiple versions and create errors. Whereas libraries that don’t change can produce consistent results. So use stable libraries that choose backwards compatibility at any cost, over the ones that change with the times.
Re:I wish GPT4 had never happened
by surgical_fire on Saturday April 08, 2023 @03:37PM
(#35496808)
Frameworks and high-level languages exist as abstractions to make writing code easier for humans.
Wouldn't make more sense for a machine to just write assembly directly?
Re:I wish GPT4 had never happened
by halfjoking on Saturday April 08, 2023 @03:53PM
(#35496955)
They aren’t trained on assembly. Even if they were, the tools for debugging assembly wouldn’t be as helpful if the LLM wanted to iterate when given compiler errors. The compiler errors they’re trained on are errors humans run into.
Now they also have training on frameworks but those keep changing. So I think the best abstraction is plain javascript - it has the most training data and javascript written twenty years ago still works today.