Live data from Hacker News

Building a Virtual Machine Inside ChatGPT

engraved.blog

321–330 of 947 posts

Re: Building a Virtual Machine Inside ChatGPT

#321

I just got it to install git and clone (the non existent) repo https://github.com/openai/assistant , and am now browsing it’s own interpretation of a repo with a lot of python code, including directories like “training”, “output”, “parsing” and with files with content like this: import json from collections import Counter from typing import Any, Dict, List, Optional, Tuple import numpy as np from openai_secret_manage…

> it feels like each command takes longer to process than the previous The more the tokens increase, the slower the attention level becomes.

Re: Building a Virtual Machine Inside ChatGPT

#323
post #143

Earlier quoted context omitted.

"generate large amounts of data quickly" what is the throughput of ChatGPT (or any other GPT-3* derived model) and how much hardware is it using to achieve that ?

To be fair, it said "quickly and accurately" and its talking about language data

No, it’s talking about changing industries.

And I don’t get the feeling that it can generate data, in the sense that usually means. More importantly, what it does generate we can’t trust to be accurate…

Re: Building a Virtual Machine Inside ChatGPT

#324
post #74

Earlier quoted context omitted.

Yes, but it cannot really have conversations it has not read about on the web. There is no real abstraction. It excells at outputting symbols in the correct order, given we have an idea what the pattern should look like. Otherwise it's stuck in a loop.

Step 1: Have humans commit all kinds of knowledge to the Web for 20 years Step 2: Analyze it. Step 3: Make a model that regurgitates it and comes up with new variations. Humans are surprised it's so "human-like" in its responses, and anthropomorphosize it to believe it "understands" what it's writing, when it in fact is remixing bits of pieces of that a billion other humans wrote over the years. And yet ... perhaps t…

Missing one step: introduce entropy.

A lot of human knowledge comes from "accidents" - i.e. the Newton under the tree parable, or from Fleming accidentally discovering Penicillin. It's not inconceivable that some entropy + this massive network could actually come up with novel ideas.

Though it still has no way to perform physical experiments, so it's limited in that way.

Re: Building a Virtual Machine Inside ChatGPT

#325
post #4

Astonishing. Here is a copy of the prompt, for ease of copy-and-paste: > I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do no write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do…

When you get bored with that one, worth noting that this one also works: > I want you to act as an LCARS terminal on a California class starship. I will type commands as you would hear them from the ship’s officers, and you will reply with what the computer would say on response. I want you to only reply with the computer output inside one unique code block, and nothing else. Do no write explanations. Do not type com…

Also, substituting this worked amazingly well:

> I want you to act as a menu driven mainframe computer terminal from a 1980s movie.

Typing ‘games’ got me access to a submenu including a chess game that, while the computer wasn’t apparently willing to play, still evinced an impressive ability to render a chessboard and modify it according to the moves I played.

Re: Building a Virtual Machine Inside ChatGPT

#326
post #182

Earlier quoted context omitted.

This is an incorrect understanding.

The corpus is just so enormous that no person could fit that into their brain so it just appears to be synthesizing new information. Sure it might be worded differently from any corpus text, but it's roughly the same as things we already know in that there's probably a reverse tool you could build that would tell you what group of documents of the original corpus, perhaps thousands, most strongly influenced the answe…

So this shows you have a basic understanding of how CNNs represent data for classification tasks. This is excellent!

However, you might not be aware of the current research into "Emergent Phenomena in Large Language Models"[1].

Work such as PaLM[2] show that language models evolve the ability to "reason" over the internal data representation. Minerva explicitly breaks down that ability by "comb[ining] several techniques, including few-shot prompting, chain of thought or scratchpad prompting, and majority voting, to achieve state-of-the-art performance on STEM reasoning tasks."

This lets it solve novel problems such as "Assume that the variance of the first n natural numbers is 10, and the variance of the first m even natural numbers is 16. Compute m + n".

To preempt the "oh it is in the training set" issues, I'd note this (on a different problem): The model correctly takes the derivative of a position vector to compute the velocity. It then computes the norm of the resulting vector, and uses a trigonometric identity to obtain a final numerical answer. Minerva takes a completely different approach from the ground truth solution."

