7

OpenAI’s New Algorithm Can Turn Written Commands Into Code

 3 years ago
source link: https://futurism.com/the-byte/openai-algorithm-written-commands-code
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Futurism
Hit the Any Key

OpenAI’s New Algorithm Can Turn Written Commands Into Code

"We see this as a tool to multiply programmers."

Futurism

Grunt Work

OpenAI, the AI research company originally founded by Elon Musk — before he quit in disgust — just unveiled a new algorithm called Codex that can interpret commands written in English and turn them into chunks of usable code.

Codex can reportedly take instructions ­— either as a way to simplify programming work for experienced coders or as a tool to help beginners learn — and turn it into tangible software like rudimentary games or websites. For example, The Verge reports that a user could describe the basic appearance or functionality of a website they want to build, listing things like the placement of menus or text boxes in everyday English, and Codex would whip up a simple design based on how it interpreted the request.

AI Assistant

The idea isn’t to necessarily put AI in charge of programming. Instead, Codex essentially acts like a programmer’s assistant or deputy that takes conceptual ideas and punches out code in an attempt to create them.

“We see this as a tool to multiply programmers,” OpenAI CTO and co-founder Greg Brockman told The Verge. “Programming has two parts to it: you have ‘think hard about a problem and try to understand it,’ and ‘map those small pieces to existing code, whether it’s a library, a function, or an API.'”

Advertisement

It’s that second part, Brockman added, that humans find monotonous but at which Codex excels: “It takes people who are already programmers and removes the drudge work.”

Open Source

Codex is built on GPT-3, OpenAI’s notorious text-generating algorithmthat was trained on huge chunks of the written internet. But the extra sourcing for Codex may run afoul of the existing open-source programming community, The Verge reports. That’s because Codex was built on extra data scraped from open-source code repositories that programmers compiled in order to share with the world.

Technically, from a generous standpoint, Codex could be seen as a more efficient way of doing just that, and OpenAI told The Verge that it’s not violating any copyright laws. But by building such a powerful tool on the backs of volunteers, OpenAI is opening itself to criticism that it’s profiting from the free labor of a collaborative community, so it will be interesting to see how programmers actually respond to the new tool.

READ MORE: OpenAI can translate English into code with its new machine learning software Codex [The Verge]

Advertisement

More on programmer AI: The Military Just Created An AI That Learned How To Program Software


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK