🎉 Hey Gate Square friends! Non-stop perks and endless excitement—our hottest posting reward events are ongoing now! The more you post, the more you win. Don’t miss your exclusive goodies! 🚀
1️⃣ #TokenOfLove# | Festival Ticket Giveaway
Cheer for your idol on Gate Square! Pick your favorite star — HyunA, SUECO, DJ KAKA, or CLICK#15 — and post with SingerName + TokenOfLove hashtag to win one of 20 music festival tickets.
Details 👉 https://www.gate.com/post/status/13217654
2️⃣ #GateTravelSharingAmbassadors# | Share Your Journey, Win Rewards
Gate Travel is now live! Post with the hashtag and sha
The ChatGPT artifact Code Interpreter is finally open, how to use it? Here is a nanny-level tutorial
Two days ago, OpenAI announced that it would make the official plugin Code Interpreter available to all ChatGPT Plus users through the Beta panel in the settings within a week.
This news made many people excited. After all, Code Interpreter has been in the closed beta stage before, and only a small number of users have actually used it. These internal test users use it to analyze data, create charts, edit files, perform mathematical operations, etc., and the response is generally good.
You didn't have to wait too long. Today (July 9th), Code Interpreter has been officially opened.
The following are some examples posted by internal test users to provide you with some references.
"What was learned in a few weeks during the Ph.D., AI completed it in a few seconds"
Ethan Mollick, a professor at the Wharton School of the University of Pennsylvania, is a ChatGPT Plus user who has tried the Code Interpreter Alpha version for several months. His evaluation of Code Interpreter is still relatively high, calling it "the most useful and interesting AI mode I have ever used".
Ethan Mollick made two observations clear: 1) Code Interpreter works really well, unlike plugins that are completely accidental; 2) Hint making is usually unnecessary, users just talk to the AI about code or data and what they want That's it.
"Code Interpreter continues OpenAI's long tradition of giving things horrible names because that's probably most useful to people who don't know how to program at all. It allows GPT-4, the state-of-the-art AI in existence, to upload and download information, and Programs are written and executed for you in one continuous workspace. This allows AI to do all kinds of things it couldn’t do before, and to function in all kinds of ways that ChatGPT couldn’t do before.”
**Code Interpreter makes up for the shortcomings of ChatGPT? **
Specifically, Code Interpreter provides AI with a general toolbox for problem solving (by writing code in Python), a large memory that can be used (with the ability to upload files up to 100MB, and these files can be in compressed form), and a Integrating this toolbox into artificial intelligence in a way that takes advantage of large language models.
This fixes some issues with previous versions of ChatGPT:
Code Interpreter reduces the probability of hallucinations and confusion. When the AI works directly with the Python code, the code helps to keep the AI "honest", because if the code is incorrect, Python will generate errors; and since the code operates on the data, not the LLM itself, no errors are inserted by the AI into the data. Of course it's not perfect, the AI can still hallucinate (it often seems to think it can see graphics it can generate, which ChatGPT in this mode doesn't), but these bugs are less common and less likely to affect code or the data itself.
Code Interpreter makes artificial intelligence more widely used. Many problems can be solved with code, and GPT-4 is very good at figuring out when to use Code Interpreter in new and interesting ways. For example, if a user asks it to use code to prove to a skeptic that the earth is round, Code Interpreter will provide multiple arguments, combining text with code and images.
For example, Ethan Mollick once asked AI to "call various emotional states with code" or "show me something that is impossible to do with code, and demonstrate it." Here you can see the results of "Using the drawing tools at your disposal, create a whole new memo by creating an image. Make it relevant to your experience as an AI working with humans":
How to use Code Interpreter to process data
Code Interpreter is an impressive "data scientist" capable of automating many of the complexities of quantitative analysis and capable of taking very sophisticated approaches to data. To illustrate this point, Ethan Mollick starts with an interesting dataset called "Super Heroes".
Uploading data is easy, even compressed data like ZIP files, just click the plus button:
It can be noticed that Code Interpreter is not so much prompt production as it is a dialogue with AI, talk to it as an analyst.
Now that the data is loaded, it's time to let GPT do the worst part of data analysis: data merging and cleaning.
Code Interpreter will handle this all automatically in a "pretty complicated" way, but it's often helpful to ask directly, as if you were instructing a human data analyst. You'll also notice that the system works relentlessly, correcting its own mistakes as they are found. For example, it noticed that a column was misnamed and fixed that.
Next comes the analysis, which the AI seems to know a lot about. The prompt is "I'm interested in doing some predictive modeling, such as predicting the power a hero might have based on other factors. How should we approach this?"
Then Code Interpreter built a random forest! However, it can also be seen why having expert human oversight is important, as the authors disagree with its decision to calculate missing data by using the mean of the numerical data. If it were the authors themselves, the data would be discarded, but the good news is that AI can be asked to change its methods, or discuss other options.
Code Interpreter first produced a dashboard, but it didn't quite fit what the author wanted, so he just said "make this better, include more names" and so on. Code Interpreter then presents a downloadable interactive dashboard file, just place it in your web browser -- downloadable output is another great way to use Code Interpreter.
20 Fantastic Use Cases
In addition to data analysis, Code Interpreter has many wonderful uses. On Twitter, a netizen named "Chase Lean" collected 20 use cases, let us also learn what new ways to play:
1. Generate video from image
First, upload the image you want to animate:
Initial: "We're going to play a sci-fi scenario. I'm going to be the captain. Here's the problem: You have to make every challenge in the scenario include real physics that you'll simulate in code."
Code Interpreter can extract colors from images to create palette .png and automatically compress large images when memory is exhausted.
6. Generate QR code
Using Code Interpreter, uploaded GIFs can be converted into longer MP4 videos in ChatGPT with slow scaling.
Use Code Interpreter to analyze options on AAPL that expire on July 21:
First, enable Code Interpreter in the settings; then, upload the data file. In this example, the data is a CSV file:
Analyzed 300 hours of Spotify favorites playlists using Code Interpreter, exported from the Spotify API, and ran multidimensional PCA and t-SNE analysis to summarize music taste.
With Code Interpreter, you only need to upload the data and provide simple English instructions to complete all the work of cleaning the data and generating visual charts on autopilot.
After uploading a CSV file of the location of each lighthouse in the United States, Code Interpreter can create a GIF map of those lighthouse locations, with each lighthouse blinking even though the map is very dark.
Given a raw dataset of UFO sightings, Code Interpreter generates a fully functional HTML heatmap. Here's a static version (it's also easy to create as many versions as you want):
Code Interpreter is able to take old STATA files and code, copy them in Python: "Here's a stata do file and a dta file. Copy analysis.", "Now give me a CSV file.
:「Seasonally decompose the price since 2011」
Upload the Titanic dataset and ask Code Interpreter to perform a full exploratory analysis of the data. The output includes:
A brief overview of the data;
Distribution map of passenger categories;
The survival rate graph of each group;
Correlation matrix;
Data insight.