by hammyhavoc · 3y ago · 0 comments
I wanted GPT to give me an NGINX config for Active Collab as we're previously using Apache, and thus an htaccess file. I fed it all the documentation from Active Collab, I couldn't get anything valid out of it. Hallucinated all kinds of things that weren't there. I then gave it the URL rewrites that would be required, line-by-line, spent a long time trying to correct it. No bueno, even worse hallucination. I spent days on trying to get it to output a valid NGINX config that incorporated these URL rewrites. It can't reason, it's doing exactly what LLMs do, which is next word prediction.
I can't imagine what people are using it for in terms of a valuable addition to their workflow with how much it hallucinates. If it can't even do an NGINX config, what use is it for anything else? People saying it's helping them learn programming languages. Fuck me, they don't know when it's wrong, and it will be wrong at some point, it's an LLM.
For one next time when it starts hallucinating and a gentle course correction doesn't do it, just start a new chat with a different prompt approach. Having the error in its context reinforces the same mistake and sometimes it can't get out of this loop.
I already did this in terms of starting new chats, I spent days on it, and consulted with half a dozen devs supposedly using it in their workflows. It's very easy to make it hallucinate.
Side note is Google extra terrible lately or is there really no docs on this almost anywhere?
All I could find about it is this and the rules looked very simple, from my experience chatgpt should have got this https://activecollab.com/help/books/self-hosted-activecollab...
No. It's an AI error, the person between the chair and keyboard just hit enter. If this "error" goes away when I hit the enter key a few more times and get lucky, it's not my fault.
It isn't reasoning about the solution to a problem either, it's running as expected in relating words to each other, that doesn't mean it has any form of understanding of the words or even what it's rendering as an output.
Turn it around. I'm sure there are lots of people around who couldn't do it either, even with a ridiculously high amount of time to do it
As a thought experiment, assume the average human may be able to translate text between two human languages, or write code in two-three programming languages. GPT4 can perform those tasks on a much more diverse set of human _and_ programming languages. Is that not superhuman?
Yes, it makes mistakes. But take a hundred humans off the street and ask them to write an NGINX configuration or translate between Indian and French - how many would be able to do that? How many would be able to do that without any mistakes?
People on HN claim they're using it for XYZ in development, yet it can't even generate the necessary NGINX config, despite being given the URL rewrites it'll need to incorporate.
The point is that it hallucinates. It isn't that it failed, it's that despite giving it everything it needs to know, it hallucinated all kinds of things not in the documentation, not in my prompts et al.
Why? Because it's an LLM. It isn't fit for purpose in this context. A next word prediction AI (an LLM) isn't appropriate for these kinds of problems.
To me, it feels quite intuitive that an AI trained on human knowledge would automatically learn to do the same.
The point: it isn't that it failed. It isn't even that it "hallucinates answers", it's that it infers relationships between words that don't exist because it's an LLM. It predicts the next word. That's what it does.
Something that predicts the next word isn't an appropriate method of doing x in y of z cases, because its reliability in providing the designated function is important. Ergo, yes, LLMs may well have applications, but most of the problems that people are throwing it at are inappropriate, just like blockchain fetishism versus a database. For the overwhelming majority of problems, AI is not the answer, neither is a blockchain, neither is an NFT.
Call hallucination what it is: a fail state. It got it wrong. It didn't "hallucinate". With standard conditional logic, x yields y result. That's very useful where you want consistency and reliability, ergo, those problems are best not handled via an LLM. Why not use the appropriate tool for the job?
Deductive versus inductive versus abductive reasoning.