GPT artifact-level plug-in Code Interpreter is open, here is a nanny-level tutorial

cff55abe123be13b54558fefeeb5a29d.gif

# Follow and Star Tencent Cloud Developer
# Weekly 4 | Goose factory front-line programmers, "test poison" new technology for you
# Issue 2 | Tencent Li Luoqin: Evaluation of GPT4 Code Interpreter experience

75f63ae16b96ddca7e83e1310c9031f2.png

d5bcfcfd9056b9e9ab00e48da13de36c.jpeg

Interest in the GPT-4 API has exploded since March, with "millions of developers requesting access . " In a blog post, OpenAI shared a series of exciting innovations underway using GPT-4, and articulated a vision for the future: a future of large chat-based models that can be used for arbitrary use cases.

What does the GPT-4 open API and the launched Code Interpreter have to do with all front-line programmers? Can it bring us any practical value? Today I want to chat with you.

b2a16c57287d82b9908af8a4b98e64b2.png

First of all, we need to understand the value of this so-called API compared to other products in its history. ChatGPT Plus requires users to upgrade and use it on the website or APP, but GPT4 is currently only able to ask 25 questions every 3 hours. This should be because OpenAI's computing power is tight, and it is worried that there will be a large number of users accessing it.

To upgrade Plus, there are many tutorials on the Internet, which will not be expanded here.

The call of GPT4 API can be called through code, of course, you need to ensure that your OpenAI account has money. And there is no time limit when visiting.

dfa2060f3b506416df431f1aad4618cd.png

Let's take a look at what the first wave of people who eat crabs (closed beta) say.

In a demonstration, Ethan Mollick, a professor at the Wharton School of the University of Pennsylvania, fed ChatGPT unstructured data on fireworks injuries in 2019 and 2020. It took a while for Code Interpreter to format the data into an organized database and conclude that the damage done by fireworks "increased significantly" during this period.

e4b9c95756bf481653a63e040d90b31b.jpeg

Alex Cole, founder of an incubator for artificial intelligence projects, said on Twitter that he provided Code Interpreter with a Tesla stock data and asked it to chart the price. In just five minutes, ChatGPT has drawn multiple line graphs showing Tesla's closing price over five years.

Cole also had the plugin generate line and histogram charts showing daily stock price fluctuations. Code Interpreter is great for exploratory data analysis and visualization. Kerr also tweeted: "This is your personal data scientist and analyst".

2a16f486450b88df35117049c2ba793e.jpeg

In addition to the above examples, the GPT4 API can also do the following:

▶︎ Using the broad narrative capabilities of the GPT4 API, it is possible to write complex novels or plots, which are changing the field of literary creation at Chetty.

▶︎ It can simulate real human conversation, reflecting the authenticity and precision of human interaction.

▶︎ Instant language translation is possible, effectively bridging the communication gap between various languages ​​and cultures.

▶︎ It is equipped with advanced data analysis functions that help to accurately predict stock market trends and provide valuable insights to market participants.

▶︎ Ability to create highly realistic virtual environments that dynamically echo the real world, enhancing immersion in areas such as games and virtual reality.

▶︎ Provide programmers with effective coding capabilities.

▶︎ The ability to interpret consumer data and generate customized marketing content to effectively resonate with the target audience.

▶︎ Has the potential to drive scientific innovation by analyzing large amounts of scientific data to discover new insights in fields as diverse as chemistry, physics, and biology.

77e88a8980be98941595960bd8a78199.png


   Substantial capacity improvement

Comparing GPT-3.5 and GPT-4, there are the following differences:

GPT-4 is more reliable, more creative, and able to handle finer-grained instructions for complex tasks.

In various Olympic competitions, GRE exams, code exams, unified bar exams and other tests, GPT-4 basically beats GPT-3.5.

8d06a6d1b607935f6d1edde991550314.jpeg


On some benchmark test sets of machine learning, the performance is also more prominent, reaching the level of SOTA, which is better than most language models:

ace01342fac43c1c983bf3f6ecba8641.jpeg

   Enhanced maneuverability

GPT-4 has a high degree of completion in different styles and roles.

