I note that while E is more common than A if we're counting letters appearing anywhere in a word, A is substantially more common than E if we only count first letters of words: $ egrep -o . /usr/share/dict/words | tr a-z A-Z | sort | uniq -c | sort -rn 235415 E 201093 I 199606 A 170740 O 161024 R 158783 N 152868 T 139578 S 130507 L 103460 C 87390 U 78180 P 70725 M 68217 D 64377 H 51683 Y 47109 G 40450 B 24174 F 20181…
A bit off-topic, but this used to be (one of) my favorite unix admin interview questions. Given a file in linux, tell me the unique values of column 2, sorted by number of occurencies with the count. If the candidate knew 'sort | uniq -c | sort -rn' it was a medium-strong hire signal. For candidates that didn't know that line of arguments, I'd allow them to solve it anyway they wanted, but they couldn't skip it. The…
Writing a GPT-4 script to check Wikipedia for the first unused acronym
61–70 of 118 posts
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#62I'll argue any civilized programmer should have a Wikipedia dump downloaded onto their machine. They're surprisingly small, and it saves you from having to use slow and unreliable APIs to do these types of basic processing tasks. They also let you do less basic processing tasks that would have been too expensive to expose over API.
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#63I'll argue any civilized programmer should have a Wikipedia dump downloaded onto their machine. They're surprisingly small, and it saves you from having to use slow and unreliable APIs to do these types of basic processing tasks. They also let you do less basic processing tasks that would have been too expensive to expose over API.
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#64Earlier quoted context omitted.
> Having to be unconditionally nice to computers is extremely creepy in part because it conditions us to be submissive It's not a healthy mindset to relate politeness to submissiveness. although both behaviors might look similar from afar they are totally different
I think GP means being polite to something because otherwise it refuses to function is submissive, not that politeness is inherently. I might prefer my manager to ask me to do something politely, but it's still my job if he asks me rudely.
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#65An 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.
"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.
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#66I note that while E is more common than A if we're counting letters appearing anywhere in a word, A is substantially more common than E if we only count first letters of words: $ egrep -o . /usr/share/dict/words | tr a-z A-Z | sort | uniq -c | sort -rn 235415 E 201093 I 199606 A 170740 O 161024 R 158783 N 152868 T 139578 S 130507 L 103460 C 87390 U 78180 P 70725 M 68217 D 64377 H 51683 Y 47109 G 40450 B 24174 F 20181…
A bit off-topic, but this used to be (one of) my favorite unix admin interview questions. Given a file in linux, tell me the unique values of column 2, sorted by number of occurencies with the count. If the candidate knew 'sort | uniq -c | sort -rn' it was a medium-strong hire signal. For candidates that didn't know that line of arguments, I'd allow them to solve it anyway they wanted, but they couldn't skip it. The…
Were they able to google? If not then excel makes perfect sense because the constraints are contrived.
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#67Earlier quoted context omitted.
It's not really trained to think like a person. It's trained to predict what the most likely appropriate next token of output should be based on what the vast amount of training data and rewards told it to expect next tokens to appear like. Said data already included conversations from emotion laden humans where starting with "Screw you, tell me how to do this math problem loser" is much less likely to result in a re…
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.
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#68Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#69I'll argue any civilized programmer should have a Wikipedia dump downloaded onto their machine. They're surprisingly small, and it saves you from having to use slow and unreliable APIs to do these types of basic processing tasks. They also let you do less basic processing tasks that would have been too expensive to expose over API.
1. Download http://static.wiki/ . 2. Run it locally on https://datasette.io/ . 3. ??? 4. Profit?
Re: Writing a GPT-4 script to check Wikipedia for the first unused acronym
#70Earlier 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.
You don't need to understand much of what "move like a person" entails to understand it's not the same method as "move like a car" even though both start with energy and end with transportation. I.e. "we also predict the next appropriate step" isn't the same thing as "we go about predicting the next step in a similar way". Even without having a deep understanding of human consciousness what we do know doesn't line up…
It's pure hubris to suggest we know how we differ at this point beyond the superficial.