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

mattlondon5 replies#
Finally, my interest in LLMs is piqued!

Seems like everyone has been getting excited around the search or code-generation use cases ... or simply trying to make it say naughty things (boring, not interested, wake up in a few more years), but this is eye opening.
The idea of this as a "universal coupler" is fascinating, and I think I agree with the author that we are probably standing at an early-90s-web moment with LLMs as a function call (the technology is kinda-there and mostly-works, and people are trying out a lot of ideas ... some work, some don't).
My mind is racing. Thanks for the epiphany moment.

ketzo1 reply#
It’s awesome for formatting and structuring.

Copy and paste a bunch of styled JS components -> get back out a single CSS sheet
Paste in a markdown document -> get out the same thing in HTML
Fun stuff like that.

chaxor1 reply#
Ah yes, you now too can have the wonders of pandoc - now on sale! Retail pandoc price of 20MB, now selling for only 3TB with the exclusive offer of ChatGPT!
seagullriffic#
I don't want to be mean, but this seems like the famous Dropbox/rsync comment.

The value here is how easy it is, and the fact that a generalised model can take the place of a (well-engineered) specialised tool.

v7n3 replies#
Bit of a tangent but I also predict an explosive demand for parametric AI-first design and simulation software.

OpenSCAD works right now in the sense that the produced source is valid, but asking for even something well documented e.g. an AR-15 lower receiver does not impress.

TaylorAlexander1 reply#
I did not realize it could do that. I asked it to generate a cube with a hole through the center and it really struggled to succeed. Interesting concept though!
martyvis#
ChatGPT has a pretty good handle on G-code (the machine code to drive CNC and 3D printers). A machinist friend of mine and myself got it to write G-code to create a shape from a block of material, adding holes and arrises and so on. To top it off it wrote some decent poetry about 2 mates discussing G-code over a few beers.
fnordpiglet1 reply#
Fusion 360 has a generative AI design extension already. Never used it, I’m too much a poor to use something like that.
ewalk1531 reply#
There is a free hobby plan for Fusion 360 that I use for my personal projects.

Continue this thread — 1 reply

samplatt1 reply#
My previous boss (we were in the civil construction industry) has been saying for years that we are on the cusp of an industry-shattering breakthrough with generative engineering.

We should be able to, by now, input terrain maps, account for local water ways & rainfall, and Autodesk's Brobdingnagian suite of tools should be able to spit out a whole new suburban package, engineered to local country/city engineering standards.
The main thing that's holding is back is the complexity of engineering standards, and its implementation in the software. But all that'll take is time & money.

brutusborn2 replies#
I'm about to start work in this space. Some companies are getting close to full building automation, Augmenta seems to me to be closest / have the best approach. [0]

Although the complexity of building standards is a challenge, the speed and quality of various generative algorithms are still major limitations.
[0] https://www.augmenta.ai/

Continue this thread — 2 replies

nl2 replies#
We are months away from being able to do this with images too.

All the pieces are there, and multi-modal (smallish) large language + image models are already being used in research labs; eg MS Kosmos-1[1]. Check out the visual IQ test results in the paper.
Kosmos-1 is only 1.6B parameters. When that or similar models scale out to 50B_ params they will be pretty amazing.
[1] https://arxiv.org/abs/2302.14045

chrisweekly1 reply#
Linked article / brief mentions interleaving of text and images as essential for certain kinds of learning; that particular intersection reminds me of the profoundly compelling multimodal book by Nick Sousanis, "Unflattening". Highest possible recommendation.

https://en.m.wikipedia.org/wiki/Unflattening

EZ-Cheeze1 reply#
That is the truly mind-blowing thing that's coming.

I am currently creating reference images for a game which I expect within 6-12 months I'll be able to feed into a multimodal ChatGPT to create 3D assets out of the 2D pics.
We'll be able to conjure up worlds at a whim - so start imagining them already!

basch4 replies#
Mark gets a lot of flack for metaverse, but can imagine world design where you start in a blank room and describe what you want around you, and it appears. Like the Matrix loading white room. And with voice recognition and eye tracking (and brain scans), how close are we to “you have to use your hands? It’s like a baby’s toy.”

Continue this thread — 4 replies

basch1 reply#
I remember having that epiphany in 2017, reading the original google transformer press release. I remember thinking “they taught computers to understand!, and someday soon i’ll be able to translate anything into anything.” And not like translating “languages” but translating contexts and concepts.

LLMs really shine when you try and combine two previously untouched things or map one bit of knowledge it a common pattern. Eg “summarize Mary Shelly’s Frankenstein as if it was an episode synopsis of Magic School Bus.” “Now do the same for Dracula.”
I remember my mind racing so much that day. With all the ideas of things it would unlock. And I still managed to under imagine just how many different types of knowledge, and different layers of knowledge and language, they would be able to encode into one compact dataset.

novaRom1 reply#
LLMs will be used to discover "not so obvious" connections in science. I think we will see first scientific discoveries done by LLMs very soon (in fact, such works are probably already happening). Expect major breakthroughs in physics, math, cosmology, biology, etc. published in Nature and authored by LLMs.
OOPMan#
Cranking that hype level to the next stage eh?
JRagone#
This is where I see the Semantic Web, semantic interoperability, and ontology alignment spaces coming to life. Who needs to standardize data when you can stick an AI in the middle of two services to do the translation for you? And then suddenly the interoperability of the metaverse doesn't seem so insurmountable. I made a post last summer that speculated on this, but I didn't think this future was so near. Or even possible really.

https://en.wikipedia.org/wiki/Semantic_Web
https://en.wikipedia.org/wiki/Semantic_interoperability
https://en.wikipedia.org/wiki/Ontology_alignment
https://metaverse-research-590.web.app/posts/communication/

genmon6 replies#
Some unlinked features...

If you put the Dewey division in the URL, the directory auto-opens. e.g. here are episodes about prehistoric life (my current jumping-off point)
https://genmon.github.io/braggoscope/directory#560
There's a visual map of episodes. After principal component analysis of the episode embedding vectors, these are the most significant two components as the x,y
https://genmon.github.io/braggoscope/map.html
(it's not super useful tbh -- e.g. the Manhattan Project and the Cambrian Explosion have the same x,y... presumably because they are both about explosions?)
Many episodes have a reading list, and these are all linked to Google Books (so you can purchase/check out from a library), e.g. this episode page
https://genmon.github.io/braggoscope/2022/10/20/the-fishtetr...
There are ~4,600 books, and I have ~88% coverage on getting a Google Books page from the original data. Any ideas about what to do with this big list of academic-recommended books v welcome!

CrypticShift1 reply#
Excellent! I'd love to see a script that sends a list of "descriptions" (1-100 words) to ChatGPT and directly gives you back a ready-made (embedding vectors closeness) map in a (textual) graph/chart format (like your above map or your plot https://interconnected.org/more/2023/02/in_our_time-PCA-plot...)
genmon4 replies#
It turns out that "closeness" is usually hard to visualise/explore when you're dealing with a 1,000-dimensional space... and PCA has the failures mentioned above.

It's weird -- it's locally useful to navigate, and at a high level kinda useful, but only if you squint and don't look at the problems. So I feel like a fisheye visualisation would be appropriate? That's something that I'm exploring in other projects.

gwern1 reply#
I wouldn't necessarily reach for PCA. No reason to think that the first two principal components necessarily encode anything particularly interesting. If you want to lay out each point in 2D in a way which keeps similar points nearby, something like t-SNE is worth a try - visualizing embeddings is what it was invented for.

Continue this thread — 1 reply

nl#
TSNE or UMAP (as others have mentioned) is good but also take a look at the tensorflow projector. You can host your own and/or pass custom data to it.
PeterisP#
The word game of 'semantle' (https://semantle.com/) is a nice way to get an intuitive grasp of how unintuitive the closeness in a highdimensional space is, as you're required to guess a word based on it's semantic similarity (according to classic word2vec metric) to your previous guesses.
p0pcult1 reply#
Love the visual map. What does color mean? Any way to do a 3rd PC, and put the visualization in a cube one can toy around with?
genmon1 reply#
Colour is the 3rd component -- I wanted to see the difference between overlapping episodes.

As for the 3D plot... here you go!
https://interconnected.org/more/2023/03/in_our_time-PCA-3D-p...
Basic PCA + Plotly is actually in OpenAI's official Python library (in `embedding_utils`) -- this plot is just the output from that.

p0pcult#
:D this made my day.
sacrosancty#
Your PCA is awesome. The horizontal axis seem to go from people (high level nature?) on the left to physics (low level nature?) on the right, while the vertical axis seems to go from individuals and particles (small things?) at the bottom, up to civilizations and the universe (big things?) at the top. Maybe the Manhattan Project and Cambrian Period (not explosion) are together because they're both big things in their fields and physics and evolution are near each other horizontally?
flir1 reply#
This is great. I'll certainly be thinking of "classification" uses for ChatGPT in the future.

Thinking out loud: Add the experts, not just the reading lists. They're a jumping-off point into academic-paper-space. What have they published? In what journals? Who have they collaborated with?

fnordpiglet4 replies#
Here’s a powerful use - content moderation. Today we literally traumatize content moderators with the dregs of the human mind. Chatgpt is fairly good at identifying the classification of content on many dimensions, including the ones it’s actively screens for. Regardless of how you personally feel about content moderation, I would be happy to see humans not have to be actively involved in it and face the traumas they must live with for where the moderation happens. I’m sure it’ll get things wrong, but humans do too.
chezelenkoooo#
I'm sure I remember Zuckerberg talking about this very thing in one of the Congress interviews he had.

I don't disagree with you, the content producers are always going to outnumber the moderators by a massive margin. It makes reasonable moderation very difficult.

nl#
OpenAI have a content moderation endpoint for this too.

Continue this thread — 1 reply

amiga3861 reply#
Automating your moderation policies is a cop-out. It isolates you even further from the peons whose lives you're controlling.

European humans have the right for any automated decision affecting them to be reviewed by a human. We do not want a world where a tiny handful of people, getting fewer by the day if it's Twitter, have untrammeled control over what billions of people can say, see or do. We can't let businesses do what they like, change their policies on a whim and have it instantaneously applied by automatons, if it's bringing misery to millions of people.
Remember those old-fashioned things called laws? Courts? Judges? Legislators? The things we used to use for deciding what people could/couldn't do, before tiny companies with billions of users applied their own de-facto laws with no oversight, governance or accountability. Move fast and break things!

Continue this thread — 1 reply

Tarq0n#
Love the plot, for high dimensional embeddings try UMAP for a better result, maybe T-sne too if you're interested in clusters.

Continue this thread — 1 more reply

astroalex4 replies#
I love this project!!

Ever since my partner and I discovered In Our Time a few years back, it’s been our go-to podcast to listen to together. Part of the allure is that the archive is so vast, but that makes it hard to browse.
My partner made her own archive of In Our Time here, if you’re interested: https://shelby.cool/melvyn/
She used Wikipedia to find and categorize each episode. I also really like that she indexed episodes by guest, too. Certain guests are REALLY good and have been on many episodes.
Super excited to see someone else make an archive; we’ll definitely be exploring yours!

Continue this thread — 4 replies

DC-312 replies#
Nice project OP. I also love In Our Time.

Some favourite episodes off the top of my head:
* Wilfred Owen - https://www.bbc.co.uk/programmes/m001df48
* The Evolution of Crocodiles - https://www.bbc.co.uk/programmes/m000zmhf
* The May Forth Movement - https://www.bbc.co.uk/programmes/m001282c
* The Valladolid Debate - https://www.bbc.co.uk/programmes/m000fgmw
* Gerard Manley Hopkins - https://www.bbc.co.uk/programmes/m0003clk
* Henrik Ibsen - https://www.bbc.co.uk/programmes/b0b42q58
* Wuthering Heights - https://www.bbc.co.uk/programmes/b095ptt5
And finally, in which three mathematicians heroically attempt to explain asymptotic analysis to (septuagenarian novelist and cultural broadcaster) Melvyn:
* P v NP - https://www.bbc.co.uk/programmes/b06mtms8

Continue this thread — 12 replies

Load more comments