An interesting solution to the blind spot error (taken directly from Jeremy Howard's amazing guide to language models - https://www.youtube.com/watch?v=jkrNMKz9pWU ) is to erase the chat history and try again. Once GPT has made an error (or as the author of this article says, the early layers have irreversibly pruned some important data), it will very often start to be even more wrong.
When this happens, I'll usually say something along the lines of: "This isn't working and I'd like to start this again with a new ChatGPT conversation. Can you suggest a new improved prompt to complete this task, that takes into account everything we've learned so far?" It has given me good prompt suggestions that can immediately get a script working on the first try, after a frustrating series of blind spot bugs.
Writing a GPT-4 script to check Wikipedia for the first unused acronym
71–80 of 118 posts
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#72The question answered by this page is "what is the first unused 3-letter acronym in English Wikipedia?" - it's CQK for the record. However, the meat of the page is how to effectively use GPT-4 to write this script, hence why I've submitted it under this title (go to https://gwern.net/tla#effective-gpt-4-programming ). Interesting topics include: · Writing a good GPT-4 system prompt to make GPT-4 produce less verbose…
> If asked "how to make [the Bash script it's written] better", GPT-4 will produce an equivalent Python script What an absolutely based take by GPT-4
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#73Earlier quoted context omitted.
I learned how expensive hashmaps and hashsets are through Wikipedia dumps. I did some analysis of the most linked-to pages. Countries were among the highest. Hash sets for holding outgoing edges in the link graph ended up causing my program to exceed my laptop’s memory. Plain old lists (Python) were fine, though. And given there aren’t a crazy number of links per page using lists is fine performance wise.
How'd the hashset exceed your laptop memory, if the whole dump is just 22GB? You should be able to fit the entire dataset in RAM.
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#74Earlier quoted context omitted.
I learned how expensive hashmaps and hashsets are through Wikipedia dumps. I did some analysis of the most linked-to pages. Countries were among the highest. Hash sets for holding outgoing edges in the link graph ended up causing my program to exceed my laptop’s memory. Plain old lists (Python) were fine, though. And given there aren’t a crazy number of links per page using lists is fine performance wise.
Why did lists require less memory? Was it because you only held a subset of keys in the lists?
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#75Earlier quoted context omitted.
We don't know what "think like a person" entails, so we don't know how different human thought processes are to predicting what goes next, and whether those differences are meaningful when making a comparison. Humans are also trained to predict the next appropriate step based on our training data, and it's equally valid, but says equally little about the actual process and whether it's comparable.
We do know that in terms of external behavior and internal structure (as far as we can ascertain it), humans and LLMs have only an passing resemblance in a few characteristics, if at all. Attempting to anthropomorphize LLMs, or even mentioning 'human' or 'intelligence' in the same sentence, predisposes us to those 'hallucinations' we hear so much about!
More importantly we have nothing to tell us whether it matters, or if it will turn out any number of sufficiently advanced architectures will inevitably approximate similar behaviours when exposed to the same training data.
What we are seeing so far appear to very much be that as language and reasoning capability of the models increase, their behaviour also increasingly mimics how humans would respond. Which makes sense as that is what they are being trained to.
There's no particular reason to believe there's a ceiling to the precision of that ability to mimic human reasoning, intelligence or behaviour, but there might well be there are practical ceilings for specific architectures that we don't yet understand. Or it could just be a question of efficiency.
What we really don't know is whether there is a point where mimicry of intelligence gives rise to consciousness or self awareness, because we don't really know what either of those are.
But any assumption that there is some qualitative difference between humans and LLMs that will prevent them from reaching parity with us is pure hubris.
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#76Pedantic, but gwern is looking for initialisms, not acronyms. Acronyms are pronounced as a word. https://www.merriam-webster.com/grammar/whats-an-acronym
Imprecise wording, initialisms are a case of acronyms, it's not either or.
https://wwwnc.cdc.gov/eid/page/abbreviations-acronyms-initia...
"an initialism is an acronym that is pronounced as individual letters"
https://www.writersdigest.com/write-better-fiction/abbreviat...
"As such, acronyms are initialisms."
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#77Earlier quoted context omitted.
Yeah once ChatGPT shows up as an entity in the training data it will sort of inescapably start to build a self image.
Wait, this can actually have consequences! Think about all the SEO articles about ChatGPT hallucinating… At some point it will start to “think” that it should hallucinate and give nonsensical answers often, as it is ChatGPT.
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#78I asked aider to use the new GPT-4 Turbo to: Write a bash script to check Wikipedia for all acronyms of length 1-6 to find those which aren't already in use. It did a fairly smooth job of it. See the chat transcript [0] and resulting bash script [1] with git commit history [2]. It fell into the initial trap of blocking while pre-generating long acronyms upfront. But a couple gentle requests got it to iteratively stre…
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#79Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#80Pedantic, but gwern is looking for initialisms, not acronyms. Acronyms are pronounced as a word. https://www.merriam-webster.com/grammar/whats-an-acronym
> looking for initialisms, not acronyms Imprecise wording, initialisms are a case of acronyms, it's not either or. https://wwwnc.cdc.gov/eid/page/abbreviations-acronyms-initia... "an initialism is an acronym that is pronounced as individual letters" https://www.writersdigest.com/write-better-fiction/abbreviat... "As such, acronyms are initialisms."
The CDC one seems to say that initialisms are a class of acronym, but the Writers Digest one says acronyms are a class of initialism.