Home  >  Article  >  Technology peripherals  >  The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

WBOY
WBOYforward
2023-04-09 14:11:03950browse

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

OpenAI’s newly launched ChatGPT is a hit. This conversation model can answer follow-up questions, admit mistakes, challenge incorrect premises, and help you modify bugs in your code. ...

As long as you chat with it for a few words, it will solve the problem for you in a short time. For example, the user requested: "ChatGPT help me explain the meaning of the regular expressions in the article." ChatGPT: Arrangement. A large section of content is explained densely, and it should be explained clearly.

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

Because the performance of ChatGPT is so excellent, netizens have started to make new plans one after another, as if they will not stop until they play a hundred tricks with ChatGPT. Some people even said without exaggeration, this is not a machine, this is simply a living Stack Overflow.

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

Apparently, this Twitter user feels the same way: “In the short term, I already foresee some sites being seriously threatened, and Stack Overflow is one of them. .Since the advent of GitHub Copilot and now ChatGPT, my use of the website has decreased significantly."

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

"I just had a conversation with ChatGPT about the history of modern physics. About 20 minutes of conversation. If I had a teacher like this in high school and college... OMG. I think we could basically reexamine the concept of mass education. College as we know it would cease to exist." One netizen express.

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

Musk couldn’t help but say: "ChatGPT is very good. We are not far from dangerously powerful AI."

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

Programming Q&A Machine

As a conversational large-scale language model, what ChatGPT is best at is answering questions raised by users. The most important thing is What is important is that ChatGPT has basic knowledge related to programming. This makes ChatGPT a programming Q&A tool similar to Stack Overflow, except that the answer is an AI.

First of all, ChatGP can easily answer computer-related questions:

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

On the other hand, judging from the trial situation of netizens, ChatGPT is very " "Smart", for example, asked: "Print a big dog", ChatGPT answered a whole program, which can use characters to splice into the shape of a dog:

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

When the user commands ChatGPT to find a bug in a program, it can not only clearly describe the bug and its cause, but also automatically fix the bug and write a correct program:

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

ChatGPT that knows how to take the exam

It is not uncommon for models to take the exam. I don’t know how ChatGPT will perform if it takes the exam. Someone said that he has already tested it for everyone, and ChatGPT passed the 2022 AP computer science A exam. The final score was 32 out of 36.

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

The difficulty of this exam is equivalent to the difficulty of the first semester of university CS (computer science) professional courses. Below are some screenshots of the exam content. It seems that passing the exam is still somewhat difficult. .

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

​https://gist.github.com/Gaelan/cf5ae4a1e9d8d64cb0b732cf3a38e04a

Some netizens asked ChatGPT to take the complete SAT exam. The full name of SAT is Scholastic Assessment Test, also called academic ability assessment test. It is similar to ACT test (American College Test) and is called the "American College Entrance Examination". The total test score is 1600 points, which is divided into reading (400 points) and grammar (400 points). There are three parts) and mathematics (800 points), and there is also a composition (optional) part with a total score of 24 points (8 points for reading comprehension, 8 points for article analysis, and 8 points for English writing). ChatGPT scored 1020 points. According to the College Board, a score of 1020 ranks roughly in the top 52%.

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

ChatGPT who can write games

Let ChatGPT write a small game. I don’t know if it can be used. For ChatGPT, this is not a problem. A user generated a small game from scratch in less than an hour. The most important thing is that the user has zero coding and only needs to enter prompts. If there are any problems, tell ChatGPT and it will help you solve it.

For example, a user said: Come up with 5 names for a game about digging for treasures, with the first letters of the names spelled out as GPT.

ChatGPT: Gold Pit Treasure, Great Pit Treasure, Grand Pit Treasure, Grave yard Pit Treasure, Glittering Pit Treasure.

User: I want to start a GPT (Graveyard Pit Treasure) project so we can develop games together. I want to use live view instead of using ecto. What command should I use?

ChatGPT: mix phx.new gpt —no-ecto —live

User: I have an application called GPT. We're going to make a game. Write a liveview module for this application that has 3 elements: a title that says "GPT: Graveyards, Pits & Treasure"; a Gems counter that starts at 0; and a button that says "Dig up the next grave". When I click the button, I either get 10 gems or there's a 50% chance of falling into a pit and dying. If I die, the gem counter will read "You fell into a pit. You are dead."

ChatGPT gives a link to the code and then some instructions.

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

In the subsequent dialogue between the user and ChatGPT, ChatGPT helped solve the problems encountered by the user one by one. Finally, the user generated an online playable game, as shown in the figure below Show.

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

In addition, although ChatGPT is a conversational language model, it cannot generate multi-modal content by itself, but we can regard it as an intermediate model, such as ChatGPT Used in conjunction with Stable Diffusion.

For example, some netizens asked ChatGPT to generate a random artistic prompt, and then used the prompt as the input of Stable Diffusion, resulting in a highly artistic painting.

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

This content generation method that does not specify the specific generated content and only describes the field may be able to open up new ideas for AIGC.

Of course, as an AI model, ChatGPT’s performance still has room for improvement, especially for various specific applications. The research team stated that it will continue to improve ChatGPT based on user feedback to avoid the model randomly generating erroneous content.

The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow

The above is the detailed content of The popular ChatGPT is so powerful! Write code and fix bugs, netizens: It can replace Stack Overflow. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:51cto.com. If there is any infringement, please contact admin@php.cn delete