


ChatGPT can run its own code: when you submit a request, you can directly input the running results. Netizens called it 'magic' after the internal test.
Once something written by ChatGPT has a bug, you must immediately restart a new session, otherwise its errors will begin to multiply: this feels like it is trying to hide something, which is very strange.
If you give ChatGPT a request, it can only give you a bunch of code with unknown operating effects?
Now, with just a small change, ChatGPT can not only directly turn your text requirements into code, but can also run it for you and return the output results to you!
The secret is the code interpreter plug-in.
Writer Andrew Mayne (now joining OpenAI) obtained the qualification for internal testing and tried it. The effect made him call it "magic"——
Let ChatGPT write an AI face detection program. After Andrew Mayne uploaded his own photo, it was quickly detected:
Try again and let it write a maze generation algorithm and make the path into a Pac-Man animation. It’s no problem at all:
Some netizens saw this internal beta Sigh after the article:
This is so crazy, it will change everything.
Let’s take a look at what magical “magic” Andrew Mayne discovered in the closed beta.
What magical "magic" was discovered?
As one of the most popular ChatGPT plug-ins, the code interpreter is a Python interpreter that works in a sandbox and firewall execution environment and contains some temporary disk space.
To put it simply, you only need to enter a sentence into ChatGPT. It can not only write the code, but also use the interpreter to run through the code, give an explanation of each line of code, and output the result to you:
The generated content is also diverse, from text, image and sound processing to chess game engines and simple AI algorithms, ChatGPT can handle it.
Text image sound processing
Let’s first look at the generation and processing effects of images.
For example, use ChatGPT to convert a Cthulhu image to ASCII:
Generate a cat wearing a hat and holding a pipe (a bit abstract):
Generate website QR code:
It’s no problem to make a relatively simple animation, such as "Blizzard":
Let’s listen to the sound again.
For example, to generate a Shepard tone (a pitch that sounds like it is rising or falling, but is actually just an infinite loop of pitches):
Not only gave an explanation, but also generated a tone, which sounds like it really means something:
Sheppard tone audio generated by ChatGPT: 00:0000:10
Finally, there is text processing. Take the OCR algorithm as an example. This is an algorithm that recognizes pictures into a piece of text:
After uploading an old photo, AI quickly recognizes it The corresponding text was output and converted into a .txt file, which looks pretty good:
So, go one step further and try using ChatGPT to write the algorithm?
Write AI Algorithm
In addition to the face recognition algorithm mentioned at the beginning, which was generated by ChatGPT based on OpenCV, Andrew Mayne also tried the NLP algorithm this time.
Specifically, half of the sentence is given and the AI predicts the next word. ChatGPT quickly gave the code:
It looks good and the generated effect is how?
Andrew Mayne tried a sentence:
They went to the... (They went to...)
Usually this should be followed by a location noun, such as a beach or a church, etc. wait. However, after thinking about the AI algorithm written by ChatGPT, it answered "shoulders"? ? ?
They went to the shoulders. (They went to the shoulders)
Andrew Mayne joked that there is no need to worry about ChatGPT writing a GPT-4.
Generate the game engine
The last step is to generate the game engine. Andrew Mayne said "it's absolutely no problem", but did not give specific steps for ChatGPT.
This is the effect of generating a checkers engine (in addition, it can also generate a chess engine):
It can also be used to generate a cellular automaton (Game of Life):
The program written is not 100% correct
Some netizens said after reading it that the code interpreter plug-in fills in the ChatGPT very well" Bad Math” vulnerability:
ChatGPT has almost no math skills, but it can easily do it by generating Python code.
#But many netizens found many bugs during this demonstration.
For example, although they are all Python programs that can be run, there are basically small errors that are obvious if you look closely, including:
- The method of generating Shepard's tone is wrong, Not only the amplitude must be adjusted, but also the frequency must be adjusted;
- There is also a problem with the generated Shepard tone itself. Normally the last tone should be the same as the first tone, so that the cycle can continue indefinitely;
- Using a cellular automaton to generate a QR code image is actually using the QR code image to push out the cellular automaton (however, the author here also admits that he "taught" ChatGPT to cheat)
- Planetary Orbit The orbits in the simulation are all circular orbits, which should be obvious ellipses from a scientific point of view.
- There are actually small bugs in graphics generation, so I won’t list them one by one.
However, "you don't need to worry too much about these obvious bugs."
Some netizens feel that what really needs to be worried about is the ChatGPT "overlay" error" question.
Once something written by ChatGPT has a bug, you must immediately restart a new session, otherwise its errors will begin to multiply:
This feels like it is trying to hide something, very strange.
Finally, although ChatGPT can already write a chess engine, some sharp-eyed netizens discovered that it still cannot play chess.
For example, suddenly use a horse to eat your own soldiers. (Manual dog head)
Reference link:
[1]https://andrewmayneblog.wordpress.com/2023/03/23/chatgpt-code-interpreter- magic/
[2]https://news.ycombinator.com/item?id=35312609
[3]https://twitter.com/peteskomoroch/status/1639894112307679232
The above is the detailed content of ChatGPT can run its own code: when you submit a request, you can directly input the running results. Netizens called it 'magic' after the internal test.. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

