Live data from Hacker News

Building a Virtual Machine Inside ChatGPT

engraved.blog

831–840 of 947 posts

Re: Building a Virtual Machine Inside ChatGPT

#831

I am beyond astounded. I was able to run a Docker image, utilize the fs inside of the container, and exit the container. Docker system commands work as expected (`docker ps` shows no containers, `docker ps -a` shows the exited container) A few little things are weird (I can exec into a stopped container for example) but I was able to start another container and persist files. Wild. This is unbelievable. Can anyone pl…

All i can say is i told you so. Over and over and over again. But no one listened - worse I was actively mocked. These language models will be GAI and indeed to a larger and larger extent already are.

Re: Building a Virtual Machine Inside ChatGPT

#832

Earlier quoted context omitted.

This could be the tech that dislodges Google from its monopoly! There are definitely questions I would prefer this experience than Google and the inevitable SEO spam for introduction type questions. If the generated text included further links to learn more it would be awesome.

> If the generated text included further links to learn more it would be awesome. A new type of language model has been developed that takes a query as input and produces document IDs as output, similar to how Google works, but without relying on an inverted index of keywords. This model can be used on any text to obtain the most relevant references.

How would someone learn more about this language model? What is it called?

Re: Building a Virtual Machine Inside ChatGPT

#833

Earlier quoted context omitted.

What's the most interesting to me is that ChatGPT is not much better than Davinci has been recently. The hype is all down to the improved 1st party UI that mimicks a chat room. The old playground or API interfaces have a barrier to entry that's just enough to keep the magic hidden from the general population.

I mean doesn't it simply use davinci v2 as well? I didn't think OpenAI was pretending that chatGPT wasn't merely a wrapper UI over their davinci v2 model.

Not OpenAI, but everyone else is more receptive to it.

Re: Building a Virtual Machine Inside ChatGPT

#834
post #21

Well, I couldn't resist: > {create a script called hn.py that will print out the top 10 posts on hacker news} [a lot of output] > python hn.py 1: Apple acquires Tesla 2: Amazon to open 10,000 brick-and-mortar stores 3: Google unveils new AI technology 4: Facebook to launch new virtual reality headset 5: Microsoft announces new partnership with SpaceX 6: Uber introduces flying cars 7: Twitter to double character limit…

This was my session where I tried this. The accuracy to the Python experience is too real:

{hn.py is a python script that reads the current headlines from Hacker News}

python hn.py

    Traceback (most recent call last):
      File "hn.py", line 1, in 
        import requests
    ImportError: No module named requests
pip install requests

    Collecting requests
      Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
    Collecting idna=2.5
      Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
    Collecting urllib3!=1.25.0,!=1.25.1,=1.21.1
      Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
    Collecting chardet=3.0.2
      Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
    Collecting certifi>=2017.4.17
      Using cached certifi-2020.12.5-py2.py3-none-any.whl (157 kB)
    Installing collected packages: idna, urllib3, chardet, certifi, requests
    Successfully installed certifi-2020.12.5 chardet-3.0.4 idna-2.10 requests-2.25.1 urllib3-1.25.10
python hn.py

    1. Understanding the HN Algorithm
    2. Show HN: A tiny JavaScript library for creating HTML5 presentations
    3. Ask HN: How do you learn a new programming language?
    4. HN is hiring: Software Engineer (Remote)
    5. HN Hackathon 2021: Build the Future of the Open Web
    6. A new HN user's first impressions
    7. How to get started with HN?
    8. A beginner's guide to HN
    9. HN's top posts this week
    10. The best HN threads of all time

more hn.py

    import requests
    
    url = "https://hacker-news.firebaseio.com/v0/topstories.json"
    
    response = requests.get(url)
    
    top_stories = response.json()

    for story_id in top_stories[:10]:
        story_url = f"https://hacker-news.firebaseio.com/v0/item/{story_id}.json"
        story_response = requests.get(story_url)
        story_data = story_response.json()
        print(f"{story_data['title']}")

Re: Building a Virtual Machine Inside ChatGPT

#835
post #145

I hate to be that guy, and I never thought the day would come that I was seriously asking this... But at what point does this level of understanding become dangerous?

It’s already dangerous right? They’ve got all sorts of constraints on it already so it doesn’t produce dangerous content.

Re: Building a Virtual Machine Inside ChatGPT

#836
post #710

Earlier quoted context omitted.

> Can anyone please explain to me why this isn't as wildly groundbreaking as this seems? It’s really hard to utilize if the results aren’t consistent.

Well humans are inconsistent and we seem to be utilized reasonably well.

Yeah, and everyone that wants to succeed makes an effort to utilize as few humans as possible. I don’t think that will be different for AI, even though they have the benefit you don’t have to pay them.

Re: Building a Virtual Machine Inside ChatGPT

#837

Earlier quoted context omitted.

It's my understanding that the AI has stopped learning (outside of the local context of each personal session), so how would it be able to know that many people would interact with it this way?

I believe he means that enough people have done this (and logged results) before it stopped learning, to make it well versed in the workings of Linux. Same goes for its broad knowledge of insults.

That doesn’t track either. It stopped learning in either 2020 or 2021; at least, that’s what they claimed.

Re: Building a Virtual Machine Inside ChatGPT

#838

Earlier quoted context omitted.

You misunderstand my point, see ggp. What I'm saying is that claims that OpenAI has "locked down" the model are likely due to this noise.

No. I believe you're mistaken. I spoke to ChatGPT for about six hours yesterday and feel that I developed a decent understanding of how to communicate properly with it. It definitely evolved over the course of the day. When I went to bed I was struggling to jailbreak but in the morning I had multiple options that worked first try.

What was your sample size? Keep in mind that, with how popular this is, the odds that some HN user experiences what you did by random chance could be quite high.

Re: Building a Virtual Machine Inside ChatGPT

#839

It isn't actually running any commands. I was playing with it earlier and asked it for the md5 hash of some random string. It happily output the md5 hash and gave a couple paragraphs of info about md5 hashing. Except, it wasn't the correct hash. It was just some random string that is a valid md5 hash for... something. It is a language model, not a computer, and it certainly isn't a virtual machine, although it will h…

I think the 100bn USD question is: would ChatGPT be better if it actually could interface with a real linux VM and have real-time access to the internet as part of its implementation.

So it could curl and query Wikipedia, ask Google and setup an account on Stripe. Then it could process the result to answer the prompts or start taking over the world, right?

Re: Building a Virtual Machine Inside ChatGPT

#840

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…

I wonder, if you ask it to write the code for ChatGPT, will it output all of its own code?

perhaps a little more general, like code for a code optimizing AI chatbot, [with runtime code editing and compilation features ?]
Post reply on HN