# 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
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.
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.
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.
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".
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.
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.
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:
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:
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.
So if you want to use GPT4, you can't do it without some economic strength.
Next let's talk about Code Interpreter.
From the official website, it has many interesting usages:
|
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.
The first method, convert Gif to video
First ask ChatGPT to convert Gif to video:
Then upload the corresponding Gif image, and it will be converted according to your requirements.
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.
The third usage, advance the color from the image
Upload an image and ask ChatGPT to extract the colors and create a palette:
The fourth usage, analyze specific data
Upload the data and interpret the data as a visualization:
The fifth usage, create a heat map
Ability to generate a fully functional HTML heatmap.
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.
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.
Follow and star Tencent Cloud Developers
Watch Goose Factory Programmers evaluate new technologies every 4 weeks