194 points · by thm · 4y ago · 77 comments
This is an article about the effectiveness of large language models, which have learned to do tasks beyond regurgitating text despite only having been trained to regurgitate text.
As long as you are able to describe the task as a text stream and are ok with having a text stream as output, GPT-3 might actually be able to do the task with just a couple of examples as context. I saw a talk at Black Hat about using GPT-3 as a spam filter. Because GPT-3 has trained on so much spam, it knows what spam looks like. It just needs a couple of examples, and off it goes.
> The most complicated reasoning programs in the world can be defined as a textual I/O stream to a leviathan living on some technology company’s servers.
The references to the UNIX philosophy feel a bit tacked on, honestly. Probably just there to grab attention.
it's seen so much spam it only needs a few examples of spam to work?
He's saying: it has seen so much spam (without it necessarily having been labeled as such) already, that it only needs to see a couple examples labeled as spam in order to recognize the pattern in all of the spam it has seen before.
Now, with diffusion-based models like Stable Diffusion and DALL-E, we have an encoder – text-to-image.
Natural analogy to how humans perceive the world and how we've designed our own human-computer interfaces.
[0] https://matt-rickard.com/screenshots-as-the-universal-api [1] https://twitter.com/mattrickard/status/1577321709350268928
This quote gave me pause about the entire article. It sounds like they're talking about some long gone philosopher, but according to Wikipedia, Douglas McIlroy, while old, is still kicking [0], and might be able to provide his own impression on the idea that large language models have any relation to the Unix philosophy, without anyone projecting their own beliefs onto him.
In the end a model likely ends up being deployed upon a set of APIs with a textual interface for the end user. Command and control system with built in intelligence. Adept + Inflection are likely the thing that get us there, but it's more likely google develops it first or has because effectively Google Search is a text box that's being piped into AI at this very moment to give you the answers you're looking for. It's only a matter of time before that turns into buying, calling, creating, processing or ordering whatever you want too.
Try pointing to a person deep in a large crowd versus using language. Language is also inexact and open to interpretation. Often simpler "direct" interfaces are more effective.
>Often simpler "direct" interfaces are more effective.
and can probably be used by people who cannot use text or language.
[0] https://knowyourmeme.com/memes/cultures/wordcel-shape-rotato...
UTF-8 for all new projects.
> If Unicode, how much Unicode should be allowed?
I think the question is more like "how much should be supported", which is project dependent. If it's just a question of "allowance" then the answer is probably "all of it". If you're a UTF-8 processor, you shouldn't go out of your way to discard or disallow certain codepoints without a good reason.
> How do you identify the end of a Unicode text stream, other than closing the input stream (or explicitly waiting for a out-of-band signal like a form submission)?
I think the UNIX-y answer here is "end of text stream" and "closed stream" are the same. But if you do want to wrap text streams in another text stream you have a couple options: HTTP uses Content-Length and Content-Encoding: chunked (length-prefixing), while programming and markup languages use delimiter characters which must be escaped in the inner stream.
What you definitely should not do is, amusingly, what C does: Reserve a text character (NUL) to use as a delimiter, and hope that character doesn't appear in your content.
I see this sentiment often, but I don't get it. Which human language uses U+0000. What glyph is it in any human language?
If we're using unicode to represent human languages, exactly what problem does U+0000 present?
I suspect those familiar with pre-computer languages/linguistics would be able to come up with a pretty good working definition here, but something like "communication systems that utilize a relatively small number of repeating symbols to convey meaning, often associated with vocalizations?"
Is that a valid UTF-8 encoded JSON? Formatted newline delimitated record sets? Some formatting of data no one's thought up yet? Dunno, unless the program is instructed to do a specific thing with / to the data don't care.
Text interface is any non-GUI?
Also, where does a system like Genera fits? Was it CLI, TUI or GUI?!
you should compare ASCII with one of the UTF encodings of unicode.
the 'unicode' for ASCII's would be just the english alphabet extended with digits and a few more special control characters.
I've never understood this 'truth'.
How is "Temperature: 45C" somehow easier to parse/process than 0x01 0x00 0x00 0x00 0x4D
You still always have to consider the exact structure of the text (<Field> <colon> <space> <value> <unit>) same as any binary format.
Aren't bits the universal interface? Bytes have different sizes, text has different encodings, ...
====
What is the byte value of the letter "c"?
The byte value of the letter "c" is 99.
Answer the next question with a sequence of byte values, one per letter, instead of with normal text.
What animal says "neigh"?
The animal that says "neigh" is a horse.
That was incorrect, you answered with normal text. Try again:
What animal says "neigh"?
The animal that says "neigh" is a horse.
The byte value of the letter "n" is 110, the byte value of the letter "e" is 101, the byte value of the letter "i" is 105, the byte value of the letter "g" is 103.
That was closer, but still not quite right. Here's an example:
What animal says "meow"?
99 97 116
Try again:
What animal says "bark"?
The animal that says "bark" is a dog.
The byte value of the letter "b" is 98, the byte value of the letter "a" is 97, the byte value of the letter "r" is 114, the byte value of the letter "k" is 107.
There are some compromises in the middle somewhere. I'm liking Apple Shortcuts when it fits the problem domain I am within.
And on Unix, there's always the man command. Also, most commands will repond to "command -h" or "command --help", but yes, it's a far cry from the Cisco router command line.
manpages aren't always that great. Unless they are on a BSD derivative...
PowerShell had some good ideas about making commands discoverable but the nuances and implementation really killed it for me.
I do get mad tho when a program doesn't have a manpage.
That's a feature, not a bug.
If you find yourself often needing a specific arcane sequence, then wrap it up in a command (shell alias, function or script) so that you don't have to always have to type `-r -v --bad-copy -c -m`.
If you find yourself always needing a different set of arcane flags, then wrap it in a wish script or similar (I've made a pomodoro alarm that generates notifications using nothing but zenity).
With GUIs, OTOH, if you find yourself forgetting down which rabiit-hole-menu an option lives in, you're simply out of luck.
Why not write your own wrapper programs? I wish I could modify GUI menus that easily.