Re:A: A CLI tool to generate code snippets from GPT3 written...
by thunky on Thursday March 02, 2023 @05:00PM
(#35002681)
It's interesting, this is where we're at:
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.
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 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 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.
Re:A: A CLI tool to generate code snippets from GPT3 written...
by foysauce on Thursday March 02, 2023 @05:09PM
(#35002778)
Interesting that the top 2 comments (when reading this) are at opposite ends of the sentiment spectrum over the name. Personally I think it's one of those names that sucks to use in conversation but great to use on the command line. Of course aliasing or abbreviations can also get you there.
Re:A: A CLI tool to generate code snippets from GPT3 written...
by JPKab on Thursday March 02, 2023 @05:10PM
(#35002787)
Super cool idea, but I really really hate it when I take about 15 minutes out of my day to install something and then have it not work at all.
~ a python script that makes a request
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NotPresent', /Users/some_user/.cargo/registry/src/github.com-1ecc6299db9ec823/a-gpt-0.1.9/src/main.rs:15:51
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Edit: I'm on a Mac x86. Curious if others have same experience.
Re:A: A CLI tool to generate code snippets from GPT3 written...
by netfortius on Thursday March 02, 2023 @05:33PM
(#35003043)
Same here - also on macos. Thinking about opening an issue on the github repo, but will try to see if I could figure out from the source code what this is about, first
Re:A: A CLI tool to generate code snippets from GPT3 written...
by synergy20 on Thursday March 02, 2023 @05:19PM
(#35002891)
With a valid key I still get errors.
read the returning message it says I exceeded my daily quota, checked my account, my free API trial period ended a few months back.
Paying for ChatGPI does not mean you can get API access, in short, you need pay for API access separately after a short trial period to use this tool:
"No, the ChatGPT API and ChatGPT Plus subscription are billed separately. The API has its own pricing, which can be found at https://openai.com/pricing. The ChatGPT Plus subscription covers usage on chat.openai.com only and costs $20/month."
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.
Would be interesting if you could train a GPT-N model to be a compiler somehow.
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.
Edit: I'm on a Mac x86. Curious if others have same experience.
Also they could have provided an actual error rather than letting it panic!
read the returning message it says I exceeded my daily quota, checked my account, my free API trial period ended a few months back.
Paying for ChatGPI does not mean you can get API access, in short, you need pay for API access separately after a short trial period to use this tool:
"No, the ChatGPT API and ChatGPT Plus subscription are billed separately. The API has its own pricing, which can be found at https://openai.com/pricing. The ChatGPT Plus subscription covers usage on chat.openai.com only and costs $20/month."
try to compute the power of X to the Y without a library ...