DALL-E 3 was officially introduced in September of 2023 as a vastly improved model than its predecessor. It is considered one of the best AI image generators to date, capable of creating images with intricate detail. However, at launch, it was exclus

Some users encountered errors when installing the device, prompting error code 28. In fact, this is mainly due to the driver. We only need to solve the problem of win7 driver code 28. Let’s take a look at what should be done. Do it. What to do with win7 driver code 28: First, we need to click on the start menu in the lower left corner of the screen. Then, find and click the "Control Panel" option in the pop-up menu. This option is usually located at or near the bottom of the menu. After clicking, the system will automatically open the control panel interface. In the control panel, we can perform various system settings and management operations. This is the first step in the nostalgia cleaning level, I hope it helps. Then we need to proceed and enter the system and

What to do with blue screen code 0x0000001? The blue screen error is a warning mechanism when there is a problem with the computer system or hardware. Code 0x0000001 usually indicates a hardware or driver failure. When users suddenly encounter a blue screen error while using their computer, they may feel panicked and at a loss. Fortunately, most blue screen errors can be troubleshooted and dealt with with a few simple steps. This article will introduce readers to some methods to solve the blue screen error code 0x0000001. First, when encountering a blue screen error, we can try to restart

The win10 system is a very excellent high-intelligence system. Its powerful intelligence can bring the best user experience to users. Under normal circumstances, users’ win10 system computers will not have any problems! However, it is inevitable that various faults will occur in excellent computers. Recently, friends have been reporting that their win10 systems have encountered frequent blue screens! Today, the editor will bring you solutions to different codes that cause frequent blue screens in Windows 10 computers. Let’s take a look. Solutions to frequent computer blue screens with different codes each time: causes of various fault codes and solution suggestions 1. Cause of 0×000000116 fault: It should be that the graphics card driver is incompatible. Solution: It is recommended to replace the original manufacturer's driver. 2,

If you need to program any device remotely, this article will help you. We will share the top GE universal remote codes for programming any device. What is a GE remote control? GEUniversalRemote is a remote control that can be used to control multiple devices such as smart TVs, LG, Vizio, Sony, Blu-ray, DVD, DVR, Roku, AppleTV, streaming media players and more. GEUniversal remote controls come in various models with different features and functions. GEUniversalRemote can control up to four devices. Top Universal Remote Codes to Program on Any Device GE remotes come with a set of codes that allow them to work with different devices. you may

Termination Code 0xc000007b While using your computer, you sometimes encounter various problems and error codes. Among them, the termination code is the most disturbing, especially the termination code 0xc000007b. This code indicates that an application cannot start properly, causing inconvenience to the user. First, let’s understand the meaning of termination code 0xc000007b. This code is a Windows operating system error code that usually occurs when a 32-bit application tries to run on a 64-bit operating system. It means it should

What does the 0x000000d1 blue screen code mean? In recent years, with the popularization of computers and the rapid development of the Internet, the stability and security issues of the operating system have become increasingly prominent. A common problem is blue screen errors, code 0x000000d1 is one of them. A blue screen error, or "Blue Screen of Death," is a condition that occurs when a computer experiences a severe system failure. When the system cannot recover from the error, the Windows operating system displays a blue screen with the error code on the screen. These error codes

Installation steps: 1. Download the ChatGTP software from the ChatGTP official website or mobile store; 2. After opening it, in the settings interface, select the language as Chinese; 3. In the game interface, select human-machine game and set the Chinese spectrum; 4 . After starting, enter commands in the chat window to interact with the software.