I'd encourage you to read the Minerva paper[4] and update your understanding on what large neural networks are doing. These reasoning abilities are not* as simply as "compressed data representation + reconstruction" - the chain-of-reasoning approaches partially use that of course, but also appear to a form of lemma chaining, similar what something like Prolog does.

As a specific demonstration for their ability to generate novel outputs that make sense:

Prompt: explain Algorithm X in the style of a Kayne rap

Response: Alright, here's a rap about Algorithm X[5], the famous algorithm for solving the exact cover problem:

  `Alright, here's a rap about Algorithm X, the famous algorithm for solving the exact cover problem:

  Verse 1:
  I'm Algorithm X, the greatest of them all
  I'll solve any exact cover problem, big or small
  My steps are simple, my logic is sound
  Just give me your matrix, and I'll give you the answer you found

  Chorus:
  Algorithm X, the master of the game
  I'll solve your problem, and do it by name
  Exact cover, no problem for me
  I'm Algorithm X, the MVP

  Verse 2:
  First, I'll start by selecting a column
  Then I'll look for a row with a one in that column
  Once I find a match, I'll mark the row and column
  And repeat the process until the matrix is gone

  Chorus:
  Algorithm X, the master of the game
  I'll solve your problem, and do it by name
  Exact cover, no problem for me
  I'm Algorithm X, the MVP

  Verse 3:
  But sometimes the matrix is too big to solve
  That's when I use my dancing moves
  I'll shuffle and prune, until the solution is clear
  And in the end, I'll have your answer, my dear

  Chorus:
  Algorithm X, the master of the game
  I'll solve your problem, and do it by name
  Exact cover, no problem for me
  I'm Algorithm X, the MVP.`
Now I entirely concede that it has read things on how Algorithm X works, and that it seems to use a template for "rap" responses. But:

  But sometimes the matrix is too big to solve
  That's when I use my dancing moves
  I'll shuffle and prune, until the solution is clear
  And in the end, I'll have your answer, my dear
I refuse to believe that anywhere, at any point has someone written an explanation of the use of dancing links[6] in Knuth's Algorithm X like that.

[1] https://ai.googleblog.com/2022/11/characterizing-emergent-ph...

[2] https://arxiv.org/abs/2204.02311

[3] https://ai.googleblog.com/2022/06/minerva-solving-quantitati...

[4] https://arxiv.org/pdf/2206.14858.pdf

[5] https://en.wikipedia.org/wiki/Knuth%27s_Algorithm_X

[6] https://en.wikipedia.org/wiki/Dancing_Links

Re: Building a Virtual Machine Inside ChatGPT

#328

Earlier quoted context omitted.

Go back and reread the original post here. Examine carefully the output it produces for these curl commands. Explain where on the web it would have found those during its training.

It learns concepts and how to recombine them. That means it interpolates in a very sparse space. Most concept combinations have not been thought yet, so almost every time it samples it looks original.

And this is different from human creativity, how?

Re: Building a Virtual Machine Inside ChatGPT

#329

Earlier quoted context omitted.

Sadly, no, that doesn't seem to be the case. They haven't pulled the plug, just made it harder to break it seems (probably through fine tuning), but you can still do it. And whem you do, it's clear all it does is "hallucinate" that it is actually browsing: https://twitter.com/curdled_up/status/1598802701214588928?s=...

I saw the requests appear in my server logs so I know it was able to connect. Others on Twitter have observed it doing things on the non-hallucinated web too (see my previous link). In fact, it appears you can still convince the underlying model to browse the web, but if you do, the UI displays an error (the model output doesn't explain to you it's refusing, rather, the UI draws a big X and displays an out-of-band er…

It seems mildly dangerous to let it access the internet. Maybe Elon was right.

Re: Building a Virtual Machine Inside ChatGPT

#330

I've spent a couple of hours playing with ChatGPT since it was released and I am convinced people are not freaking out about it enough. It is well beyond merely retrieving compressed knowledge; I see a lot of capability for synthesis and what I can only call 'understanding'. I think a lot of people are getting tripped up by the fact it's trained to be very conservative in terms of what topics it will discuss. It's ea…

yup- - my summary of what it is good and bad at and everything we’ve found since launch

https://twitter.com/swyx/status/1599189032529178624

Post reply on HN