News for hackers. Stuff that matters.
Re:What Is ChatGPT Doing and Why Does It Work? by lukeplato on Tuesday February 14, 2023 @07:42PM (#34798450)
Yann LeCun often argues that animals like cats and dogs are substantially more intelligent than current LLMs [0] and I'd have to agree. I don't see how/why to consider practical knowledge as only constituting a tiny fraction of our overall intelligence. Either way, it's not clear if the GPT-* models will someday produce emergent common sense or if they're going down an entirely wrong path.

[0] https://twitter.com/ylecun/status/1622300311573651458

Re:What Is ChatGPT Doing and Why Does It Work? by CamperBob2 on Tuesday February 14, 2023 @10:40PM (#34799818)
LeCun misses the point by a mile, which is weird at his level. LLMs absolutely do perform problem solving, every time you feed them a prompt. The problem-solving doesn't happen on the output side of the model, it happens on the input side.

Someone objected that a cat can't write a Python program, and LeCun points out that "Regurgitating Python code does not require any understanding of a complex world." No, but a) interpreting the prompt does require understanding, and good luck finding a dog or cat who will offer any response at all to a request for a Python program; and b) it's hardly "regurgitating" if the output never existed anywhere in the training data.

TL,DR: his FoMO is showing.

Re:What Is ChatGPT Doing and Why Does It Work? by jeremyjh on Tuesday February 14, 2023 @11:10PM (#34799996)
I haven't used GPT-3 to generate code for me but I use Copilot all the time. Sometimes it freaks me out with its precience, but most of the time it is generating either nice one-liners or a lot of plausible-sound rubbish that would never build, much less run on its own. It creates a plausible API that is similar to the one in my app, but not the same; it doesn't integrate any actual structural knowledge of the code-base, its just bullshitting.
Re:What Is ChatGPT Doing and Why Does It Work? by CamperBob2 on Wednesday February 15, 2023 @12:06AM (#34800324)
Again, the interesting part is what happens on the input side.

I can't believe I'm the only person who sees it that way. Likely the legacy of a misspent youth writing Zork parsers...

Re:What Is ChatGPT Doing and Why Does It Work? by Cipater on Wednesday February 15, 2023 @12:59AM (#34800606)
It's strange, isn't it?

Everyone is so quick to say how unimpressed they are by the thing meanwhile I'm sitting here amazed that it understands what I say to it every single time.

I can speak to it like I would speak to a colleague, or a friend, or a child and it parses my meaning without fail. This is the one feature that keeps me coming back to it.

Re:What Is ChatGPT Doing and Why Does It Work? by scarface74 on Wednesday February 15, 2023 @12:27AM (#34800434)
This is a script I told ChatGPT wrote

“Write a Python script that returns a comma separated list of arns of all AWS roles that contain policies I specify with the “-p” parameter using argparse”

Then I noticed there was a bug, AWS API calls are paginated and it would only return the first 50 results.

“that won’t work with more than 50 roles”

Then it modified the code to use “paginators”

Yes, you can find similar code on StackOverflow

https://stackoverflow.com/questions/66127551/list-of-all-rol...

But ChatGPT met my specifications exactly.

ChatGPT “knows” the AWS SDK for Python pretty well. I’ve used it to write a dozen or so similar scripts. Some more complicated than the others.

Re:What Is ChatGPT Doing and Why Does It Work? by jeremyjh on Wednesday February 15, 2023 @12:35AM (#34800485)
Ok that actually sounds hugely useful. It makes sense for very well known APIs it will get them quite accurately.
Re:What Is ChatGPT Doing and Why Does It Work? by scarface74 on Wednesday February 15, 2023 @01:01AM (#34800614)
I wonder how well it would work if you seeded it with the inputs and outputs of custom APIs and then tell it to write code based on your API.
Re:What Is ChatGPT Doing and Why Does It Work? by jeremyjh on Wednesday February 15, 2023 @01:35AM (#34800775)
Well I'd hope that is what is going on in Copilot. It definitely does seem to be trained on my code to some extent, but it doesn't have anything I'd call a semantic understanding of it.
Re:What Is ChatGPT Doing and Why Does It Work? by mdtusz on Wednesday February 15, 2023 @01:44AM (#34800824)
The difference here is that a cat or dog hasn't been trained to write a python program, and it probably isn't possible - the weights and activation functions of a cat brain simply won't allow it.
Re:What Is ChatGPT Doing and Why Does It Work? by visarga on Wednesday February 15, 2023 @02:56AM (#34801205)
> I don't see how/why to consider practical knowledge as only constituting a tiny fraction of our overall intelligence.

A human without language would be just a less adapted ape. The difference comes from language (where I include culture, science and technology).

Today you have to be a PhD to push forward the boundaries of human knowledge, and only in a very narrow field. This is the amount we add back to culture - if you got one good original idea in your hole life you consider yourself lucky.

https://www.wasyresearch.com/content/images/2021/08/the_esse...