Lurker News
I'm a big fan of the BBC podcast In Our Time -- and (like most people) I've been playing with the OpenAI APIs.

In 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 comments
specproc2 replies#
I love In Our Time, a real BBC gem.

I've been meaning to pull all the audio for a while and this has inspired me.
A fun thing to do would be to pass through Whisper, a great corpus to play with.

genmon2 replies#
I've been considering this, but my assumption is that it would be tripped up by the specialist words.

I wonder... is there a way to "prime" Whisper (e.g. with the embedding of the episode synopsis) so that it "listens out" for words related to a particular topic? I haven't looking but this would be neat!

taberiand2 replies#
I haven't tried, but the Open AI docs mention priming on the whisper model being available

    prompt
    string
    Optional

    An optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language.
genmon#
I hadn't noticed that, very much appreciated.
coder5431 reply#
In my experience, Whisper does a great job even with specialized terminology. It won't catch everything, but I think it will exceed your expectations. One of the hardest things about Whisper is choosing which model to use; they offer a variety of sizes, and sometimes the smaller ones do better than the larger ones. It's worth trying a few different models and deciding what is best for each particular application.

I will also say that I've personally been unimpressed with the new "large-v2" model, even though it supposedly scores better. The original "large-v1" model seems to work better than the "large-v2" model in the audio clips I've been testing Whisper against, but results will vary. In general, I find I'm really happy with what "small.en" and "medium.en" will emit, and they're much faster than the large models. (The ".en" models are specialized to English, and usually perform better for strictly English input, whereas the non-".en" models are trained on multiple languages.)

Continue this thread — 2 replies

jack_riminton1 reply#
In Our Time has been a life-long companion, one of things that makes me proud of the BBC
jack_riminton#
That NewYorker summarises it nicely. I can’t stand the over-produced stuff on NPR for example. In Our Time has no politics, no hook to get you listening for the next episode. It’s just a lovely small window into academia. Above all it makes things simple without dumbing it down
gerdesj#
"It’s just four intelligent people in a studio, discussing complex topics that are, as a friend of mine once said of Bragg’s openers, aggressively uncommercial."

Nicely put by the New Yorker.

genmon1 reply#
Just to make sure that others see this, I found your clustering technique super interesting and very effective, and something I want to try myself. Your technical writeup is here:

https://weekendcollection.substack.com/p/technical-details
(Recursive coarse clustering as opposed to one-shot fine clustering.)

theodorewiles#
thanks!
valgaze2 replies#
This is a really interesting use-case

Applying "transformations" or classifying data in this way without having to setup a lot of detail-work seems like a real labor-saver/multiplier

lerchmo#
My company has gone years wanting our product catalog to have structured data around our products but not going through the tedium of extracting it all. about an hour of prompt tweaking and it can pull, normalize, summarize and output valid json from all of our products. Basically pulling it out of a big unstructured html blob.
genmon#
I've started thinking about LLMs as a "universal coupling", if that makes sense? It's wild to be able to conceive of APIs to plain text, and natural language queries on structured APIs, but that's what we've got.

My mind was really opened by Nat Friedman's work in GPT for browser automation: https://github.com/nat/natbot
And of course using langchain/ReACT.
So different from ChatGPT and (imo) way more intriguing.
mentioned in this blog post: https://interconnected.org/home/2023/02/07/braggoscope

Load more comments