Given a role for it, it can effectively execute it. For example, in the official example, it acts as a "Socrates-style tutor". After setting the role of the system at the beginning, the user keeps asking the answer to its formula, but it can still guide the user to learn without being humble . Such a role positioning is equivalent to a primary school teacher:

c3d664b0b80a384ca433dd55cb656ff0.jpeg

b58c2f66feff8fb2c01de693c5439fe0.png

First of all, you must know that compared with GPT3.5, GPT4 itself has a larger amount of parameters and requires more computing resources, so it costs more to call.

From the table listed on the official website, we can know that the minimum input and output fee per 1K token in GPT4 is $0.09, which is about 25 times that of GPT3.5.

8fccf45cc75614463d86664299329a65.jpeg

So if you want to use GPT4, you can't do it without some economic strength.

4661b1012806982f7841fbebd2b18336.jpeg

Next let's talk about Code Interpreter.

60166eae3ddc86d83f609a705f577de7.png

From the official website, it has many interesting usages:

  • Convert Gifs to Videos

  • Create a visual map

  • advance color from image

  • analyze specific data

  • Create a heatmap

Code Interpreter is currently open to all Plus users. You can experience it by opening the Code Interpreter option in the settings. I will share a few usages below, and the personal test is effective.

c1f568f88871f4ffd9d669903fd26f0f.jpeg


   The first method, convert Gif to video

First ask ChatGPT to convert Gif to video:

a31f4cb4e73e6cd7b05f0ad102e47c94.jpeg


Then upload the corresponding Gif image, and it will be converted according to your requirements.

f1eef64d2d28ce9b1706426e5ab951cb.jpeg


   The second usage, creating a visual map

Upload location data for every lighthouse location in the US and ask ChatGPT to make a Gif of the map with each lighthouse blinking.

e02360586a99bc384155723dd17281ea.gif


   The third usage, advance the color from the image

Upload an image and ask ChatGPT to extract the colors and create a palette:

7a7af440a531a27f748c4cb2b6f0ce34.gif

   The fourth usage, analyze specific data

Upload the data and interpret the data as a visualization:

f38521127d7bba9eb3df807c0f27f4c3.jpeg


   The fifth usage, create a heat map

Ability to generate a fully functional HTML heatmap.

51bf7c169ab48104f5e3dfc2df2c11d2.jpeg

In addition, the plug-in can also formulate corresponding business strategies based on the data you provide. Or make corresponding GIF pictures according to your needs.

Code Interpreter is not limited to the above functions, but also extends to video processing (format conversion, interception), image processing (format conversion, OCR recognition), PDF processing (summarizing content, converting to images) and data analysis (content analysis, data visualization, Converted to a website), with the powerful ability to write code and execute code.

Whether it is a technology enthusiast, a data analyst or a multimedia creator, Code Interpreter can meet the needs of technical applications in many fields.

38843a3ddd8571192608e1861dfa6dba.png

Overall, with the opening of the GPT-4 API and the Code Interpreter plug-in, the general public can finally experience the most advanced technology of artificial intelligence. It can be used out of the box and has reached the highest level of AI in terms of human interaction.

It is hoped that more people will develop for GPT4 and corresponding plug-ins, and at the same time deeply cultivate different vertical fields of GPT4, so as to truly improve all aspects of our lives.

The above is the whole content of this issue. If it is helpful to you, please forward and share~

-End-

Original Author|Li Luoqin

After the API is open and the Code Interpreter plugin is launched, what do you plan to use it for? Welcome to leave a message. We will send a Tencent custom programmer cultural shirt to 1 sharer. The draw will be held at 12:00 noon on August 10.

e5c30466668c53a01351caeca38018b7.png

a50df2c8988f00b6095d8e23eac23bcd.png

81ddea41fd6265fcb2722f9bff9d3ec4.png

a5f90e440d01d7a2c5ec7bf806146480.png

afc4e1894c875fef56a783ca77f9b8cf.png

59c9f8f3abfb01c1632d0e10b677b8fa.png

Follow and star Tencent Cloud Developers

Watch Goose Factory Programmers evaluate new technologies every 4 weeks

Guess you like

Origin blog.csdn.net/QcloudCommunity/article/details/132095064
Recommended