博舍

OpenAI Codex open ai codex

OpenAI Codex

OpenAICodexisadescendantofGPT-3;itstrainingdatacontainsbothnaturallanguageandbillionsoflinesofsourcecodefrompubliclyavailablesources,includingcodeinpublicGitHubrepositories.OpenAICodexismostcapableinPython,butitisalsoproficientinoveradozenlanguagesincludingJavaScript,Go,Perl,PHP,Ruby,SwiftandTypeScript,andevenShell.Ithasamemoryof14KBforPythoncode,comparedtoGPT-3whichhasonly4KB—soitcantakeintoaccountover3xasmuchcontextualinformationwhileperformingany task.

GPT-3’smainskillisgeneratingnaturallanguageinresponsetoanaturallanguageprompt,meaningtheonlywayitaffectstheworldisthroughthemindofthereader.OpenAICodexhasmuchofthenaturallanguageunderstandingofGPT-3,butitproducesworkingcode—meaningyoucanissuecommandsinEnglishtoanypieceofsoftwarewithanAPI.OpenAICodexempowerscomputerstobetterunderstandpeople’sintent,whichcanempowereveryonetodomorewith computers.

Onceaprogrammerknowswhattobuild,theactofwritingcodecanbethoughtofas(1)breakingaproblemdownintosimplerproblems,and(2)mappingthosesimpleproblemstoexistingcode(libraries,APIs,orfunctions)thatalreadyexist.Thelatteractivityisprobablytheleastfunpartofprogramming(andthehighestbarriertoentry),andit’swhereOpenAICodexexcels most.

OpenAICodexisageneral-purposeprogrammingmodel,meaningthatitcanbeappliedtoessentiallyanyprogrammingtask(thoughresultsmayvary).We’vesuccessfullyuseditfortranspilation,explainingcode,andrefactoringcode.Butweknowwe’veonlyscratchedthesurfaceofwhatcanbe done.

We’renowmakingOpenAICodexavailableinprivatebetaviaourAPI,andweareaimingtoscaleupasquicklyaswecansafely.Duringtheinitialperiod,OpenAICodexwillbeofferedforfree.OpenAIwillcontinuebuildingonthesafetygroundworkwelaidwithGPT-3—reviewingapplicationsandincrementallyscalingthemupwhileworkingcloselywithdeveloperstounderstandtheeffectofourtechnologiesinthe world.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。

上一篇

下一篇