Show HN: BBC “In Our Time”, categorised by Dewey Decimal, heavy lifting by GPT (opens in a new tab)genmon.github.io
688 pointsIn Our Time has almost 1,000 episodes on everything from Cleopatra to the evolution of teeth to plasma physics, all still available, so it's my starting point to learn about most topics. But it's not well organised.
So here are the episodes sorted by library code. It's fun to explore.
Web scraping is usually pretty tedious, but I found that I could send the minimised HTML to GPT-3 and get (almost) perfect JSON back: the prompt includes the Typescript definition.
At the same time I asked for a Dewey classification... and it worked. So I replaced a few days of fiddly work with 3 cents per inference and an overnight data run.
My takeaway is that I'll be using LLMs as function call way more in the future. This isn't "generative" AI, more "programmatic" AI perhaps?
So I'm interested in what temperature=0 LLM usage looks like (you want it to be pretty deterministic), at scale, and what a language that treats that as a first-class concept might look like.
Comments (171) 49 threads
Earlier commentsTaxonomies are inherently limited -- I love this portion of the talk "Everything is Miscellaneous" about Melvil Dewey: https://www.youtube.com/watch?v=x3wOhXsjPYM&t=1206s
Surely some things fit equally well in more than one category.
Have you considered asking for best two or three categories, and placing the episodes in multiple locations? Or would that be too noisy?
I suspect I’ll need a more mechanical approach, long term.
Prompt: https://imgur.com/YtQ4fbf --
Reveal the question marks in an interesting way:
The dog goes ????????????? --
With temperature == 0, it consistently ("pretty deterministically"?) generated "woof!"
ex. The dog goes woof!
But the prompt is parameterised. The bulk of the prompt is requesting a list of guests and speakers to be extracted, and the episode synopsis is appended as the "parameter". And I've noticed that the variation of the parameter changes what the overall prompt returns... so it might start being less reliable at responding with valid JSON, for example.
So it's instance-deterministic but, across a range of parameters, class-fuzzy, if that makes sense?
It could be 46C/115F outside and you say "wow, today is unbearably hot", to which someone retorts "nah, it's fine. It's not the hottest day". That's pretty good hedging. You can make infinite technically correct statements this way without ever saying anything meaningful
Mid twenties Hiberno-English speaker here and that's always been a fairly common form of hedging, and I've not noticed an increase.
It's mentioned briefly in the OpenAI text completion guide: https://platform.openai.com/docs/guides/completion/introduct...
If you have two possible tokens with probability 40% and 30%, you'll always get the 40% token at T=0. But if you have two possible tokens at 40% and 39.99%, you may get the 39.99% token on occasion, even if at T=0. (Numbers illustrative.)
Continue this thread — 1 reply
All comments shown.
Couldn't load more comments. Check your connection and try again.