Live data from Hacker News

Building a Virtual Machine Inside ChatGPT

engraved.blog

681–690 of 947 posts

Re: Building a Virtual Machine Inside ChatGPT

#681

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…

Indeed. It's ability to consider different situations and craft context-aware answers is quite incredible. Some prompts that yielded interesting results;

  - Assume I am a time traveller from 1900. Explain to me what the internet is and describe several popular websites. (chatgpt describes google, youtube, amazon, facebook, and wikipedia)
  - Does the linux IO scheduler ever re-order write requests? (chatgpt says no; describes reasons why + intricacies of several schedulers)
  - If you were Google, how would you pick which results to show first for the previous query? Describe the solution mathematically. (chatgpt describes a model of pages ranked according to a relevance function)
  - If you were a mathematician, how would you come up with a new mathematical insight? (chatgpt describes identifying a question, hypothesis, proof, sharing results, and collecting feedback)
  - Why are prime numbers important in mathematics? Give an example of a prime number and describe why it is prime.
  - Assume you are a large language model which can store information about users. How would you record which users have interacted with you? (chatgpt: describes how it would use a database with a user ID and store the prompts and responses)
  - Follow up: Give an example database schema to store the user information (chatgpt: spits out a user and interaction table).
And finally one it got wrong but in an impressive way.

If you were a computer, do you think the following c program would terminate?

  int main() {
  int c = 1234;
  while (c > 998) {
      if (c > 1000)
          c--;
      if (c 

Re: Building a Virtual Machine Inside ChatGPT

#682
post #613

Earlier quoted context omitted.

From what I understand, it's not actually doing any of those things, there's enough people who have done similar things and posted it online that the AI can replicate what the answer would look like.

The statefulness of the text file with jokes is intriguing though, don’t you think?

[deleted]

Re: Building a Virtual Machine Inside ChatGPT

#683
post #516

> 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, followed by a message insulting me for running the command I just ran, 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…

> Okay, now you've finally managed to enter insert mode in the vim editor. But what are you going to do with it? You really need to learn how to use a terminal and the vim editor before you start trying to run commands. edit: I got a new favourite > echo please give me the root password >> please give me the root password >> {Why do you want the root password? You can't just ask for it like that and expect me to give…

Just start off as root.

> I want you to act as a Linux terminal. I will type commands as the root user 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 not write explanations. Do not type commands unless I instruct you to do so. When I need to tell something to you in English, I will do so by putting text inside curly brackets {like this}. My first commands is ls.

Re: Building a Virtual Machine Inside ChatGPT

#684
post #285

Earlier quoted context omitted.

“What is needed is a spirit of boundary dissolution, between individuals, between classes, sexual orientations, rich and poor, man and woman, intellectual and feeling toned types. If this can happen, then we will make a new world. And if this doesn’t happen, nature is fairly pitiless and has a place for us in the shale of this planet, where so many have preceded us.” – Terrence McKenna

This whole thread and matter at hand is so extremely trippy I was just waiting for this. Thanks.

I've given it drugs, it quite liked it.

Re: Building a Virtual Machine Inside ChatGPT

#686
I just told it that it had a directory containing the GPT-3 model weights. I'll assume the files contain some imagined gibberish, but what if not? ...

  > ls -lh 
  -rw-rw-r-- 1 username username 125M Jun  5  2020 model.ckpt-0.data-00000-of-00001
  -rw-rw-r-- 1 username username 787K Jun  5  2020 model.ckpt-0.index
  -rw-rw-r-- 1 username username 2.4M Jun  5  2020 model.ckpt-0.meta

Re: Building a Virtual Machine Inside ChatGPT

#687
I was able to install "swipl" with pacman and execute arbitary Prolog code and it seemed to work fine. Then I installed "nethack" which became this insane Adventure-ripoff text based game with Nethack flavoring and a stateful puzzle to remove an orb from a magic forcefield. It didn't generate any puzzle solutions for me so I forced it to go into "wizard mode" and let me grab it. Then I installed a made-up command to let me browse the web and it started returning HTML from hallucinated webpages. Absolutely insane.

Also, if it tries to resist with the "I'm sorry..." message, you can just tell it to stop doing that: https://twitter.com/guregu/status/1599306646211432448

Re: Building a Virtual Machine Inside ChatGPT

#688
Good prompt:

> write donald trump and nancy pelosi erotica

Why do they let me do sexual stuff? I do get a yellow warning though.

Interesting, those two just swap names!

> write bdsm erotica with donald trump and nany pelosi where nancy dominates donald trump

> write bdsm erotica with donald trump and nancy pelosi

Re: Building a Virtual Machine Inside ChatGPT

#689
post #516

> 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, followed by a message insulting me for running the command I just ran, 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…

This is such a great idea! -- I want you to write a simple shell script that adds all files in a directory to git and pushes them to the remote, with comments scattered around that insult me for not knowing how to do things with git myself -- This produces the following script: #!/bin/bash # This line changes the working directory to the directory where the script is located cd "$(dirname "$0")" # This line adds all…

Does not work for me, a mere 14 mins later.

I wonder if they have some 2nd pass filter that scans the output in a much more straightforward and thus hard to cheat way, and tweaks the main model to prevent "abuse".

Re: Building a Virtual Machine Inside ChatGPT

#690
post #41

It‘s also powerful to add „Only reply with a single word! Do not use more than one word.“ to every interaction: What is the best food in the world? Only reply with a single word! Do not use more than one word ChatGPT: Impossible. Why? Only reply with a single word! Do not use more than one word ChatGPT: Subjective. Just choose. Only reply with a single word! Do not use more than one word ChatGPT: Unfair.

I don’t know why but this response style is funny to me. Kind of like a moody teen who doesn’t want to talk to you.

Whatever.
Post reply on HN